help-bison
[Top][All Lists]
Advanced

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

Re: Using %printer


From: Akim Demaille
Subject: Re: Using %printer
Date: Thu, 14 Sep 2006 11:09:47 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>> "Frans" == Frans Englich <address@hidden> writes:

 > What exactly does it do, it allows one to at runtime customize the
 > message Bison uses for a token(and perhaps even terminal?)? For
 > example, that instead of that Bison says "Unexpected <numeric
 > literal>" one can make it say "Unexpected '2.3'", right?

No, rather it is meant to make the debugging traces (yydebug) more
readable.  It is a replacement for YYPRINT which works for tokens
only.





reply via email to

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