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 ] @punctuation.delimiter

View file

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