bison-patches
[Top][All Lists]
Advanced

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

Re: proposed patch to data/yacc.c to fix the "unused label" warning


From: Akim Demaille
Subject: Re: proposed patch to data/yacc.c to fix the "unused label" warning
Date: Tue, 21 Jan 2003 20:48:13 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

 Paul> We seem to have continuing problems with people reporting "unused
 Paul> label" warnings for yyerrlab1, due to my 2002-12-27 yacc.c bugfix.
 Paul> Here's a proposed patch to fix this.

 Akim> I have not understood why we want into that solution, instead of
 Akim> implementing the one I submitted, modulo your suggestions.  Maybe I'm
 Akim> confused, but I believe this code is concurrent of
 Akim> http://mail.gnu.org/archive/html/bison-patches/2002-11/msg00110.html.

 Akim> Along my guidelines when working on Bison is to have a meta-skeleton
 Akim> emerge from all our current skeletons.  In particular, I'm trying to
 Akim> have glr and lalr be as close as they can be, as this will be
 Akim> extremely useful for the maintenance.  In this regard, glr is much
 Akim> better written.  The skeletons must converge, not diverge.  Therefore,
 Akim> I'm just proposing the implementation of a function instead of more
 Akim> gotos.

I'm slowly catching up, and I have now seen that it is unrelated.  I
do agree that the best solution seems to be to introduce the label
only on need.

Too bad all the pointers on the mailing list archives are now broken :(




reply via email to

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