]> git.saurik.com Git - bison.git/blobdiff - src/state.h
Try to make the use of the eoftoken valid. Given that its value
[bison.git] / src / state.h
index 14017afedec657d3f4b67b1c6bfc713c226d39c4..8cdf40400cce385f3ff7ecd9c07163bb922d7358 100644 (file)
@@ -158,10 +158,7 @@ typedef struct reductions
   short rules[1];
 } reductions;
 
-#define REDUCTIONS_ALLOC(Nreductions)                                  \
-  (reductions *) xcalloc ((unsigned) (sizeof (reductions)              \
-                                  + (Nreductions - 1) * sizeof (short)), 1)
-
+reductions *reductions_new PARAMS ((int n));
 
 
 /*----------.