Re: YYPRINT and locations

2006-02-21 Thread Henrik Sorensen
On Tuesday 21 February 2006 08.27, Akim Demaille wrote: > Le 20 févr. 06 à 15:07, Akim Demaille a écrit : > > Don't use YYPRINT, see %printer in the recent docs. > Err, on second thought, it is not yet documented :) For instance > %printer { fprintf (stderr, "%d", $$); } integer [etc...] > @$ is a

Re: incorrect yychar for unambiguous GLR

2006-02-21 Thread Joel E. Denny
On Mon, 30 Jan 2006, Joel E. Denny wrote: > On Mon, 30 Jan 2006, Paul Eggert wrote: > > > I still mildly prefer "lookahead". However, I'd rather put this off > > until after 2.2 is out, to be honest. > > That's fine. In case it matters, the Open Group also drops the hyphen: http://www.openg

Re: YYPRINT and locations

2006-02-21 Thread Akim Demaille
Le 20 févr. 06 à 15:07, Akim Demaille a écrit : Don't use YYPRINT, see %printer in the recent docs. Err, on second thought, it is not yet documented :) For instance %printer { fprintf (stderr, "%d", $$); } integer [etc...] @$ is also available there, denoting the location of the symbol.