fix another error seen only on clean builds

This commit is contained in:
Jeff Epler 2023-10-30 16:25:25 +01:00
parent 7fe886aeae
commit 2296c85e29
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -146,7 +146,7 @@ def process_file(f):
) )
elif args.mode == _MODE_ROOT_POINTER: elif args.mode == _MODE_ROOT_POINTER:
re_match = re.compile(r"MP_REGISTER_ROOT_POINTER\(.*?\);") re_match = re.compile(r"MP_REGISTER_ROOT_POINTER\(.*?\);")
re_translate = re.compile(r"MP_ERROR_TEXT\(\"((?:(?=(\\?))\2.)*?)\"\)") re_translate = re.compile(r"MP_COMPRESSED_ROM_TEXT\(\"((?:(?=(\\?))\2.)*?)\"\)")
output = [] output = []
last_fname = None last_fname = None
for line in f: for line in f: