summaryrefslogtreecommitdiff
path: root/src/ast/nodes/CompNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/CompNode.java')
-rw-r--r--src/ast/nodes/CompNode.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/nodes/CompNode.java b/src/ast/nodes/CompNode.java
index 33976bf..f167bf9 100644
--- a/src/ast/nodes/CompNode.java
+++ b/src/ast/nodes/CompNode.java
@@ -11,6 +11,7 @@ import org.antlr.v4.runtime.tree.TerminalNode;
* Node for the `comp_op` statement of the grammar.
*/
public class CompNode implements Node {
+
private TerminalNode op;
public CompNode(TerminalNode op) {
@@ -19,6 +20,7 @@ public class CompNode implements Node {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
+ System.out.println("Comp node");
return new ArrayList<SemanticError>();
}