summaryrefslogtreecommitdiff
path: root/src/ast/nodes/CompIterNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/CompIterNode.java')
-rw-r--r--src/ast/nodes/CompIterNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/CompIterNode.java b/src/ast/nodes/CompIterNode.java
index 8de9f2f..1cc8a9b 100644
--- a/src/ast/nodes/CompIterNode.java
+++ b/src/ast/nodes/CompIterNode.java
@@ -19,7 +19,7 @@ public class CompIterNode implements Node {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
- ArrayList<SemanticError> errors = new ArrayList();
+ ArrayList<SemanticError> errors = new ArrayList<>();
if (comp_for != null) {
errors.addAll(comp_for.checkSemantics(ST, _nesting));