Fix while1/if parsing in 3.x. Reinstate some tests

This commit is contained in:
rocky 2017-12-06 22:47:19 -05:00
parent a1b990a078
commit 41db5b8848
3 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ class Python3Parser(PythonParser):
iflaststmtl ::= testexpr c_stmts_opt JUMP_BACK
iflaststmtl ::= testexpr c_stmts_opt JUMP_BACK COME_FROM_LOOP
iflaststmtl ::= testexpr c_stmts_opt JUMP_BACK POP_BLOCK
# These are used to keep AST indices the same
jump_forward_else ::= JUMP_FORWARD ELSE