diff options
author | Akim Demaille <akim@epita.fr> | 2001-10-10 14:59:46 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2001-10-10 14:59:46 +0000 |
commit | bf316197623e18acc27201a8f3964b1e1606569f (patch) | |
tree | 917b30bfcb24c0e4d70d83c79c583841e4598ae0 | |
parent | 31a743b2bb27321d09d59c4009d5f914b4d9ada3 (diff) | |
download | bison-1.29d.tar.gz |
* src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.v1.29dBISON-1_29d
Use `#if , not `#ifndef'.
Reported by Airy Andre.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/bison.simple | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -2,8 +2,8 @@ Version 1.29d. * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA. - Use `#if YYSTACK_USE_ALLOCA', not `#ifdef'. - Reported by Airy ANDRE. + Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'. + Reported by Airy Andre. 2001-10-10 Akim Demaille <akim@epita.fr> diff --git a/src/bison.simple b/src/bison.simple index c62708ff..c1b90e98 100644 --- a/src/bison.simple +++ b/src/bison.simple @@ -420,7 +420,7 @@ yyparse (YYPARSE_PARAM_ARG) yystacksize *= 2; if (yystacksize > YYMAXDEPTH) yystacksize = YYMAXDEPTH; -# if YYSTACK_USE_ALLOCA +# if !YYSTACK_USE_ALLOCA yyfree_stacks = 1; # endif yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp)); |