Fix another if/loop parse bug

This commit is contained in:
rocky
2016-05-08 18:07:04 -04:00
parent 739ce7b1fd
commit ce2ae463c4
2 changed files with 4 additions and 8 deletions

View File

@@ -328,13 +328,11 @@ class Python2Parser(PythonParser):
return_stmts
POP_BLOCK COME_FROM
while1stmt_pre ::= SETUP_LOOP l_stmts JUMP_BACK
while1stmt ::= SETUP_LOOP l_stmts JUMP_BACK COME_FROM
while1stmt ::= SETUP_LOOP return_stmts COME_FROM
while1stmt ::= SETUP_LOOP l_stmts JUMP_BACK POP_BLOCK COME_FROM
while1stmt ::= SETUP_LOOP return_stmts COME_FROM
while1elsestmt ::= SETUP_LOOP l_stmts JUMP_BACK else_suite COME_FROM
whileelsestmt ::= SETUP_LOOP testexpr
l_stmts_opt JUMP_BACK
POP_BLOCK