From 8f6ca60876b3be552899ccd3ecea6fe84d625722 Mon Sep 17 00:00:00 2001 From: Henrixounez Date: Tue, 25 Jun 2019 15:29:54 +0200 Subject: [PATCH] fixed indentation on multiline condition --- compiler/parser.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/parser.v b/compiler/parser.v index 99f0531777..8933692d9d 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -1022,9 +1022,9 @@ fn (p mut Parser) assign_statement(v Var, ph int, is_map bool) { p.gen(' += ') } 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 { + 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 { p.gen(' ' + p.tok.str() + ' ') } }