Fixed long field name

This commit is contained in:
pca006132 2020-07-29 14:50:42 +08:00
parent 5711e584eb
commit 5672da9988

View File

@ -129,7 +129,7 @@ def interpret_field(field):
if m.group(3) is not None:
low = int(m.group(3))
result = {}
result['name'] = field['name'][0].strip()
result['name'] = ''.join(field['name']).strip()
result['bits'] = [low, high]
result['access'] = field['access'][0].strip()
return result