Fix 2.6- parsing of "for .. try/else" ...

with "continue"  inside
This commit is contained in:
rocky
2018-01-09 08:36:21 -05:00
parent d66fedb921
commit abcb769fdf
4 changed files with 16 additions and 9 deletions

View File

@@ -42,6 +42,8 @@ class Python26Parser(Python2Parser):
except_handler else_suite come_froms
tryelsestmtl ::= SETUP_EXCEPT suite_stmts_opt POP_BLOCK
except_handler else_suitel
tryelsestmtc ::= SETUP_EXCEPT suite_stmts_opt POP_BLOCK
except_handler else_suitec
_ifstmts_jump ::= c_stmts_opt JUMP_FORWARD COME_FROM POP_TOP