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