Skip to content

Commit cca0ae5

Browse files
authored
minor chance to c.py
1 parent 6dfdc19 commit cca0ae5

File tree

1 file changed

+2
-2
lines changed
  • rivetc/src/codegen

1 file changed

+2
-2
lines changed

rivetc/src/codegen/c.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 The Rivet Developers. All rights reserved.
1+
Ji# Copyright (C) 2023 The Rivet Developers. All rights reserved.
22
# Use of this source code is governed by an MIT license that can
33
# be found in the LICENSE file.
44

@@ -238,7 +238,7 @@ def gen_instrs(self, insts):
238238
elif isinstance(inst, ir.Comment):
239239
self.writeln(f"/* {inst.text} */")
240240
elif isinstance(inst, ir.Label):
241-
self.writeln(f"{inst.label}: {{}}")
241+
self.writeln(f"{inst.label}: ;")
242242
elif isinstance(inst, ir.Inst):
243243
self.gen_inst(inst)
244244
if inst.kind == InstKind.DbgStmtLine:

0 commit comments

Comments
 (0)