2016-11-27 | Paul Boddie | raw files shortlog changelog graph | Fixed attribute access instructions employing known, static accessors. | |
encoders.py (file) |
1.1 --- a/encoders.py Sun Nov 27 22:40:49 2016 +0100 1.2 +++ b/encoders.py Sun Nov 27 22:41:48 2016 +0100 1.3 @@ -266,6 +266,11 @@ 1.4 elif subs.has_key(arg): 1.5 return subs.get(arg) 1.6 1.7 + # Convert static references to the appropriate type. 1.8 + 1.9 + elif op and op in reference_acting_ops and arg != "<accessor>": 1.10 + return "&%s" % encode_path(arg) 1.11 + 1.12 # Other values may need encoding. 1.13 1.14 else: