summaryrefslogtreecommitdiff
path: root/src/ast/nodes/SimpleStmtNode.java
diff options
context:
space:
mode:
authorgeno <gabriele.genovese2@studio.unibo.it>2024-06-26 14:53:05 +0200
committergeno <gabriele.genovese2@studio.unibo.it>2024-06-26 14:53:05 +0200
commit06671f5aed68753435a762bc3be43e83094156d1 (patch)
tree56f251596cf57f6f13a7921e7dad6e795989329d /src/ast/nodes/SimpleStmtNode.java
parente09358f3648445bbf9747f40497af6221d933a99 (diff)
exercise 1 completed
1.b now works 1.c implened error for "function takes N positional arguments but M were given"
Diffstat (limited to 'src/ast/nodes/SimpleStmtNode.java')
-rw-r--r--src/ast/nodes/SimpleStmtNode.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ast/nodes/SimpleStmtNode.java b/src/ast/nodes/SimpleStmtNode.java
index 5f844cb..b7e5455 100644
--- a/src/ast/nodes/SimpleStmtNode.java
+++ b/src/ast/nodes/SimpleStmtNode.java
@@ -1,10 +1,9 @@
package ast.nodes;
+import ast.types.*;
import java.util.ArrayList;
-
import semanticanalysis.SemanticError;
import semanticanalysis.SymbolTable;
-import ast.types.*;
/**
* Node for the `simple_stmt` statement of the grammar.