# HG changeset patch # User Paul Boddie # Date 1480282908 -3600 # Node ID c3ad549fbda3bc84265895175e768b2e039c800c # Parent 6b44937af5fa33653ad895a96e54688a24839602 Fixed attribute access instructions employing known, static accessors. diff -r 6b44937af5fa -r c3ad549fbda3 encoders.py --- a/encoders.py Sun Nov 27 22:40:49 2016 +0100 +++ b/encoders.py Sun Nov 27 22:41:48 2016 +0100 @@ -266,6 +266,11 @@ elif subs.has_key(arg): return subs.get(arg) + # Convert static references to the appropriate type. + + elif op and op in reference_acting_ops and arg != "": + return "&%s" % encode_path(arg) + # Other values may need encoding. else: