bug-bison
[Top][All Lists]
Advanced

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

Re: %destructor feedback


From: Frank Heckenbach
Subject: Re: %destructor feedback
Date: Wed, 21 Dec 2005 19:06:00 +0100
User-agent: semail 20050409

Paul Eggert wrote:

> Akim Demaille <address@hidden> writes:
> 
> > Do we agree that:
> >
> > - we desire a warning about typed $n not used in the actions.
> 
> Yes, that sounds reasonable.  My assumption is that a missing action
> continues to be treated as { $$ = $1; }, so for missing actions Bison
> would warn about typed $2, $3, etc., not used but would not warn about
> typed $1 not used.

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.

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)




reply via email to

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