diff -r a65bcbb6af20 -r 3f54a680fe45 svghmi/svghmi.py --- a/svghmi/svghmi.py Tue Nov 30 09:52:42 2021 +0100 +++ b/svghmi/svghmi.py Sun Jan 16 16:57:56 2022 +0100 @@ -191,14 +191,14 @@ if hasattr(node, "iectype"): sz = DebugTypesSize.get(node.iectype, 0) variable_decl_array += [ - "{&(" + node.cpath + "), " + node.iectype + { + "HMITREE_ITEM_INITIALIZER(" + node.cpath + ", " + node.iectype + { "EXT": "_P_ENUM", "IN": "_P_ENUM", "MEM": "_O_ENUM", "OUT": "_O_ENUM", "VAR": "_ENUM" }[node.vartype] + ", " + - str(buf_index) + ", 0, }"] + str(buf_index) + ")"] buf_index += sz item_count += 1 if len(node.path) == 1: