diff --git a/uncompyle6/parsers/parse26.py b/uncompyle6/parsers/parse26.py index acc4e54f..420a062a 100644 --- a/uncompyle6/parsers/parse26.py +++ b/uncompyle6/parsers/parse26.py @@ -142,6 +142,10 @@ class Python26Parser(Python2Parser): whilestmt ::= SETUP_LOOP testexpr l_stmts_opt jb_cf_pop bp_come_from whilestmt ::= SETUP_LOOP testexpr return_stmts come_froms POP_TOP bp_come_from + whileelsestmt ::= SETUP_LOOP testexpr l_stmts_opt jb_pop POP_BLOCK + else_suite COME_FROM + + while1stmt ::= SETUP_LOOP return_stmts bp_come_from return_stmt ::= ret_expr RETURN_END_IF come_from_pop