changeset 5548:b8dd75cdd3a8

(YYSTACK_USE_ALLOCA): Define to 0, since there's no need to extend the stack.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 24 Dec 2004 05:29:20 +0000
parents 8f380d892c23
children 2ae78bdbe267
files lib/getdate.y
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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 <alloca.h>
-#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