diff options
Diffstat (limited to 'src/ast/nodes/SimpleStmtNode.java')
-rw-r--r-- | src/ast/nodes/SimpleStmtNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/SimpleStmtNode.java b/src/ast/nodes/SimpleStmtNode.java index b2bc880..fbeeb1b 100644 --- a/src/ast/nodes/SimpleStmtNode.java +++ b/src/ast/nodes/SimpleStmtNode.java @@ -24,7 +24,7 @@ public class SimpleStmtNode implements Node { @Override public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) { - ArrayList<SemanticError> errors = new ArrayList(); + ArrayList<SemanticError> errors = new ArrayList<>(); if (assignment != null) { errors.addAll(assignment.checkSemantics(ST, _nesting)); |