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 09:40:20 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

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

Hi Joel,

 > On Wed, 17 Jan 2007, Joel E. Denny wrote:

 >> Ugh.  Actually, the undocumented %nterm can associate a string
 >> literal with a nonterminal.  I never noticed that before, and I
 >> think I broke it some time ago.  I'll have to investigate this
 >> further.

Hum, I always thought the feature was active for both nonterminals and
terminals.

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.

 > I take that back: it's been broken for a long time.  This grammar:

 >   %nterm foo "foo"
 >   %%
 >   start: ;

 > produces a seg fault for me in 2.3a, 2.3, 2.2, and 2.1 (which was
 > released before I did any work in this area).

 > %nterm isn't documented, so I doubt I'll look at this further any
 > time soon.

No problem with me.




reply via email to

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