From: Paul Eggert Date: Fri, 24 Dec 2004 05:29:20 +0000 (+0000) Subject: (YYSTACK_USE_ALLOCA): Define to 0, since there's no need to extend the X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=970562b47044979ea157869d601ea8350e0a7d12;p=pspp (YYSTACK_USE_ALLOCA): Define to 0, since there's no need to extend the stack. --- diff --git a/lib/getdate.y b/lib/getdate.y index f6c860de4a..4c59334bc3 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -36,16 +36,13 @@ #include "getdate.h" -/* Use alloca only if it is known to be builtin. */ -#if HAVE_ALLOCA -# include -#else -# define YYSTACK_USE_ALLOCA 0 -#endif +/* There's no need to extend the stack, so there's no need to involve + alloca. */ +#define YYSTACK_USE_ALLOCA 0 /* Tell Bison how much stack space is needed. 20 should be plenty for this grammar, which is not right recursive. Beware setting it too - high, since that might cause problems on machines whose alloca + high, since that might cause problems on machines whose implementations have lame stack-overflow checking. */ #define YYMAXDEPTH 20 #define YYINITDEPTH YYMAXDEPTH