diff -r 7ca3924be865 -r 95e0b926a8c3 svghmi/svghmi.py --- a/svghmi/svghmi.py Thu Dec 16 08:32:58 2021 +0100 +++ b/svghmi/svghmi.py Thu Dec 23 11:36:37 2021 +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: