From: Neal Norwitz Date: Sun, 8 Jan 2006 02:06:01 +0000 (+0000) Subject: Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds... X-Git-Tag: v2.5a0~862 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46aae198ad5178313271790cf7209843045346b6;p=python Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds, but is used in debug builds --- diff --git a/Parser/pgen.c b/Parser/pgen.c index 05534c743b..e643d330b4 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c @@ -276,11 +276,14 @@ 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); - REQN(n->n_nchildren, 1); + i = n->n_nchildren; + REQN(i, 1); n = n->n_child; if (n->n_type == LPAR) { - REQN(n->n_nchildren, 3); + REQN(i, 3); n++; REQ(n, RHS); compile_rhs(ll, nf, n, pa, pb);