Allow freestanding lib script regex to detect XXH64(

This commit is contained in:
senhuang42 2021-01-07 12:09:46 -05:00
parent 17222654bf
commit 4f7584e7a3

View File

@ -576,7 +576,7 @@ class Freestanding(object):
)
if self._xxh64_prefix is not None:
replacements.append(
(re.compile(r"([^\w]|^)(?P<orig>XXH64)_"), self._xxh64_prefix)
(re.compile(r"([^\w]|^)(?P<orig>XXH64)[\(_]"), self._xxh64_prefix)
)
for filepath in self._dst_lib_file_paths():
file = FileLines(filepath)