diff options
author | geno <gabriele.genovese2@studio.unibo.it> | 2024-06-26 18:23:05 +0200 |
---|---|---|
committer | geno <gabriele.genovese2@studio.unibo.it> | 2024-06-26 18:23:05 +0200 |
commit | fb89b8c0885ee4e289cfb577bbabf0ee66b05024 (patch) | |
tree | 6c7bdc2349a22ee5b8c8cbb1c077832d4582ff3b /src/ast | |
parent | 06671f5aed68753435a762bc3be43e83094156d1 (diff) |
test dir added, fix bug in ExprNode (added by myself obv)
Diffstat (limited to 'src/ast')
-rw-r--r-- | src/ast/nodes/ExprNode.java | 2 |
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) { |