X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetdate.y;h=4c59334bc383be9c5e3e6a219690cd9d3d22a506;hb=5bc7f527b9e5cd3789419d04e14fd8534ef396d4;hp=b57e6a56d3a2275be798ed4704e5372e42546134;hpb=8df1cde7814e04abc0e36c0d05f4c74fa05b96f4;p=gnulib.git diff --git a/lib/getdate.y b/lib/getdate.y index b57e6a56d..4c59334bc 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -36,18 +36,16 @@ #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 ow much stack space is needed. 20 should be plenty for +/* 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 /* Since the code of getdate.y is not included in the Emacs executable itself, there is no need to #define static in this file. Even if