diff --git a/test/bytecode_2.7/06_nop.pyc b/test/bytecode_2.7/06_nop.pyc new file mode 100644 index 000000000..0f6f966d1 Binary files /dev/null and b/test/bytecode_2.7/06_nop.pyc differ diff --git a/test/bytecode_3.6/06_nop.pyc b/test/bytecode_3.6/06_nop.pyc new file mode 100644 index 000000000..f0420f2b4 Binary files /dev/null and b/test/bytecode_3.6/06_nop.pyc differ diff --git a/uncompyle6/parser.py b/uncompyle6/parser.py index 2409f9f17..35d9bb552 100644 --- a/uncompyle6/parser.py +++ b/uncompyle6/parser.py @@ -391,6 +391,10 @@ def p_stmt(self, args): returns ::= return returns ::= _stmts return + + # NOP + stmt ::= nop_stmt + nop_stmt ::= NOP """ pass