aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-11-02 23:41:29 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-11-02 23:41:29 +0000
commit622bfc32f3a2fbac2e123fc14e3bc22a2f9de629 (patch)
tree9f742633d617d0fec843cc90a8ec80ca298eaccf
parentce83bef85e2e23eb8d5b30b9f4987d323094c3f4 (diff)
downloadsrc-vendor/misc-GNU/awk.tar.gz
src-vendor/misc-GNU/awk.zip
I'd put down $10 says the author did a last minute tweak to awkgram.y (whichvendor/misc-GNU/awk
had an error in it), and applied it by hand to awkgram.c (getting it right) rather than really generating an new awkgram.c properly using Bison/YACC... Fix his mistake here.
Notes
Notes: svn path=/vendor/awk/dist/; revision=85919
-rw-r--r--contrib/awk/awkgram.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/awk/awkgram.y b/contrib/awk/awkgram.y
index 649ccac4406f..704b4986db10 100644
--- a/contrib/awk/awkgram.y
+++ b/contrib/awk/awkgram.y
@@ -438,7 +438,7 @@ statement
{
$$ = node($3, $1, $5);
if ($$->type == Node_K_printf)
- count_args($$)
+ count_args($$);
}
| print opt_rexpression_list output_redir statement_term
{
@@ -460,7 +460,7 @@ statement
$$ = node($2, $1, $3);
if ($$->type == Node_K_printf)
- count_args($$)
+ count_args($$);
}
| LEX_NEXT statement_term
{ NODETYPE type;