[Python-checkins] r41964 - python/trunk/Parser/pgen.c
neal.norwitz
python-checkins at python.org
Sun Jan 8 03:06:02 CET 2006
Author: neal.norwitz
Date: Sun Jan 8 03:06:01 2006
New Revision: 41964
Modified:
python/trunk/Parser/pgen.c
Log:
Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds, but is used in debug builds
Modified: python/trunk/Parser/pgen.c
==============================================================================
--- python/trunk/Parser/pgen.c (original)
+++ python/trunk/Parser/pgen.c Sun Jan 8 03:06:01 2006
@@ -276,11 +276,14 @@
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);
More information about the Python-checkins
mailing list