mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-07-27 10:10:39 +00:00
* data/bison.simple (yyoverflowlab): #ifndef yyoverflow, so that
there are no `label `yyoverflowlab' defined but not used' warnings when yyoverflow is defined.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2002-06-18 Matt Kraai <[email protected]>
|
||||
|
||||
* data/bison.simple (yyoverflowlab): #ifndef yyoverflow, so that
|
||||
there are no `label `yyoverflowlab' defined but not used' warnings
|
||||
when yyoverflow is defined.
|
||||
|
||||
2002-06-18 Akim Demaille <[email protected]>
|
||||
|
||||
* src/symtab.h, src/symtab.c (symbol_t): destructor_location is a
|
||||
|
||||
@@ -28,6 +28,7 @@ Keith Browne [email protected]
|
||||
Laurent Mascherpa [email protected]
|
||||
Magnus Fromreide [email protected]
|
||||
Marc Autret [email protected]
|
||||
Matt Kraai [email protected]
|
||||
Michael Hayes [email protected]
|
||||
Mike Castle [email protected]
|
||||
Neil Booth [email protected]
|
||||
|
||||
@@ -1251,6 +1251,7 @@ yyabortlab:
|
||||
yyresult = 1;
|
||||
goto yyreturn;
|
||||
|
||||
#ifndef yyoverflow
|
||||
/*---------------------------------------------.
|
||||
| yyoverflowab -- parser overflow comes here. |
|
||||
`---------------------------------------------*/
|
||||
@@ -1258,6 +1259,7 @@ yyoverflowlab:
|
||||
yyerror ("parser stack overflow");
|
||||
yyresult = 2;
|
||||
/* Fall through. */
|
||||
#endif
|
||||
|
||||
yyreturn:
|
||||
#ifndef yyoverflow
|
||||
|
||||
Reference in New Issue
Block a user