diff --git a/src/build.js b/src/build.js index f858961..029355b 100644 --- a/src/build.js +++ b/src/build.js @@ -59,14 +59,11 @@ function build(ctx) { function buildEntryTables(ctx) { - const codes_hashMaps = []; - const codes_componentEntries = []; const definedHashMaps = {}; for (let i=0; i0 ? " ," : " "; - const sizeName = ctx.addSizes(entry.sizes); - - const ty = entry.type == "S" ? "_typeSignal" : "_typeComponent"; - code += `{${entry.offset},${sizeName}, ${ty}}\n`; - } - code += "};\n"; - codes_componentEntries.push(code); - ctx.components[i].htName = htName; ctx.components[i].etName = componentEntriesTableName; } - return [ - "// HashMaps\n" , - codes_hashMaps , "\n" , - "\n" , - "// Component Entries\n" , - codes_componentEntries , "\n" , - "\n" - ]; + return; function addHashTable(cIdx) { const keys = Object.keys(ctx.components[cIdx].names.o);