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

fixed indentation on multiline condition

This commit is contained in:
Henrixounez 2019-06-25 15:29:54 +02:00 committed by Alex Medvednikov
parent 663cbadf60
commit 8f6ca60876

View File

@ -1024,7 +1024,7 @@ fn (p mut Parser) assign_statement(v Var, ph int, is_map bool) {
default:
if tok != MINUS_ASSIGN && tok != MULT_ASSIGN && tok != XOR_ASSIGN
&& tok != MOD_ASSIGN && tok != AND_ASSIGN && tok != OR_ASSIGN
&& tok != RIGHT_SHIFT_ASSIGN && tok != LEFT_SHIFT_ASSIGN && tok != DIV_ASSIGN {
&& tok != RIGHT_SHIFT_ASSIGN && tok != LEFT_SHIFT_ASSIGN tok != DIV_ASSIGN {
p.gen(' ' + p.tok.str() + ' ')
}
}