]> git.saurik.com Git - bison.git/commitdiff
Avoid gcc -Wundef warnings reported by Gerald Pfeifer in
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 Apr 2003 06:04:39 +0000 (06:04 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 Apr 2003 06:04:39 +0000 (06:04 +0000)
<http://mail.gnu.org/archive/html/bug-bison/2003-04/msg00044.html>.

ChangeLog

index b7922abf729f9c0312a60eab6d2f69042796d2fb..fdf3a49b6a3524dd423ae27be69fb4b4d0df234a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-04-27  Paul Eggert  <eggert@twinsun.com>
+
+       Avoid gcc -Wundef warnings reported by Gerald Pfeifer in
+       <http://mail.gnu.org/archive/html/bug-bison/2003-04/msg00044.html>.
+       * data/yacc.c (YYSTACK_ALLOC): Don't evaluate YYSTACK_USE_ALLOCA
+       if it is not defined.
+       (YYMAXDEPTH): Don't evaluate YYMAXDEPTH if it is not defined.
+
 2003-04-26  Paul Eggert  <eggert@twinsun.com>
 
        * data/lalr1.cc (yy::Parser::pact_ninf_, yy::Parser::table_ninf_):