Skip to content

Commit

Permalink
Merge pull request #507 from c10udlnk/master
Browse files Browse the repository at this point in the history
Fix when parsing NOP
  • Loading branch information
rocky authored Dec 1, 2024
2 parents e4e3743 + efd2871 commit 5e6fad2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Binary file added test/bytecode_2.7/06_nop.pyc
Binary file not shown.
Binary file added test/bytecode_3.6/06_nop.pyc
Binary file not shown.
4 changes: 4 additions & 0 deletions uncompyle6/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ def p_stmt(self, args):
returns ::= return
returns ::= _stmts return
# NOP
stmt ::= nop_stmt
nop_stmt ::= NOP
"""
pass
Expand Down

0 comments on commit 5e6fad2

Please sign in to comment.