# HG changeset patch # User lbessard # Date 1169740191 -3600 # Node ID f36f09f08b623881b292cb113383dd3bcc5bcc09 # Parent c5495b101f57e338417b2025426479dd488c30d1 Bug corrected on gen_cfile diff -r c5495b101f57 -r f36f09f08b62 objdictgen/gen_cfile.py --- a/objdictgen/gen_cfile.py Mon Jan 22 12:06:29 2007 +0100 +++ b/objdictgen/gen_cfile.py Thu Jan 25 16:49:51 2007 +0100 @@ -293,7 +293,7 @@ name = "%s_obj%04X[%d]"%(texts["NodeName"], texts["index"], subIndex - 1) else: if index in variablelist: - name = FormatName(subentry_infos["name"]) + name = FormatName("%s_%s"%(entry_infos["name"],subentry_infos["name"])) else: name = "%s_obj%04X_%s"%(texts["NodeName"], texts["index"], FormatName(subentry_infos["name"])) if subIndexType == "visible_string":