2.6 and before COME_FROM handling...

also, add in some of the test bytecode from the python-2.4 branch
This commit is contained in:
rocky
2018-03-04 21:42:59 -05:00
parent def9e1676b
commit 9e815d8d79
8 changed files with 21 additions and 3 deletions

View File

@@ -115,8 +115,7 @@ class Python26Parser(Python2Parser):
# Semantic actions want else_suitel to be at index 3
ifelsestmtl ::= testexpr c_stmts_opt cf_jb_cf_pop else_suitel
ifelsestmtc ::= testexpr c_stmts_opt ja_cf_pop else_suitec
ifelsestmtc ::= testexpr c_stmts_opt ja_cf_pop else_suitec
# Semantic actions want suite_stmts_opt to be at index 3
withstmt ::= expr setupwith SETUP_FINALLY suite_stmts_opt