bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BAD bug in awkgram.y


From: Aharon Robbins
Subject: Re: BAD bug in awkgram.y
Date: Sat, 3 Nov 2001 20:40:31 +0200

Thanks, this patch was just reported independently last week; it seems
that bison adds a `;' to the end of each action's body and byacc
doesn't, which is why I didn't catch this.

In any case, it's fixed in the source tree now.

Arnold

> Date: Fri, 2 Nov 2001 15:37:54 -0800
> From: "David O'Brien" <address@hidden>
> To: address@hidden
> Subject: BAD bug in awkgram.y
>
> diff -u -r1.1.1.1 awkgram.y
> --- awkgram.y 2 Nov 2001 21:05:37 -0000       1.1.1.1
> +++ awkgram.y 2 Nov 2001 23:33:24 -0000
> @@ -438,7 +438,7 @@
>               {
>                       $$ = 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 @@
>  
>                       $$ = node($2, $1, $3);
>                       if ($$->type == Node_K_printf)
> -                             count_args($$)
> +                             count_args($$);
>               }
>       | LEX_NEXT statement_term
>               { NODETYPE type;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]