summaryrefslogtreecommitdiff
path: root/src/ast/nodes/CompForNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/CompForNode.java')
-rw-r--r--src/ast/nodes/CompForNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/CompForNode.java b/src/ast/nodes/CompForNode.java
index 06c7aee..b7c6924 100644
--- a/src/ast/nodes/CompForNode.java
+++ b/src/ast/nodes/CompForNode.java
@@ -23,7 +23,7 @@ public class CompForNode implements Node {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
- ArrayList<SemanticError> errors = new ArrayList<SemanticError>();
+ ArrayList<SemanticError> errors = new ArrayList();
errors.addAll(exprlist.checkSemantics(ST, _nesting));
errors.addAll(single_expr.checkSemantics(ST, _nesting));