mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: else, for in
This commit is contained in:
@ -2556,7 +2556,9 @@ fn (p mut Parser) assoc() string {
|
||||
p.check_types(p.bool_expression(), f.typ)
|
||||
p.gen(',')
|
||||
if p.tok != .rcbr {
|
||||
p.check(.comma)
|
||||
if p.tok == .comma {
|
||||
p.check(.comma)
|
||||
}
|
||||
}
|
||||
p.fgen_nl()
|
||||
}
|
||||
|
Reference in New Issue
Block a user