cgen: format generated struct definition c codes (#10074)
parent
19b4504072
commit
dcf4d73c87
|
@ -5577,7 +5577,7 @@ fn (mut g Gen) write_types(types []ast.TypeSymbol) {
|
|||
g.type_definitions.writeln('\t$type_name $field_name;')
|
||||
}
|
||||
} else {
|
||||
g.type_definitions.writeln('EMPTY_STRUCT_DECLARATION;')
|
||||
g.type_definitions.writeln('\tEMPTY_STRUCT_DECLARATION;')
|
||||
}
|
||||
// g.type_definitions.writeln('} $name;\n')
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue