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: Fri, 24 Nov 2006 14:49:07 -0500 (EST)

On Fri, 24 Nov 2006, Joel E. Denny wrote:

> > OK, how about this idea?  If rules use the syntax S$A to mean that the
> > symbol S has a value that can be called $A within an action, then
> > let's use plain S to mean the symbol doesn't have a value.
> 
> What about default names?

Another problem is that all existing grammars would implicitly declare all 
values to be unused even when they're not.  For example:

  exp: exp '+' exp { $$ = $1; } ;

There's no warning about $3.




reply via email to

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