summaryrefslogtreecommitdiff
path: root/src/ast/nodes/ParamdefNode.java
diff options
context:
space:
mode:
authorgeno <gabriele.genovese2@studio.unibo.it>2024-06-30 13:36:37 +0200
committergeno <gabriele.genovese2@studio.unibo.it>2024-06-30 13:36:37 +0200
commitafff6a80cd58f7787efa1398f7c8cbdce8989323 (patch)
treee6021201d6e7049da640687c7ce61c898aaea4d8 /src/ast/nodes/ParamdefNode.java
parentaaa97e2e41c0aa17a6f99099dd39bb73a935fe02 (diff)
fixed warnings, better formatting, final added where possible
Diffstat (limited to 'src/ast/nodes/ParamdefNode.java')
-rw-r--r--src/ast/nodes/ParamdefNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/nodes/ParamdefNode.java b/src/ast/nodes/ParamdefNode.java
index adadf72..6cdb2d0 100644
--- a/src/ast/nodes/ParamdefNode.java
+++ b/src/ast/nodes/ParamdefNode.java
@@ -17,7 +17,7 @@ public class ParamdefNode extends AtomNode {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
- var errors = new ArrayList<SemanticError>();
+ var errors = new ArrayList();
String paramName = this.getId();
if (!ST.top_lookup(paramName)) {