commit | 2d3b986480f5a01329cc66b2bdf50fdb94e1c1e4 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri May 24 15:47:06 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri May 24 15:47:06 2002 +0000 |
tree | df063351c064542b1694701577ad4e14dd5e00a5 | |
parent | a0a6c5a042818461fa199c8a3daefb7fd00ffe1b [diff] [blame] |
Disambiguate the grammar for backtick. The old syntax suggested that a trailing comma was OK inside backticks, but in fact (due to ideosyncrasies of pgen) it was not. Fix the grammar to avoid the ambiguity. Fred: you may want to update the refman.
diff --git a/Include/graminit.h b/Include/graminit.h index e3afb93..50abda0 100644 --- a/Include/graminit.h +++ b/Include/graminit.h
@@ -64,3 +64,4 @@ #define list_iter 319 #define list_for 320 #define list_if 321 +#define testlist1 322