diff --git a/Q1/Artefacts/RobotLangVisitorUser.py b/Q1/Artefacts/RobotLangVisitorUser.py index 0b3b239..608ec7d 100644 --- a/Q1/Artefacts/RobotLangVisitorUser.py +++ b/Q1/Artefacts/RobotLangVisitorUser.py @@ -1,8 +1,4 @@ -from antlr4 import * -if "." in __name__: - from .RobotLangParser import RobotLangParser -else: - from RobotLangParser import RobotLangParser +from RobotLangVisitor import RobotLangVisitor class RobotLangVisitorUser(RobotLangVisitor): def __init__(self, student_id="2320390"): @@ -37,7 +33,4 @@ class RobotLangVisitorUser(RobotLangVisitor): # Visit all statements inside the repeat block for stat_ctx in ctx.stat(): self.visit(stat_ctx) - return None - - -del RobotLangParser \ No newline at end of file + return None \ No newline at end of file diff --git a/Q1/Q1.docx b/Q1/Q1.docx index ad02b1a..f041ffb 100644 Binary files a/Q1/Q1.docx and b/Q1/Q1.docx differ