mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Remove a "temporary" piece of code that was probably unneeded since
mid 1990. Remove an untrue XXX comment.
This commit is contained in:
parent
1ecbd67923
commit
bd311d8e4e
1 changed files with 0 additions and 7 deletions
|
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
/* Parser generator */
|
/* Parser generator */
|
||||||
/* XXX This file is not yet fully PROTOized */
|
|
||||||
|
|
||||||
/* For a description, see the comments at end of this file */
|
/* For a description, see the comments at end of this file */
|
||||||
|
|
||||||
|
|
@ -231,11 +229,6 @@ compile_alt(labellist *ll, nfa *nf, node *n, int *pa, int *pb)
|
||||||
--i;
|
--i;
|
||||||
n++;
|
n++;
|
||||||
for (; --i >= 0; n++) {
|
for (; --i >= 0; n++) {
|
||||||
if (n->n_type == COMMA) { /* XXX Temporary */
|
|
||||||
REQN(i, 1);
|
|
||||||
--i;
|
|
||||||
n++;
|
|
||||||
}
|
|
||||||
REQ(n, ITEM);
|
REQ(n, ITEM);
|
||||||
compile_item(ll, nf, n, &a, &b);
|
compile_item(ll, nf, n, &a, &b);
|
||||||
addnfaarc(nf, *pb, a, EMPTY);
|
addnfaarc(nf, *pb, a, EMPTY);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue