* 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:
Akim Demaille
2002-06-18 10:00:36 +00:00
parent 24c0aad7e7
commit 0bfb02fff7
3 changed files with 9 additions and 0 deletions
+6
View File
@@ -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
+1
View File
@@ -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]
+2
View File
@@ -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