Python 3.6 control flow bug...

Much more is needed, but it's a start
This commit is contained in:
rocky
2017-10-29 23:52:58 -04:00
parent 95268cb14e
commit b83d6c64ed
4 changed files with 66 additions and 4 deletions

View File

@@ -32,6 +32,11 @@ class Python36Parser(Python35Parser):
call_function ::= expr expr CALL_FUNCTION_EX
call_function ::= expr expr expr CALL_FUNCTION_EX_KW_1
# This might be valid in < 3.6
and ::= expr jmp_false expr
except_suite ::= c_stmts_opt COME_FROM POP_EXCEPT jump_except COME_FROM
"""
def add_custom_rules(self, tokens, customize):