Skip to content

Commit

Permalink
fixed #445
Browse files Browse the repository at this point in the history
  • Loading branch information
thqby committed Nov 29, 2023
1 parent 148ceb2 commit 73b384e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/Lexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3324,7 +3324,7 @@ export class Lexer {
else if (tk.type === 'TK_OPERATOR') {
if (allIdentifierChar.test(tk.content) && (input[tk.offset - 1] === '%' || input[tk.offset + tk.length] === '%')) {
next = false, tk.type = 'TK_WORD', tk.semantic = { type: SemanticTokenTypes.variable };
break;
continue;
}
tpexp += ' ' + tk.content;
if (tk.content === ':') {
Expand Down

0 comments on commit 73b384e

Please sign in to comment.