Update codegen

This commit is contained in:
Abdelrahman Said
2025-04-16 10:05:42 +01:00
parent 2017f6de79
commit aa04fab6ea
8 changed files with 119 additions and 101 deletions

View File

@@ -162,7 +162,7 @@ class CFunc:
return f"{str(self)};\n"
def define(self) -> str:
return f"{str(self)} {{\n{self.body}}}\n\n"
return f"{str(self)} {{\n{self.body}\n}}\n\n"
@dataclass