]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove a "temporary" piece of code that was probably unneeded since
authorGuido van Rossum <guido@python.org>
Mon, 15 Dec 2003 06:06:24 +0000 (06:06 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 15 Dec 2003 06:06:24 +0000 (06:06 +0000)
mid 1990.  Remove an untrue XXX comment.

Parser/pgen.c

index 453deb43f80b75a24bfe2bb22d0eae6299fbce7c..e643d330b4d7f1f9e38a83b9dceba255e896b9df 100644 (file)
@@ -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);