diff options
Diffstat (limited to 'jsongen.py.in')
-rw-r--r-- | jsongen.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsongen.py.in b/jsongen.py.in index 4475d283..ef2e639b 100644 --- a/jsongen.py.in +++ b/jsongen.py.in @@ -756,7 +756,7 @@ def generate(spec): report += '\t' + header + "\n" for (attr, itype, default) in spec["fieldmap"]: if itype == 'array': - (innerstruct, lengthfield, elements) = default; + (innerstruct, lengthfield, elements) = default report += '\t{"%s",%st_array, STRUCTARRAY(%s.%s, %s_%s_subtype, &%s.%s)},\n' \ % (attr, " "*(14-len(attr)), structname, attr, initname, attr, structname, lengthfield) else: |