Skip to content

Commit 893c5a5

Browse files
authored
Merge pull request #1 from udaysingh236/udaysingh236-patch-1
Update lexer.ts with correct func exp values
2 parents 6eb5ef2 + 56e5c1e commit 893c5a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/lexer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export const queryFuncLexer: Record<string, (funcArgs: string) => IOdataFilterTo
240240
trim: function (funcArgs) {
241241
return {
242242
tokenType: 'queryFuncExp',
243-
subType: 'trim FuncExp',
243+
subType: 'trimFuncExp',
244244
value: 'trim',
245245
funcArgs: funcArgs,
246246
};
@@ -264,7 +264,7 @@ export const queryFuncLexer: Record<string, (funcArgs: string) => IOdataFilterTo
264264
fractionalseconds: function (funcArgs) {
265265
return {
266266
tokenType: 'queryFuncExp',
267-
subType: 'fractionalsecondsExp',
267+
subType: 'fractionalsecondsFuncExp',
268268
value: 'fractionalseconds',
269269
funcArgs: funcArgs,
270270
};

0 commit comments

Comments
 (0)