[Top][All Lists]
[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 14:31:14 +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.
I have not understood why we want into that solution, instead of
implementing the one I submitted, modulo your suggestions. Maybe I'm
confused, but I believe this code is concurrent of
http://mail.gnu.org/archive/html/bison-patches/2002-11/msg00110.html.
Along my guidelines when working on Bison is to have a meta-skeleton
emerge from all our current skeletons. In particular, I'm trying to
have glr and lalr be as close as they can be, as this will be
extremely useful for the maintenance. In this regard, glr is much
better written. The skeletons must converge, not diverge. Therefore,
I'm just proposing the implementation of a function instead of more
gotos.