* data/yacc.c (yyexhaustedlab): Define it when YYERROR_VERBOSE is

true since it's then always used regardless of whether yyoverflow is
defined.  Reported by Christian Burger at
<http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00031.html>.
* THANKS: Add Christian Burger.
This commit is contained in:
Joel E. Denny
2007-08-03 04:51:23 +00:00
parent cbd5054909
commit a2ea208d82
3 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
2007-08-03 Joel E. Denny <jdenny@ces.clemson.edu>
* data/yacc.c (yyexhaustedlab): Define it when YYERROR_VERBOSE is
true since it's then always used regardless of whether yyoverflow is
defined. Reported by Christian Burger at
<http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00031.html>.
* THANKS: Add Christian Burger.
2007-07-28 Joel E. Denny <jdenny@ces.clemson.edu> 2007-07-28 Joel E. Denny <jdenny@ces.clemson.edu>
* src/muscle_tab.c (muscle_percent_define_flag_if): In order to * src/muscle_tab.c (muscle_percent_define_flag_if): In order to

1
THANKS
View File

@@ -19,6 +19,7 @@ Brandon Lucia blucia@gmail.com
Bruce Lilly blilly@erols.com Bruce Lilly blilly@erols.com
Bruno Haible bruno@clisp.org Bruno Haible bruno@clisp.org
Charles-Henri de Boysson de-boy_c@epita.fr Charles-Henri de Boysson de-boy_c@epita.fr
Christian Burger cburger@sunysb.edu
Cris Bailiff c.bailiff+bison@awayweb.com Cris Bailiff c.bailiff+bison@awayweb.com
Cris van Pelt cris@amf03054.office.wxs.nl Cris van Pelt cris@amf03054.office.wxs.nl
Daniel Hagerty hag@gnu.org Daniel Hagerty hag@gnu.org

View File

@@ -1448,7 +1448,7 @@ yyabortlab:
yyresult = 1; yyresult = 1;
goto yyreturn; goto yyreturn;
#ifndef yyoverflow #if !defined(yyoverflow) || YYERROR_VERBOSE
/*-------------------------------------------------. /*-------------------------------------------------.
| yyexhaustedlab -- memory exhaustion comes here. | | yyexhaustedlab -- memory exhaustion comes here. |
`-------------------------------------------------*/ `-------------------------------------------------*/