mirror of
https://github.com/facebook/zstd.git
synced 2024-12-01 00:46:44 +08:00
Allow freestanding lib script regex to detect XXH64(
This commit is contained in:
parent
17222654bf
commit
4f7584e7a3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user