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 $$. Joel
