Paul Eggert wrote:
> Akim Demaille <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)