mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix goto label
This commit is contained in:
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
Block a user