mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: format generated struct definition c codes (#10074)
This commit is contained in:
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
Block a user