mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
run vfmt on scanner.v
This commit is contained in:
@ -315,6 +315,7 @@ fn (p mut Parser) struct_init(typ string) string {
|
||||
p.check_types(p.bool_expression(), f.typ)
|
||||
if p.tok == .comma {
|
||||
p.next()
|
||||
p.fremove_last()
|
||||
}
|
||||
if p.tok != .rcbr {
|
||||
p.gen(',')
|
||||
|
Reference in New Issue
Block a user