[Top][All Lists]

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

Re: %destructor feedback

From: Joel E. Denny
Subject: Re: %destructor feedback
Date: Wed, 21 Dec 2005 19:27:12 -0500 (EST)

On Wed, 21 Dec 2005, Frank Heckenbach wrote:

> BTW, $$ = $1; is also performed if there are explicit actions
> (before the explicit actions), so it seems Bison should never warn
> about a typed $1 not used.

Good point.  I think this would be ugly behavior.  What if the user puts 
`$$ = $2;' in his action?  He still doesn't get warned about $1?

For explicit actions, I think the user should be warned for *any* typed 
semantic value that the *user* doesn't explicitly reference... including 
$1 and $$.


reply via email to

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