From d232c82e70fe60f2121cddebf7091f18face1439 Mon Sep 17 00:00:00 2001 From: Nathan M Gilbert Date: Mon, 23 Oct 2023 07:17:28 -0400 Subject: [PATCH] Update reccmp.py (#236) Support indented comments for 'TEMPLATE'd functions. --- tools/reccmp/reccmp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/reccmp/reccmp.py b/tools/reccmp/reccmp.py index f26ab764..d32b5ad0 100755 --- a/tools/reccmp/reccmp.py +++ b/tools/reccmp/reccmp.py @@ -434,7 +434,7 @@ def can_resolve_register_differences(original_asm, new_asm): line = srcfile.readline() line_no += 1 # Name comes after // comment - name = line[2:].strip() + name = line.strip()[2:].strip() recinfo = syminfo.get_recompiled_address_from_name(name) if not recinfo: