]> granicus.if.org Git - python/commitdiff
Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds...
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 8 Jan 2006 02:06:01 +0000 (02:06 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 8 Jan 2006 02:06:01 +0000 (02:06 +0000)
Parser/pgen.c

index 05534c743b477b36a6291e35c81a6af07450e5e3..e643d330b4d7f1f9e38a83b9dceba255e896b9df 100644 (file)
@@ -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);