summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-08 02:06:01 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-08 02:06:01 (GMT)
commit46aae198ad5178313271790cf7209843045346b6 (patch)
tree089a4ceb21d576c632196242f51d357a26d5e807 /Parser
parentdde5090d74d72008bdacf0d8fefc729e6427a913 (diff)
downloadcpython-46aae198ad5178313271790cf7209843045346b6.zip
cpython-46aae198ad5178313271790cf7209843045346b6.tar.gz
cpython-46aae198ad5178313271790cf7209843045346b6.tar.bz2
Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds, but is used in debug builds
Diffstat (limited to 'Parser')
-rw-r--r--Parser/pgen.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index 05534c7..e643d33 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);