cgen: fix tests
parent
260f708bb2
commit
150994a933
|
@ -218,7 +218,7 @@ fn (g mut Gen) stmt(node ast.Stmt) {
|
||||||
ast.ForStmt {
|
ast.ForStmt {
|
||||||
g.write('while (')
|
g.write('while (')
|
||||||
g.expr(it.cond)
|
g.expr(it.cond)
|
||||||
g.writeln(') { //1')
|
g.writeln(') {')
|
||||||
for stmt in it.stmts {
|
for stmt in it.stmts {
|
||||||
g.stmt(stmt)
|
g.stmt(stmt)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue