1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vfmt: fix in, |, or {}

This commit is contained in:
Alexander Medvednikov
2019-12-18 07:52:14 +03:00
parent 3d1db3519d
commit 02939d776b
4 changed files with 30 additions and 22 deletions

View File

@ -37,6 +37,7 @@ fn (p mut Parser) in_optimization(typ string, ph int) {
}
if p.tok != .rsbr {
p.check(.comma)
p.fspace()
}
i++
}