Add ':' as delimiter

This commit is contained in:
Bruno BELANYI 2022-06-03 11:43:43 +02:00
parent 0b17386cad
commit 558e45aeed
2 changed files with 44 additions and 37 deletions

View file

@ -41,6 +41,7 @@
[
","
";"
":"
"."
] @punctuation.delimiter

View file

@ -1,42 +1,48 @@
(
/* <- punctuation.bracket */
-1 | 2 & 3 + 4 * 5;
/* <- operator */
/* ^ operator */
/* ^ operator */
/* ^ operator */
/* ^ operator */
/* ^ punctuation.delimiter */
12 >= 27;
/* ^ operator */
12 <= 27;
/* ^ operator */
12 = 27;
/* ^ operator */
12 <> 27;
/* ^ operator */
12 < 27;
/* ^ operator */
12 > 27;
/* ^ operator */
record.field;
let
var a : int := 42
/* ^ punctuation.delimiter */
/* ^ operator */
in
(
/* <- punctuation.bracket */
func(a, b);
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
/* ^ punctuation.delimiter */
-1 | 2 & 3 + 4 * 5;
/* <- operator */
/* ^ operator */
/* ^ operator */
/* ^ operator */
/* ^ operator */
/* ^ punctuation.delimiter */
record_type { };
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
12 >= 27;
/* ^ operator */
12 <= 27;
/* ^ operator */
12 = 27;
/* ^ operator */
12 <> 27;
/* ^ operator */
12 < 27;
/* ^ operator */
12 > 27;
/* ^ operator */
array[42]
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
record.field;
/* ^ punctuation.delimiter */
)
/* <- punctuation.bracket */
func(a, b);
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
/* ^ punctuation.delimiter */
record_type { };
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
array[42]
/* ^ punctuation.bracket */
/* ^ punctuation.bracket */
)
/* <- punctuation.bracket */
end