Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit edaa071

Browse files
committed
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. ;)
1 parent d5532af commit edaa071

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Parser/pgen.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,10 @@ compile_item(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
283283
static void
284284
compile_atom(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
285285
{
286+
int i;
287+
286288
REQ(n, ATOM);
289+
i = n->n_nchildren;
287290
REQN(i, 1);
288291
n = n->n_child;
289292
if (n->n_type == LPAR) {

0 commit comments

Comments
 (0)