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

ci: vfmt vlib/v/gen/c/cgen.v

This commit is contained in:
Delyan Angelov 2021-09-29 08:58:27 +03:00
parent 8dde9d4a7b
commit 24c1d552d7
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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()