We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef18353 commit 47d46f5Copy full SHA for 47d46f5
server/src/utils/vbaSyntaxParser.ts
@@ -100,8 +100,6 @@ class VbaTreeWalkListener implements vbaListener {
100
const declaration = new VariableStatementElement(ctx, this.doc);
101
this.resultsContainer.addElement(declaration);
102
declaration.variableList.forEach((v) => this.resultsContainer.addScopeDeclaration(v));
103
- const vars = declaration.variableList;
104
- vars.forEach((x) => this.resultsContainer.addElement(x));
105
}
106
107
enterImplicitCallStmt_InStmt = (ctx: ImplicitCallStmt_InStmtContext) => this.enterImplicitCallStmt(ctx);
0 commit comments