diff options
Diffstat (limited to 'src/ast/nodes/BlockNode.java')
-rw-r--r-- | src/ast/nodes/BlockNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/BlockNode.java b/src/ast/nodes/BlockNode.java index d9a151d..732e89b 100644 --- a/src/ast/nodes/BlockNode.java +++ b/src/ast/nodes/BlockNode.java @@ -16,7 +16,7 @@ public class BlockNode extends RootNode { @Override public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) { - ArrayList<SemanticError> errors = new ArrayList(); + ArrayList<SemanticError> errors = new ArrayList<>(); // Check semantics for each child for (Node child : childs) { |