* 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

@@ -1,3 +1,9 @@
2002-06-18 Matt Kraai <kraai@alumni.cmu.edu>
* 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 <akim@epita.fr> 2002-06-18 Akim Demaille <akim@epita.fr>
* 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
THANKS
View File

@@ -28,6 +28,7 @@ Keith Browne kbrowne@legato.com
Laurent Mascherpa laurent.mascherpa@epita.fr Laurent Mascherpa laurent.mascherpa@epita.fr
Magnus Fromreide magfr@lysator.liu.se Magnus Fromreide magfr@lysator.liu.se
Marc Autret autret_m@epita.fr Marc Autret autret_m@epita.fr
Matt Kraai kraai@alumni.cmu.edu
Michael Hayes m.hayes@elec.canterbury.ac.nz Michael Hayes m.hayes@elec.canterbury.ac.nz
Mike Castle dalgoda@ix.netcom.com Mike Castle dalgoda@ix.netcom.com
Neil Booth NeilB@earthling.net Neil Booth NeilB@earthling.net

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