We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779368d commit cf511edCopy full SHA for cf511ed
cpp_compiler.py
@@ -378,7 +378,7 @@ def handle_params(instruction_params):
378
self.constants[-1] += f"struct {instruction_params[0]}" + " {\n"
379
for param in params:
380
self.constants[-1] += self.tab_char * (len(self.instructions_stack) + 1) + param + ";\n"
381
- self.constants[-1] += self.tab_char * len(self.instructions_stack) + "}"
+ self.constants[-1] += self.tab_char * len(self.instructions_stack) + "};"
382
self.instructions_list[line_number] = ""
383
384
0 commit comments