summaryrefslogtreecommitdiff
path: root/src/ast/nodes/ExprNode.java
diff options
context:
space:
mode:
authorgeno <gabriele.genovese2@studio.unibo.it>2024-06-26 18:23:05 +0200
committergeno <gabriele.genovese2@studio.unibo.it>2024-06-26 18:23:05 +0200
commitfb89b8c0885ee4e289cfb577bbabf0ee66b05024 (patch)
tree6c7bdc2349a22ee5b8c8cbb1c077832d4582ff3b /src/ast/nodes/ExprNode.java
parent06671f5aed68753435a762bc3be43e83094156d1 (diff)
test dir added, fix bug in ExprNode (added by myself obv)
Diffstat (limited to 'src/ast/nodes/ExprNode.java')
-rw-r--r--src/ast/nodes/ExprNode.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/nodes/ExprNode.java b/src/ast/nodes/ExprNode.java
index eea69f8..4fbe166 100644
--- a/src/ast/nodes/ExprNode.java
+++ b/src/ast/nodes/ExprNode.java
@@ -132,6 +132,8 @@ public class ExprNode implements Node {
errors.addAll(trailer.checkSemantics(ST, _nesting));
}
}
+ } else if (atom != null) {
+ errors.addAll(atom.checkSemantics(ST, _nesting));
}
if (compOp != null) {