mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-07-24 01:40:33 +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]>
|
2002-06-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
* src/symtab.h, src/symtab.c (symbol_t): destructor_location is a
|
* src/symtab.h, src/symtab.c (symbol_t): destructor_location is a
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ Keith Browne [email protected]
|
|||||||
Laurent Mascherpa [email protected]
|
Laurent Mascherpa [email protected]
|
||||||
Magnus Fromreide [email protected]
|
Magnus Fromreide [email protected]
|
||||||
Marc Autret [email protected]
|
Marc Autret [email protected]
|
||||||
|
Matt Kraai [email protected]
|
||||||
Michael Hayes [email protected]
|
Michael Hayes [email protected]
|
||||||
Mike Castle [email protected]
|
Mike Castle [email protected]
|
||||||
Neil Booth [email protected]
|
Neil Booth [email protected]
|
||||||
|
|||||||
@@ -1251,6 +1251,7 @@ yyabortlab:
|
|||||||
yyresult = 1;
|
yyresult = 1;
|
||||||
goto yyreturn;
|
goto yyreturn;
|
||||||
|
|
||||||
|
#ifndef yyoverflow
|
||||||
/*---------------------------------------------.
|
/*---------------------------------------------.
|
||||||
| yyoverflowab -- parser overflow comes here. |
|
| yyoverflowab -- parser overflow comes here. |
|
||||||
`---------------------------------------------*/
|
`---------------------------------------------*/
|
||||||
@@ -1258,6 +1259,7 @@ yyoverflowlab:
|
|||||||
yyerror ("parser stack overflow");
|
yyerror ("parser stack overflow");
|
||||||
yyresult = 2;
|
yyresult = 2;
|
||||||
/* Fall through. */
|
/* Fall through. */
|
||||||
|
#endif
|
||||||
|
|
||||||
yyreturn:
|
yyreturn:
|
||||||
#ifndef yyoverflow
|
#ifndef yyoverflow
|
||||||
|
|||||||
Reference in New Issue
Block a user