mirror of
https://github.com/python/cpython.git
synced 2025-11-08 21:52:45 +00:00
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. ;)
This commit is contained in:
parent
d5532affd8
commit
edaa071eb4
1 changed files with 3 additions and 0 deletions
|
|
@ -283,7 +283,10 @@ compile_item(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
|
||||||
static void
|
static void
|
||||||
compile_atom(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
|
compile_atom(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
|
||||||
{
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
REQ(n, ATOM);
|
REQ(n, ATOM);
|
||||||
|
i = n->n_nchildren;
|
||||||
REQN(i, 1);
|
REQN(i, 1);
|
||||||
n = n->n_child;
|
n = n->n_child;
|
||||||
if (n->n_type == LPAR) {
|
if (n->n_type == LPAR) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue