From 0e384bb60deefa863f2c2d2ccda439c7bba62dfc Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 1 Jun 2022 06:34:04 +0300 Subject: [PATCH] cgen: fix goto label --- vlib/v/gen/c/cgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/cgen.v b/vlib/v/gen/c/cgen.v index ef472526fc..a7a0176ff3 100644 --- a/vlib/v/gen/c/cgen.v +++ b/vlib/v/gen/c/cgen.v @@ -1825,7 +1825,7 @@ fn (mut g Gen) stmt(node ast.Stmt) { g.global_decl(node) } ast.GotoLabel { - g.writeln('${c_name(node.name)}: ') + g.writeln('${c_name(node.name)}: {}') } ast.GotoStmt { g.write_v_source_line_info(node.pos)