From b2a836b51e3290008d440571ff0a73ecf97d49dd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 22 Jan 2003 06:39:16 +0000 Subject: [PATCH] * 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. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index dfc32fb..c85c026 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 -- 2.7.4