summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-12-15 06:06:24 (GMT)
committerGuido van Rossum <guido@python.org>2003-12-15 06:06:24 (GMT)
commitbd311d8e4eba6c8f9a24a068861aed2da88f5d4a (patch)
treeab0e468c3b12a484eed462f3d5ebeb9f45bca11a
parent1ecbd679231dbf1eac714f0fe8298a60ef34d4f6 (diff)
downloadcpython-bd311d8e4eba6c8f9a24a068861aed2da88f5d4a.zip
cpython-bd311d8e4eba6c8f9a24a068861aed2da88f5d4a.tar.gz
cpython-bd311d8e4eba6c8f9a24a068861aed2da88f5d4a.tar.bz2
Remove a "temporary" piece of code that was probably unneeded since
mid 1990. Remove an untrue XXX comment.
-rw-r--r--Parser/pgen.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index 453deb4..e643d33 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -1,6 +1,4 @@
-
/* Parser generator */
-/* XXX This file is not yet fully PROTOized */
/* 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;
n++;
for (; --i >= 0; n++) {
- if (n->n_type == COMMA) { /* XXX Temporary */
- REQN(i, 1);
- --i;
- n++;
- }
REQ(n, ITEM);
compile_item(ll, nf, n, &a, &b);
addnfaarc(nf, *pb, a, EMPTY);