* 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.
This commit is contained in:
Paul Eggert
2003-01-22 06:39:16 +00:00
parent 8a3eb3c8ba
commit b2a836b51e

View File

@@ -1,3 +1,15 @@
2003-01-21 Paul Eggert <eggert@twinsun.com>
* 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 <eggert@twinsun.com>
* src/output.c (symbol_printers_output): Fix typo that led