summaryrefslogtreecommitdiff
path: root/src/ast/nodes/TrailerNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/TrailerNode.java')
-rw-r--r--src/ast/nodes/TrailerNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/TrailerNode.java b/src/ast/nodes/TrailerNode.java
index aaa72f3..d8301b8 100644
--- a/src/ast/nodes/TrailerNode.java
+++ b/src/ast/nodes/TrailerNode.java
@@ -29,7 +29,7 @@ public class TrailerNode implements Node {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
- ArrayList<SemanticError> errors = new ArrayList();
+ ArrayList<SemanticError> errors = new ArrayList<>();
if (arglist != null) {
errors.addAll(arglist.checkSemantics(ST, _nesting));