2016-12-07 | Paul Boddie | raw files shortlog changelog graph | Encode type attributes using the original argument from the instruction. | |
encoders.py (file) |
1.1 --- a/encoders.py Wed Dec 07 01:05:36 2016 +0100 1.2 +++ b/encoders.py Wed Dec 07 17:00:12 2016 +0100 1.3 @@ -225,7 +225,7 @@ 1.4 # Convert type name arguments to position and code symbols. 1.5 1.6 elif op in typename_ops: 1.7 - arg = encode_type_attribute(a[1]) 1.8 + arg = encode_type_attribute(args[1]) 1.9 a[1] = encode_symbol("pos", arg) 1.10 a.insert(2, encode_symbol("code", arg)) 1.11