Merge branch 'master' into python-2.4

This commit is contained in:
rocky
2017-11-23 17:17:54 -05:00
8 changed files with 61 additions and 13 deletions

View File

@@ -140,6 +140,10 @@ class Python35Parser(Python34Parser):
"""
def add_custom_rules(self, tokens, customize):
self.remove_rules("""
# FIXME: should this be in 3.3?
whileTruestmt ::= SETUP_LOOP return_stmts COME_FROM_LOOP
""")
super(Python35Parser, self).add_custom_rules(tokens, customize)
for i, token in enumerate(tokens):
opname = token.kind