summaryrefslogtreecommitdiff
path: root/src/ast/nodes/AugassignNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/AugassignNode.java')
-rw-r--r--src/ast/nodes/AugassignNode.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ast/nodes/AugassignNode.java b/src/ast/nodes/AugassignNode.java
index 629fbcd..7ced63e 100644
--- a/src/ast/nodes/AugassignNode.java
+++ b/src/ast/nodes/AugassignNode.java
@@ -12,7 +12,8 @@ import org.antlr.v4.runtime.tree.TerminalNode;
* Node for the `augassign` statement of the grammar.
*/
public class AugassignNode implements Node {
- private TerminalNode val;
+
+ private final TerminalNode val;
public AugassignNode(TerminalNode val) {
this.val = val;
@@ -20,7 +21,7 @@ public class AugassignNode implements Node {
@Override
public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
- return new ArrayList<SemanticError>();
+ return new ArrayList();
}
// FIXME: use the right type