bug-bison
[Top][All Lists]
Advanced

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

Re: %destructor feedback


From: Akim Demaille
Subject: Re: %destructor feedback
Date: Thu, 05 Jan 2006 11:52:27 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

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

 > On Wed, 4 Jan 2006, Akim Demaille wrote:
 >> Le 4 janv. 06 à 20:29, Joel E. Denny a écrit :
 >> 
 >> > I don't see $<foo>3 as simply a waste of characters.  I see it as
 >> > misleading.  It begs the question, "What does `foo' mean?".
 >> 
 >> Well, I wrote foo, but I should have written the actual member name:
 >> $<val>3.  That's what is needed anyway in the action itself when
 >> assigning to $$ (well, $<val>$).

 > OK, but that's not enforced.

It never is.  Bison is not aware of the names of the %union member
(and IMHO, it doesn't have to).

 >> I'm not convinced we need that much.  I can leave with $<val>3 :)

Live, obviously.  Sorry.





reply via email to

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