mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-11-06 06:42:00 +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 parent
24c0aad7e7
commit
0bfb02fff7
3 files changed
+9
No files matched your search
@@ -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