* NEWS: Bison-generated parsers no longer default to using the
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Dec 2004 21:19:47 +0000 (21:19 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Dec 2004 21:19:47 +0000 (21:19 +0000)
commitd7e14fc000458de046cfcded04c2fe8438f63919
treee4d2a2ae53e25bf29a24f32ae243f18eaa0984d1
parent0a2c51373ae2c31e264e8b6ad0be2324ba29cb0b
* NEWS: Bison-generated parsers no longer default to using the
alloca function (when available) to extend the parser stack, due
to widespread problems in unchecked stack-overflow detection.
* data/glr.c (YYMAXDEPTH): Remove undef when zero.  It's the user's
responsibility to set it to a positive value.  This lets the user
specify a value that is not a preprocessor constant.
* data/yacc.c (YYMAXDEPTH): Likewise.
(YYSTACK_ALLOC): Define only if YYSTACK_USE_ALLOCA is nonzero.
* doc/bison.texinfo (Stack Overflow): YYMAXDEPTH no longer needs
to be a compile-time constant.  However, explain the constraints on it.
Also, explain the constraints on YYINITDEPTH.
(Table of Symbols): Explain that alloca is no longer the default.
Explain the user's responsibility if they define YYSTACK_USE_ALLOCA
to 1.
ChangeLog
NEWS
data/glr.c
data/yacc.c
doc/bison.texinfo