You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
Keep optype info in token...
It is useful for ADD_VALUE
This commit is contained in:
@@ -355,6 +355,7 @@ class Scanner37Base(Scanner):
|
||||
has_arg=True,
|
||||
opc=self.opc,
|
||||
has_extended_arg=False,
|
||||
optype=inst.optype,
|
||||
),
|
||||
)
|
||||
jump_idx += 1
|
||||
@@ -426,6 +427,7 @@ class Scanner37Base(Scanner):
|
||||
has_arg=inst.has_arg,
|
||||
opc=self.opc,
|
||||
has_extended_arg=inst.has_extended_arg,
|
||||
optype=inst.optype,
|
||||
),
|
||||
)
|
||||
continue
|
||||
@@ -527,6 +529,7 @@ class Scanner37Base(Scanner):
|
||||
has_arg=inst.has_arg,
|
||||
opc=self.opc,
|
||||
has_extended_arg=inst.has_extended_arg,
|
||||
optype=inst.optype,
|
||||
),
|
||||
)
|
||||
pass
|
||||
|
Reference in New Issue
Block a user