mirror of
https://github.com/facebook/zstd.git
synced 2025-08-05 19:15:58 +03:00
Allow freestanding lib script regex to detect XXH64(
This commit is contained in:
@@ -576,7 +576,7 @@ class Freestanding(object):
|
|||||||
)
|
)
|
||||||
if self._xxh64_prefix is not None:
|
if self._xxh64_prefix is not None:
|
||||||
replacements.append(
|
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():
|
for filepath in self._dst_lib_file_paths():
|
||||||
file = FileLines(filepath)
|
file = FileLines(filepath)
|
||||||
|
Reference in New Issue
Block a user