Update reccmp.py

Support indented comments for 'TEMPLATE'd functions.
This commit is contained in:
Nathan M Gilbert 2023-10-23 06:08:02 -04:00 committed by GitHub
parent 724c953947
commit 98925d12c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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