From: Barry Warsaw Date: Fri, 28 Feb 2003 15:27:40 +0000 (+0000) Subject: compile_atom(): Neal's last checkin removing the setting of i broke X-Git-Tag: v2.3c1~1645 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edaa071eb45cecbcf4d74b886bfac1ac2a780916;p=python 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. ;) --- diff --git a/Parser/pgen.c b/Parser/pgen.c index e90155de56..f3fdb46d1e 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) {