File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -4359,10 +4359,6 @@ fn (mut g Gen) global_decl(node ast.GlobalDecl) {
43594359 }
43604360}
43614361
4362- fn (mut g Gen) go_back_out (n int ) {
4363- g.out.go_back (n)
4364- }
4365-
43664362fn (mut g Gen) assoc (node ast.Assoc) {
43674363 g.writeln ('// assoc' )
43684364 if node.typ == 0 {
Original file line number Diff line number Diff line change @@ -5,16 +5,14 @@ module c
55
66import v.ast
77
8- const (
9- skip_struct_init = ['struct stat' , 'struct addrinfo' ]
10- )
8+ const skip_struct_init = ['struct stat' , 'struct addrinfo' ]
119
1210fn (mut g Gen) struct_init (node ast.StructInit) {
1311 styp := g.typ (node.typ)
1412 mut shared_styp := '' // only needed for shared x := St{...
1513 if styp in c.skip_struct_init {
1614 // needed for c++ compilers
17- g.go_back_out (3 )
15+ g.out. go_back (3 )
1816 return
1917 }
2018 mut sym := g.table.final_sym (g.unwrap_generic (node.typ))
You can’t perform that action at this time.
0 commit comments