author | lbessard |
Thu, 28 Aug 2008 15:08:19 +0200 | |
changeset 515 | 62b6520332e9 |
parent 514 | 5ecc8f8090cb |
child 516 | 19085e93ad21 |
--- a/objdictgen/gen_cfile.py Thu Aug 28 14:55:32 2008 +0200 +++ b/objdictgen/gen_cfile.py Thu Aug 28 15:08:19 2008 +0200 @@ -183,7 +183,7 @@ strIndex += "\n/* index 0x%(index)04X : %(EntryName)s. */\n"%texts # Entry type is VAR - if isinstance(values, ListType): + if not isinstance(values, ListType): subentry_infos = Node.GetSubentryInfos(index, 0) typename = Node.GetTypeName(subentry_infos["type"]) typeinfos = GetValidTypeInfos(typename, [values])