parent
8dde9d4a7b
commit
24c1d552d7
|
@ -2054,7 +2054,7 @@ fn (mut g Gen) for_in_stmt(node ast.ForInStmt) {
|
|||
g.writeln(';')
|
||||
if node.key_var in ['', '_'] {
|
||||
g.writeln('while (1) {')
|
||||
} else {
|
||||
} else {
|
||||
g.writeln('for (size_t $node.key_var = 0;; ++$node.key_var) {')
|
||||
}
|
||||
t_var := g.new_tmp_var()
|
||||
|
|
Loading…
Reference in New Issue