1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: fix tests

This commit is contained in:
Alexander Medvednikov 2020-03-07 06:02:32 +01:00
parent 260f708bb2
commit 150994a933

View File

@ -218,7 +218,7 @@ fn (g mut Gen) stmt(node ast.Stmt) {
ast.ForStmt {
g.write('while (')
g.expr(it.cond)
g.writeln(') { //1')
g.writeln(') {')
for stmt in it.stmts {
g.stmt(stmt)
}