* data/yacc.c (yyparse): Wrap the final return from yyparse inside YYID

to make sure that YYID will never be unused.  This fixes a 'make
maintainer-check' failure caused by the recent changes to the 'Trivial
grammars' test case, which caused g++ 4.1.0 to complain that YYID was
not used.
* data/glr.c (yyparse): Wrap yyparse's return inside YYID just in case.
This commit is contained in:
Joel E. Denny
2006-05-21 08:11:30 +00:00
parent 566ac1b4a7
commit 7b5cdcbd17
3 changed files with 13 additions and 2 deletions

View File

@@ -1,3 +1,12 @@
2006-05-21 Joel E. Denny <jdenny@ces.clemson.edu>
* data/yacc.c (yyparse): Wrap the final return from yyparse inside YYID
to make sure that YYID will never be unused. This fixes a 'make
maintainer-check' failure caused by the recent changes to the 'Trivial
grammars' test case, which caused g++ 4.1.0 to complain that YYID was
not used.
* data/glr.c (yyparse): Wrap yyparse's return inside YYID just in case.
2006-05-21 Joel E. Denny <jdenny@ces.clemson.edu>
* data/glr.c (yyresolveLocations): Remove bogus YYASSERT that the