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

Skip to content

Commit bd311d8

Browse files
committed
Remove a "temporary" piece of code that was probably unneeded since
mid 1990. Remove an untrue XXX comment.
1 parent 1ecbd67 commit bd311d8

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

Parser/pgen.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
21
/* Parser generator */
3-
/* XXX This file is not yet fully PROTOized */
42

53
/* For a description, see the comments at end of this file */
64

@@ -231,11 +229,6 @@ compile_alt(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
231229
--i;
232230
n++;
233231
for (; --i >= 0; n++) {
234-
if (n->n_type == COMMA) { /* XXX Temporary */
235-
REQN(i, 1);
236-
--i;
237-
n++;
238-
}
239232
REQ(n, ITEM);
240233
compile_item(ll, nf, n, &a, &b);
241234
addnfaarc(nf, *pb, a, EMPTY);

0 commit comments

Comments
 (0)