summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Parser/pgen.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index e643d33..05534c7 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -276,14 +276,11 @@ 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);
+ REQN(n->n_nchildren, 1);
n = n->n_child;
if (n->n_type == LPAR) {
- REQN(i, 3);
+ REQN(n->n_nchildren, 3);
n++;
REQ(n, RHS);
compile_rhs(ll, nf, n, pa, pb);