From: Paul Eggert Date: Wed, 22 Jan 2003 06:39:16 +0000 (+0000) Subject: * data/yacc.c (YYERROR): Move code from yyerrlab1 to here, so that X-Git-Tag: BISON-2_0~423 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b2a836b51e3290008d440571ff0a73ecf97d49dd * data/yacc.c (YYERROR): Move code from yyerrlab1 to here, so that we don't need to worry about yyerrlab1 being reported as an "unused label" by non-GCC C compilers. --- diff --git a/ChangeLog b/ChangeLog index dfc32fb9..c85c0264 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2003-01-21 Paul Eggert + + * data/yacc.c (YYERROR): Move code from yyerrlab1 to here, so that + we don't need to worry about yyerrlab1 being reported as an + "unused label" by non-GCC C compilers. The downside is that if + locations are used then a couple of statements are duplicated each + time YYERROR is invoked, but the upside is that the warnings + should vanish. + (yyerrlab1): Move code to YERROR. + (yyerrlab2): Remove. Change uses back to yyerrlab1. + This reverts some of the 2002-12-27 change. + 2003-01-17 Paul Eggert * src/output.c (symbol_printers_output): Fix typo that led