diff options
author | obrien <obrien@FreeBSD.org> | 2001-11-02 23:41:29 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-11-02 23:41:29 +0000 |
commit | 88a56875616bf2152ac64d74df159920dc85634b (patch) | |
tree | 9f742633d617d0fec843cc90a8ec80ca298eaccf /contrib | |
parent | 223f0286ad0612783e0da01de3b5bfdc52e3b25c (diff) | |
download | FreeBSD-src-88a56875616bf2152ac64d74df159920dc85634b.zip FreeBSD-src-88a56875616bf2152ac64d74df159920dc85634b.tar.gz |
I'd put down $10 says the author did a last minute tweak to awkgram.y (which
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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/awk/awkgram.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/awk/awkgram.y b/contrib/awk/awkgram.y index 649ccac..704b498 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; |