Fixed long field name

This commit is contained in:
pca006132 2020-07-29 14:50:42 +08:00
parent 5711e584eb
commit 5672da9988
1 changed files with 1 additions and 1 deletions

View File

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