From: Joel E. Denny Date: Fri, 3 Aug 2007 04:51:23 +0000 (+0000) Subject: * data/yacc.c (yyexhaustedlab): Define it when YYERROR_VERBOSE is X-Git-Tag: v2.3b~109 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/a2ea208d82fdd67257d16e11b93ab17a8c48d452 * 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 . * THANKS: Add Christian Burger. --- diff --git a/ChangeLog b/ChangeLog index 4573fc0c..40c7b877 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-08-03 Joel E. Denny + + * 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 + . + * THANKS: Add Christian Burger. + 2007-07-28 Joel E. Denny * src/muscle_tab.c (muscle_percent_define_flag_if): In order to diff --git a/THANKS b/THANKS index d0e84fc5..d1a2da14 100644 --- a/THANKS +++ b/THANKS @@ -19,6 +19,7 @@ Brandon Lucia blucia@gmail.com Bruce Lilly blilly@erols.com Bruno Haible bruno@clisp.org Charles-Henri de Boysson de-boy_c@epita.fr +Christian Burger cburger@sunysb.edu Cris Bailiff c.bailiff+bison@awayweb.com Cris van Pelt cris@amf03054.office.wxs.nl Daniel Hagerty hag@gnu.org diff --git a/data/yacc.c b/data/yacc.c index 4ec1f4a1..8fe8596f 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -1448,7 +1448,7 @@ yyabortlab: yyresult = 1; goto yyreturn; -#ifndef yyoverflow +#if !defined(yyoverflow) || YYERROR_VERBOSE /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | `-------------------------------------------------*/