fixed indentation on multiline condition

pull/1049/head
Henrixounez 2019-06-25 15:29:54 +02:00 committed by Alex Medvednikov
parent 663cbadf60
commit 8f6ca60876
1 changed files with 3 additions and 3 deletions

View File

@ -1022,9 +1022,9 @@ fn (p mut Parser) assign_statement(v Var, ph int, is_map bool) {
p.gen(' += ') p.gen(' += ')
} }
default: default:
if tok != MINUS_ASSIGN && tok != MULT_ASSIGN && tok != XOR_ASSIGN if tok != MINUS_ASSIGN && tok != MULT_ASSIGN && tok != XOR_ASSIGN
&& tok != MOD_ASSIGN && tok != AND_ASSIGN && tok != OR_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() + ' ') p.gen(' ' + p.tok.str() + ' ')
} }
} }