From 07de14e0c9f6b654bc3eea5d42d2ee27c218e52e Mon Sep 17 00:00:00 2001 From: pycsham <shampuiyanchloe@gmail.com> Date: Mon, 13 Apr 2020 03:45:00 -0400 Subject: [PATCH] Fixed a minor issue with fieldAccess. Now passes 53 tests on marmo --- ExprPrimaryNodes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ExprPrimaryNodes.py b/ExprPrimaryNodes.py index 465efb9..043b18b 100644 --- a/ExprPrimaryNodes.py +++ b/ExprPrimaryNodes.py @@ -910,8 +910,7 @@ class FieldAccessNode(ASTNode): return fieldNode = self.ID.prefixLink - label = fieldNode.typeName + "_" + fieldNode.name - self.code = "; Accessing a field :" + label + "\n" + self.code = "; Accessing a field \n" # Evaluating the address of the field we're trying to access if self.primary: self.code += self.addr() -- GitLab