bison-patches
[Top][All Lists]
Advanced

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

Re: FYI: Missing \n


From: Akim Demaille
Subject: Re: FYI: Missing \n
Date: Wed, 17 Jan 2007 10:35:34 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

>>> "JED" == Joel E Denny <address@hidden> writes:

 > On Wed, 17 Jan 2007, Akim Demaille wrote:
 >> I think Bison should warn about unused symbols on stderr too: indeed,
 >> in the *.output file it does report that "expression" was unused, but
 >> there was no reason to read that file.

 > Sometimes it's convenient to define tokens that don't actually
 > appear in the grammar.

Yes, definitely.

 > The scanner can use them to induce syntax errors.

I do that myself.

 > Maybe such tokens should be declared specially.

Or have a means to "use" a token.




reply via email to

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