+2001-12-27 Akim Demaille <akim@epita.fr>
+
+ * src/reader.c (packgram): Catch nitems overflows.
+
+
2001-12-27 Akim Demaille <akim@epita.fr>
* src/files.c, src/files.h (guard_obstack): Remove.
----------
Changes in version 1.49a:
+
+* items overflow
+ Bison no longer dumps core when there are too many items, it just
+ dies.
+
\f
Changes in version 1.30:
int ruleno;
symbol_list *p;
+ /* We use short to index items. */
+ if (nitems >= MAXSHORT)
+ fatal (_("too many items (max %d)"), MAXSHORT);
+
ritem = XCALLOC (short, nitems + 1);
rule_table = XCALLOC (rule_t, nrules) - 1;