Commit 8d5a85d6 authored by Henning Glawe's avatar Henning Glawe
Browse files

set 'repeats' flag in autogenerated nomadmetainfo for array declarations

parent ba18d6fb
...@@ -357,6 +357,8 @@ class AST_declaration(AST_node): ...@@ -357,6 +357,8 @@ class AST_declaration(AST_node):
' "name": "%s",\n' + ' "name": "%s",\n' +
' "superNames": [ "%s" ],\n' ' "superNames": [ "%s" ],\n'
) % (thisname, thisname, namespace)) ) % (thisname, thisname, namespace))
if self.child[0] is not None:
output_file.write(' "repeats": true,\n')
if kindStr is not None: if kindStr is not None:
output_file.write(' "kindStr": "%s"\n' % (kindStr)) output_file.write(' "kindStr": "%s"\n' % (kindStr))
elif dtypeStr is not None: elif dtypeStr is not None:
......
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