Closes #1152: Fix pycode parsing errors of Python 3 code by including two grammar

versions for Python 2 and 3, and loading the appropriate version for the
running Python version.
This commit is contained in:
Georg Brandl
2014-01-12 19:44:04 +01:00
parent 531d70989f
commit 42a8138c30
8 changed files with 172 additions and 51 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ recursive-include sphinx/ext/autosummary/templates *
recursive-include tests *
recursive-include utils *
recursive-include custom_fixers *
include sphinx/pycode/Grammar.txt
include sphinx/pycode/Grammar-py2.txt
include sphinx/pycode/Grammar-py3.txt
recursive-include doc *
prune doc/_build