summaryrefslogtreecommitdiff
path: root/src/ParseAll.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ParseAll.java')
-rw-r--r--src/ParseAll.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ParseAll.java b/src/ParseAll.java
index 06b99ad..091a2f4 100644
--- a/src/ParseAll.java
+++ b/src/ParseAll.java
@@ -35,7 +35,7 @@ public class ParseAll {
Python3Parser.RootContext tree = parser.root();
String treeStr = tree.toStringTree();
- Python3VisitorImpl visitor = new Python3VisitorImpl();
+ Python3VisitorImpl visitor = new Python3VisitorImpl(tokenStream, false);
SymbolTable ST = new SymbolTable();
Node ast = visitor.visit(tree);
ArrayList<SemanticError> errorsWithDup = ast.checkSemantics(ST, 0, null);