diff options
author | Barry Warsaw <barry@python.org> | 2003-02-28 15:27:40 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2003-02-28 15:27:40 (GMT) |
commit | edaa071eb45cecbcf4d74b886bfac1ac2a780916 (patch) | |
tree | 818f39184724a74df9410e6fdb113e0f3a410468 /Parser/pgen.c | |
parent | d5532affd8da87c88c3ea5cc7277b5fa24bff0df (diff) | |
download | cpython-edaa071eb45cecbcf4d74b886bfac1ac2a780916.zip cpython-edaa071eb45cecbcf4d74b886bfac1ac2a780916.tar.gz cpython-edaa071eb45cecbcf4d74b886bfac1ac2a780916.tar.bz2 |
compile_atom(): Neal's last checkin removing the setting of i broke
the build, so I'm restoring it. I'm not sure what Neal's intent was,
since the line following the one he removed was "REQN(i, 1)" so i is
obviously used. ;)
Diffstat (limited to 'Parser/pgen.c')
-rw-r--r-- | Parser/pgen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c index e90155d..f3fdb46 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c @@ -283,7 +283,10 @@ 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); n = n->n_child; if (n->n_type == LPAR) { |