summaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-12-15 06:06:24 +0000
committerGuido van Rossum <guido@python.org>2003-12-15 06:06:24 +0000
commite372d8f280684d9dac7cb18f8234fcdb41c2068a (patch)
treea9a64c5d4c6e87a47b2d413ca939b94458eb90df /Parser
parenteba7c6afda0c7e75dd2c0de8c67cc130591ad435 (diff)
downloadcpython-e372d8f280684d9dac7cb18f8234fcdb41c2068a.tar.gz
Remove a "temporary" piece of code that was probably unneeded since
mid 1990. Remove an untrue XXX comment.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/pgen.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index 453deb43f8..e643d330b4 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);