Skip to content

Commit 70f0825

Browse files
committed
Colon endOfStatement now consumes new line if available
1 parent cfde154 commit 70f0825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/antlr/vbafmt.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ comment
220220
;
221221

222222
colonEnding
223-
: COLON
223+
: COLON ws? NEWLINE?
224224
;
225225

226226
lineEnding

0 commit comments

Comments
 (0)