mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* 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:
12
ChangeLog
12
ChangeLog
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user