summaryrefslogtreecommitdiff
path: root/src/ast/nodes/DottedNameNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/nodes/DottedNameNode.java')
-rw-r--r--src/ast/nodes/DottedNameNode.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ast/nodes/DottedNameNode.java b/src/ast/nodes/DottedNameNode.java
index 2698b1c..827945a 100644
--- a/src/ast/nodes/DottedNameNode.java
+++ b/src/ast/nodes/DottedNameNode.java
@@ -19,7 +19,7 @@ public class DottedNameNode implements Node {
}
@Override
- public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting) {
+ public ArrayList<SemanticError> checkSemantics(SymbolTable ST, int _nesting, FunctionType ft) {
ArrayList<SemanticError> errors = new ArrayList<>();
for (int i = 0; i < names.size(); ++i) {
@@ -34,8 +34,10 @@ public class DottedNameNode implements Node {
return new ImportType();
}
- // NOTE: we do not provide code generation for this node in the same way
- // we do not want to do this for the import stm.
+ /**
+ * We do not provide code generation for this node in the same way
+ * we do not want to do this for the import stm.
+ */
@Override
public String codeGeneration() {
return "";