Fix for try..else..finally blocks.
* with blocks having a nested if..else do not work anymore.
This commit is contained in:
@@ -70,7 +70,8 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
|
||||
&& opcode != Pyc::POP_JUMP_IF_FALSE_A
|
||||
&& opcode != Pyc::JUMP_IF_TRUE_A
|
||||
&& opcode != Pyc::JUMP_IF_TRUE_OR_POP_A
|
||||
&& opcode != Pyc::POP_JUMP_IF_TRUE_A) {
|
||||
&& opcode != Pyc::POP_JUMP_IF_TRUE_A
|
||||
&& opcode != Pyc::POP_BLOCK) {
|
||||
else_pop = false;
|
||||
|
||||
PycRef<ASTBlock> prev = curblock;
|
||||
|
Reference in New Issue
Block a user