Don't forget to also clone during intermediate format native creation.

This commit is contained in:
Mike Auty
2016-12-18 19:25:27 +00:00
parent 09ee0e6258
commit a8b4db3ee3
+1
View File
@@ -204,6 +204,7 @@ class Version1Format(ISFormatTable):
elif type_name == 'bitfield':
update = {'start_bit': dictionary['bit_position'], 'end_bit': dictionary['bit_length']}
update['base_type'] = self._interdict_to_template(dictionary['type'])
native_template = native_template.clone()
native_template.update_vol(**update)
return native_template