fix: fix type name.

This commit is contained in:
2025-02-07 17:03:33 +08:00
parent a6327f31f3
commit 3f631d6c2c

View File

@@ -106,7 +106,7 @@ def process(path_to_file: str, args: Options):
def regex_preprocess_name(con: str):
# typed storage can be very complex, so we need to preprocess it.
# TODO: find a better way.
return re.sub(r'\s+', ' ', con).replace('< ', '<')
return re.sub(r'\s+', ' ', con).replace('< ', '<').replace(':: ', '::')
# tmp
content = ''