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 f2d8fd8 commit 2982e87Copy full SHA for 2982e87
server/src/utils/vbaSyntaxParser.ts
@@ -111,6 +111,8 @@ class VbaTreeWalkListener implements vbaListener {
111
const declaration = new VariableStatementElement(ctx, this.doc);
112
this.resultsContainer.addElement(declaration);
113
declaration.variableList.forEach((v) => this.resultsContainer.addScopeDeclaration(v));
114
+ const vars = declaration.variableList;
115
+ vars.forEach((x) => this.resultsContainer.addElement(x));
116
}
117
118
enterImplicitCallStmt_InStmt = (ctx: ImplicitCallStmt_InStmtContext) => this.enterImplicitCallStmt(ctx);
0 commit comments