Skip to content

Commit f72b2c1

Browse files
committed
Fix when parsing NOP
Fix error when parsing NOP opcode
1 parent e4e3743 commit f72b2c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

uncompyle6/parser.py

+4
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,10 @@ def p_stmt(self, args):
391391
392392
returns ::= return
393393
returns ::= _stmts return
394+
395+
# NOP
396+
stmt ::= nop_stmt
397+
nop_stmt ::= NOP
394398
395399
"""
396400
pass

0 commit comments

Comments
 (0)