7de6308c6a
-- From: markus@
13 lines
400 B
Plaintext
13 lines
400 B
Plaintext
$OpenBSD: patch-src_reader_c,v 1.1 2003/10/16 22:22:00 brad Exp $
|
|
--- src/reader.c.orig 2003-10-16 18:15:34.000000000 -0400
|
|
+++ src/reader.c 2003-10-16 18:16:12.000000000 -0400
|
|
@@ -1897,7 +1897,7 @@ packgram (void)
|
|
symbol_list *p;
|
|
|
|
ritem = XCALLOC (short, nitems + 1);
|
|
- rule_table = XCALLOC (rule_t, nrules) - 1;
|
|
+ rule_table = XCALLOC (rule_t, nrules + 1);
|
|
|
|
itemno = 0;
|
|
ruleno = 1;
|