[Python-checkins] python/dist/src/Parser pgen.c,2.23,2.24
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
Fri, 28 Feb 2003 07:27:43 -0800
Update of /cvsroot/python/python/dist/src/Parser
In directory sc8-pr-cvs1:/tmp/cvs-serv26527
Modified Files:
pgen.c
Log Message:
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. ;)
Index: pgen.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/pgen.c,v
retrieving revision 2.23
retrieving revision 2.24
diff -C2 -d -r2.23 -r2.24
*** pgen.c 28 Feb 2003 03:16:07 -0000 2.23
--- pgen.c 28 Feb 2003 15:27:40 -0000 2.24
***************
*** 284,288 ****
--- 284,291 ----
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;