1.1 --- a/transresults.py Mon Mar 06 22:29:36 2017 +0100
1.2 +++ b/transresults.py Tue Mar 07 00:28:18 2017 +0100
1.3 @@ -63,9 +63,8 @@
1.4
1.5 "A reference to a name in the translation."
1.6
1.7 - def __init__(self, name, ref, expr=None, is_global=False, parameter=None, location=None):
1.8 + def __init__(self, name, ref, expr=None, is_global=False, location=None):
1.9 ResolvedNameRef.__init__(self, name, ref, expr, is_global)
1.10 - self.parameter = parameter
1.11 self.location = location
1.12
1.13 def access_location(self):
1.14 @@ -107,7 +106,7 @@
1.15 # All other assignments involve the names as they were given.
1.16
1.17 else:
1.18 - return "(%s%s) = %s" % (self.parameter and "*" or "", attrname, self.expr)
1.19 + return "%s = %s" % (attrname, self.expr)
1.20
1.21 # Expressions.
1.22
1.23 @@ -125,7 +124,7 @@
1.24 # All other accesses involve the names as they were given.
1.25
1.26 else:
1.27 - return "(%s%s)" % (self.parameter and "*" or "", attrname)
1.28 + return "(%s)" % attrname
1.29
1.30 class TrConstantValueRef(ConstantValueRef):
1.31