cgen: fix goto label
parent
c54c9b817c
commit
f40c30c3dc
|
@ -1825,7 +1825,7 @@ fn (mut g Gen) stmt(node ast.Stmt) {
|
||||||
g.global_decl(node)
|
g.global_decl(node)
|
||||||
}
|
}
|
||||||
ast.GotoLabel {
|
ast.GotoLabel {
|
||||||
g.writeln('${c_name(node.name)}: ')
|
g.writeln('${c_name(node.name)}: {}')
|
||||||
}
|
}
|
||||||
ast.GotoStmt {
|
ast.GotoStmt {
|
||||||
g.write_v_source_line_info(node.pos)
|
g.write_v_source_line_info(node.pos)
|
||||||
|
|
Loading…
Reference in New Issue