* 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

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