Skip to content

Commit 5416584

Browse files
committed
context keys: parser: minor
1 parent 8557932 commit 5416584

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/vs/platform/contextkey/common/contextkey.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,7 @@ export class Parser {
336336
return undefined;
337337
}
338338

339-
this._scanner.reset(input);
340-
341-
this._tokens = this._scanner.scan();
342-
339+
this._tokens = this._scanner.reset(input).scan();
343340
if (this._scanner.errorTokens.length > 0) {
344341
return undefined;
345342
}

0 commit comments

Comments
 (0)