Propagate show_asm debug option down to functions

This commit is contained in:
rocky
2021-12-17 05:27:15 -05:00
parent ed5346e526
commit 16c900ff1d
8 changed files with 53 additions and 25 deletions

View File

@@ -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