Patched bad formatting

This commit is contained in:
2025-11-19 20:35:05 +00:00
parent b7e2d4296a
commit 2f8361f946
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ def weaken_handlers_file(path: Path):
content = _if.read()
myre = re.compile(r"void ([A-Z][A-Za-z]+)_Handler\(void\)")
replaced = myre.sub(r"__attribute__\(\(weak\)\) void \1_Handler\(void\)", content)
replaced = myre.sub(r"__attribute__((weak)) void \1_Handler(void)", content)
with open(path, "w") as of:
of.write(replaced)