* 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

View File

@@ -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