diff --git a/vlib/math/gamma.v b/vlib/math/gamma.v index f8b1603ad8..e0061db39b 100644 --- a/vlib/math/gamma.v +++ b/vlib/math/gamma.v @@ -93,7 +93,7 @@ pub fn gamma(a f64) f64 { for x < 0 { if x > -1e-09 { unsafe { - goto small_ + goto small } } z = z / x @@ -102,7 +102,7 @@ pub fn gamma(a f64) f64 { for x < 2 { if x < 1e-09 { unsafe { - goto small_ + goto small } } z = z / x @@ -119,7 +119,7 @@ pub fn gamma(a f64) f64 { if true { return z * p / q } - small_: + small: if x == 0 { return inf(1) } diff --git a/vlib/v/gen/c/cgen.v b/vlib/v/gen/c/cgen.v index 17fd1d655b..0fe74f3d7b 100644 --- a/vlib/v/gen/c/cgen.v +++ b/vlib/v/gen/c/cgen.v @@ -1675,11 +1675,11 @@ fn (mut g Gen) stmt(node ast.Stmt) { g.global_decl(node) } ast.GotoLabel { - g.writeln('$node.name: {}') + g.writeln('${c_name(node.name)}: {}') } ast.GotoStmt { g.write_v_source_line_info(node.pos) - g.writeln('goto $node.name;') + g.writeln('goto ${c_name(node.name)};') } ast.HashStmt { mut ct_condition := ''