diff options
Diffstat (limited to 'src/ast/nodes/ForStmtNode.java')
-rw-r--r-- | src/ast/nodes/ForStmtNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/ForStmtNode.java b/src/ast/nodes/ForStmtNode.java index 74c6ffc..50574f0 100644 --- a/src/ast/nodes/ForStmtNode.java +++ b/src/ast/nodes/ForStmtNode.java @@ -34,7 +34,7 @@ public class ForStmtNode implements Node { */ @Override public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) { - ArrayList<SemanticError> errors = new ArrayList(); + ArrayList<SemanticError> errors = new ArrayList<>(); // Save every atom in the expression's list, except the last one var l = (ExprListNode) exprList; |