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.
This commit is contained in:
parent
ce83bef85e
commit
622bfc32f3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user