From 72ccf01c4de6fbf0e5d8b5b1feacdef30f72728b Mon Sep 17 00:00:00 2001 From: ecmel Date: Sat, 4 May 2024 12:56:01 +0300 Subject: [PATCH] fixes KXI-43704 --- server/src/parser/literals.ts | 2 +- syntaxes/q.tmLanguage.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/parser/literals.ts b/server/src/parser/literals.ts index 1547ad19..223c7262 100644 --- a/server/src/parser/literals.ts +++ b/server/src/parser/literals.ts @@ -20,7 +20,7 @@ export const CharLiteral = createToken({ export const SymbolLiteral = createToken({ name: "SymbolLiteral", - pattern: /`[.:\w]*/, + pattern: /`[/.:\w]*/, }); export const DateTimeLiteral = createToken({ diff --git a/syntaxes/q.tmLanguage.json b/syntaxes/q.tmLanguage.json index 9f604a48..187b9d12 100644 --- a/syntaxes/q.tmLanguage.json +++ b/syntaxes/q.tmLanguage.json @@ -227,7 +227,7 @@ "patterns": [ { "name": "support.type.symbol.q", - "match": "`[.:\\w]*" + "match": "`[/.:\\w]*" }, { "name": "constant.numeric.datetime.q",