cgen: remove redundant spaces in generated C
parent
5247d5924e
commit
bcb9d90abb
|
@ -972,7 +972,7 @@ fn (g mut Gen) expr(node ast.Expr) {
|
||||||
} else {
|
} else {
|
||||||
len := it.exprs.len
|
len := it.exprs.len
|
||||||
g.write('new_array_from_c_array($len, $len, sizeof($elem_type_str), ')
|
g.write('new_array_from_c_array($len, $len, sizeof($elem_type_str), ')
|
||||||
g.writeln('($elem_type_str[$len]){\t')
|
g.write('($elem_type_str[$len]){\n\t\t')
|
||||||
for expr in it.exprs {
|
for expr in it.exprs {
|
||||||
g.expr(expr)
|
g.expr(expr)
|
||||||
g.write(', ')
|
g.write(', ')
|
||||||
|
|
Loading…
Reference in New Issue