Skip to content

Commit

Permalink
Merge pull request #286 from KxSystems/KXI-43704
Browse files Browse the repository at this point in the history
KXI-43704: Symbol Literal should account for forward slashes
  • Loading branch information
ecmel authored May 5, 2024
2 parents 989dfbd + 72ccf01 commit 51f5e4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/parser/literals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const CharLiteral = createToken({

export const SymbolLiteral = createToken({
name: "SymbolLiteral",
pattern: /`[.:\w]*/,
pattern: /`[/.:\w]*/,
});

export const DateTimeLiteral = createToken({
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/q.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"patterns": [
{
"name": "support.type.symbol.q",
"match": "`[.:\\w]*"
"match": "`[/.:\\w]*"
},
{
"name": "constant.numeric.datetime.q",
Expand Down

0 comments on commit 51f5e4d

Please sign in to comment.