You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Fix while1/if parsing in 3.x. Reinstate some tests
This commit is contained in:
@@ -138,6 +138,7 @@ class Python3Parser(PythonParser):
|
|||||||
|
|
||||||
iflaststmtl ::= testexpr c_stmts_opt JUMP_BACK
|
iflaststmtl ::= testexpr c_stmts_opt JUMP_BACK
|
||||||
iflaststmtl ::= testexpr c_stmts_opt JUMP_BACK COME_FROM_LOOP
|
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
|
# These are used to keep AST indices the same
|
||||||
jump_forward_else ::= JUMP_FORWARD ELSE
|
jump_forward_else ::= JUMP_FORWARD ELSE
|
||||||
|
Reference in New Issue
Block a user