]> granicus.if.org Git - python/commit
Disambiguate the grammar for backtick.
authorGuido van Rossum <guido@python.org>
Fri, 24 May 2002 15:47:06 +0000 (15:47 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 May 2002 15:47:06 +0000 (15:47 +0000)
commit2d3b986480f5a01329cc66b2bdf50fdb94e1c1e4
treedf063351c064542b1694701577ad4e14dd5e00a5
parenta0a6c5a042818461fa199c8a3daefb7fd00ffe1b
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.
Grammar/Grammar
Include/graminit.h
Modules/parsermodule.c
Python/compile.c
Python/graminit.c