bison/data yacc.c

Paul Eggert <[email protected]>
Newsgroups gmane.comp.parsers.bison.cvs
Message-ID <[email protected]>
CVSROOT:	/cvsroot/bison
Module name:	bison
Changes by:	Paul Eggert <[email protected]>	03/01/22 01:38:32

Modified files:
	data           : yacc.c 

Log message:
	(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.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/data/yacc.c.diff?tr1=1.50&tr2=1.51&r1=text&r2=text
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.