[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glr.c: Token definitions
From: |
Joel E. Denny |
Subject: |
Re: glr.c: Token definitions |
Date: |
Mon, 19 Dec 2005 14:09:56 -0500 (EST) |
On Mon, 19 Dec 2005, Akim Demaille wrote:
> There's something else that might simplify everything: how about
> having something like:
>
> %error-report {
> location_print (stderr, @$);
> fprintf (stderr, "%s\n", $$);
> ++errs;
> }
>
> i.e., freeing the user from having the prototype yyerror?
Nice. This would free bison to evolve more cleanly.
Joel