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 6dfdc19 commit cca0ae5Copy full SHA for cca0ae5
rivetc/src/codegen/c.py
@@ -1,4 +1,4 @@
1
-# Copyright (C) 2023 The Rivet Developers. All rights reserved.
+Ji# Copyright (C) 2023 The Rivet Developers. All rights reserved.
2
# Use of this source code is governed by an MIT license that can
3
# be found in the LICENSE file.
4
@@ -238,7 +238,7 @@ def gen_instrs(self, insts):
238
elif isinstance(inst, ir.Comment):
239
self.writeln(f"/* {inst.text} */")
240
elif isinstance(inst, ir.Label):
241
- self.writeln(f"{inst.label}: {{}}")
+ self.writeln(f"{inst.label}: ;")
242
elif isinstance(inst, ir.Inst):
243
self.gen_inst(inst)
244
if inst.kind == InstKind.DbgStmtLine:
0 commit comments