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.

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 also