Skip to content

Commit 056b415

Browse files
committed
Revert "fixed indentation on multiline condition"
This reverts commit 8f6ca60.
1 parent 8f6ca60 commit 056b415

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/parser.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,9 +1022,9 @@ fn (p mut Parser) assign_statement(v Var, ph int, is_map bool) {
10221022
p.gen(' += ')
10231023
}
10241024
default:
1025-
if tok != MINUS_ASSIGN && tok != MULT_ASSIGN && tok != XOR_ASSIGN
1026-
&& tok != MOD_ASSIGN && tok != AND_ASSIGN && tok != OR_ASSIGN
1027-
&& tok != RIGHT_SHIFT_ASSIGN && tok != LEFT_SHIFT_ASSIGN tok != DIV_ASSIGN {
1025+
if tok != MINUS_ASSIGN && tok != MULT_ASSIGN && tok != XOR_ASSIGN
1026+
&& tok != MOD_ASSIGN && tok != AND_ASSIGN && tok != OR_ASSIGN
1027+
&& tok != RIGHT_SHIFT_ASSIGN && tok != LEFT_SHIFT_ASSIGN && tok != DIV_ASSIGN {
10281028
p.gen(' ' + p.tok.str() + ' ')
10291029
}
10301030
}

0 commit comments

Comments
 (0)