Skip to content

Commit

Permalink
Handle NOP instruction in decompyle (fixes zrax#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrax committed Oct 24, 2016
1 parent dfdb00d commit ed2c21c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ASTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,8 @@ PycRef<ASTNode> BuildFromCode(PycRef<PycCode> code, PycModule* mod)
stack.push(new ASTFunction(code, defArgs));
}
break;
case Pyc::NOP:
break;
case Pyc::POP_BLOCK:
{
if (curblock->blktype() == ASTBlock::BLK_CONTAINER ||
Expand Down

0 comments on commit ed2c21c

Please sign in to comment.