aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-01-16 13:55:10 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-01-16 13:55:10 +0200
commit85699a5cba88f4ee910e2c3ef42b5cc165102b51 (patch)
tree0c30408d16fae795c48a59d2869d57c4b45ab5fd /awkgram.y
parent28f563a6f54c8ea9c63537356966508c4685b538 (diff)
downloadegawk-85699a5cba88f4ee910e2c3ef42b5cc165102b51.tar.gz
egawk-85699a5cba88f4ee910e2c3ef42b5cc165102b51.tar.bz2
egawk-85699a5cba88f4ee910e2c3ef42b5cc165102b51.zip
Bug fix in pretty-printing comments and test case.
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/awkgram.y b/awkgram.y
index d054ec9b..5e3bade9 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -228,6 +228,7 @@ rule
: pattern action
{
(void) append_rule($1, $2);
+ first_rule = false;
}
| pattern statement_term
{