summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Parser/pgen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index e90155d..f3fdb46 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -283,7 +283,10 @@ compile_item(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
static void
compile_atom(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
{
+ int i;
+
REQ(n, ATOM);
+ i = n->n_nchildren;
REQN(i, 1);
n = n->n_child;
if (n->n_type == LPAR) {