summaryrefslogtreecommitdiff
path: root/src/ast/nodes/SimpleStmtsNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/SimpleStmtsNode.java')
-rw-r--r--src/ast/nodes/SimpleStmtsNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/SimpleStmtsNode.java b/src/ast/nodes/SimpleStmtsNode.java
index ae1044b..5377c5d 100644
--- a/src/ast/nodes/SimpleStmtsNode.java
+++ b/src/ast/nodes/SimpleStmtsNode.java
@@ -18,7 +18,7 @@ public class SimpleStmtsNode implements Node {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
- ArrayList<SemanticError> errors = new ArrayList();
+ ArrayList<SemanticError> errors = new ArrayList<>();
for (Node stmt : stmts) {
errors.addAll(stmt.checkSemantics(ST, _nesting));