3.x while/else can now sometime have COME_FROMs

This commit is contained in:
rocky
2019-04-27 04:37:24 -04:00
parent 43dbf9b878
commit c5d7944e65
2 changed files with 7 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ class Python34Parser(Python33Parser):
whileelsestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK
else_suitel COME_FROM
while1elsestmt ::= SETUP_LOOP l_stmts JUMP_BACK POP_BLOCK else_suitel
while1elsestmt ::= SETUP_LOOP l_stmts JUMP_BACK _come_froms POP_BLOCK else_suitel
COME_FROM_LOOP
# Python 3.4+ optimizes the trailing two JUMPS away