Skip to content

Commit 5ab618a

Browse files
committed
Enabled error node logging
1 parent f47c498 commit 5ab618a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/project/parser/vbaSyntaxParser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ class VbaListener extends vbaListener {
155155
this.document.registerDiagnosticElement(element);
156156
};
157157

158-
// visitErrorNode(node: ErrorNode) {
159-
// console.log(node.payload);
160-
// }
158+
visitErrorNode(node: ErrorNode) {
159+
console.log(node.getPayload());
160+
}
161161

162162
// enterAttributeStmt = (ctx: AttributeStmtContext) => {
163163
// this.document.activeAttributeElement?.processAttribute(ctx);

0 commit comments

Comments
 (0)