]> git.saurik.com Git - bison.git/commit
(YYERROR): Move code from yyerrlab1 to here, so that
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Jan 2003 06:38:32 +0000 (06:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Jan 2003 06:38:32 +0000 (06:38 +0000)
commit8a3eb3c8badda29c854164a605ad91420ff58528
tree3f24d8ddc3643229c789bee9d0e3dd9c4fd62ace
parent4196b9316cdb172ba10d118067f9befb993e6c0a
(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.
data/yacc.c