Skip to content

Commit

Permalink
Last cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Motz <[email protected]>
  • Loading branch information
HerrMotz authored and mike-lischke committed Oct 24, 2024
1 parent 07ef0c5 commit c12fea6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/frontend/AntlrDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,12 +403,11 @@ export class AntlrDebugSession extends DebugSession {
const length = args.count ? args.count : this.tokens.length;
for (let i = 0; i < length; ++i) {
const index = start + i;
const variableReference = VarRef.Tokens + index + 1
variables.push({
name: `${index}: ${this.debugger.tokenTypeName(this.tokens[index])}`,
type: "Token",
value: "",
variablesReference: variableReference,
variablesReference: VarRef.Tokens + index + 1,
presentationHint: { kind: "class", attributes: ["readonly"] },
});
}
Expand Down

0 comments on commit c12fea6

Please sign in to comment.