You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
Propagate show_asm debug option down to functions
This commit is contained in:
@@ -194,6 +194,7 @@ class Scanner37Base(Scanner):
|
||||
Also, when we encounter certain tokens, we add them to a set which will cause custom
|
||||
grammar rules. Specifically, variable arg tokens like MAKE_FUNCTION or BUILD_LIST
|
||||
cause specific rules for the specific number of arguments they take.
|
||||
|
||||
"""
|
||||
|
||||
def tokens_append(j, token):
|
||||
@@ -455,7 +456,7 @@ class Scanner37Base(Scanner):
|
||||
# as CONTINUE, but that's okay since we add a grammar
|
||||
# rule for that.
|
||||
pattr = argval
|
||||
target = self.get_target(inst.offset)
|
||||
target = inst.argval
|
||||
if target <= inst.offset:
|
||||
next_opname = self.insts[i + 1].opname
|
||||
|
||||
|
Reference in New Issue
Block a user