From 622bfc32f3a2fbac2e123fc14e3bc22a2f9de629 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 2 Nov 2001 23:41:29 +0000 Subject: [PATCH] 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. --- contrib/awk/awkgram.y | 4 ++-- 1 file 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;