Forge on with 3.7

This commit is contained in:
rocky
2018-04-13 13:31:47 -04:00
parent 1890aad660
commit 9fa7b9ea53
4 changed files with 17 additions and 4 deletions

View File

@@ -177,6 +177,8 @@ class Python36Parser(Python35Parser):
'expr32 ' * int((v//32) % 32) +
'expr ' * (v % 32) + opname)
self.addRule(rule, nop_func)
rule = ('starred ::= %s %s' % ('expr ' * v, opname))
self.addRule(rule, nop_func)
elif opname == 'SETUP_WITH':
rules_str = """
withstmt ::= expr SETUP_WITH POP_TOP suite_stmts_opt POP_BLOCK LOAD_CONST