bison-patches
[Top][All Lists]
Advanced

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

Re: FYI: default %printer/%destructor


From: Joel E. Denny
Subject: Re: FYI: default %printer/%destructor
Date: Tue, 21 Nov 2006 13:30:09 -0500 (EST)

On Tue, 21 Nov 2006, Hans Aberg wrote:

> One of my worries, is what happens if one adds variables for token values and
> names.

To be more general, some day Bison might possibly need symbol attributes 
other than semantic value and location.

> Suppose, just to focus on something, the latter have symbols #, %.
> Then one would end up on combinations like:
>   a(name1): b c() d(@#name2) e($#%name3)

I would prefer:

  a(name1): b c() d(@name2, #name2) e($name3, #name3, %name3)

That is, (name1) makes all attributes available.  If you want a specific 
subset, list the items in that subset.

Yes, we're back to the previous verbosity, but I think it's not terrible, 
I think it's better than ($#%name), and we appear to have no need for it 
any time soon anyway.




reply via email to

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