Commit beac33b0 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk

Dumper: Add square brackets to base classes

Change-Id: Ia3655a4d11f2a2393959139071ec2696fdde22a5
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent f8499fd4
......@@ -1795,7 +1795,7 @@ class Dumper:
baseNumber += 1
with UnnamedSubItem(self, "@%d" % baseNumber):
self.put('iname="%s",' % self.currentIName)
self.put('name="%s",' % field.name)
self.put('name="[%s]",' % field.name)
self.putItem(value.cast(field.type), False)
elif len(field.name) == 0:
# Anonymous union. We need a dummy name to distinguish
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment