summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-07-09 00:28:19 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-07-09 00:28:19 +0200
commit8bc7b2f0318db2cc0f00a90e52604169086ed66f (patch)
treeebac524eaefb61cf5aa95caf73c4197a5f85cd5f
parent4d31db6c00833898828c90d100c7dde4a016e233 (diff)
downloadbxgen-8bc7b2f0318db2cc0f00a90e52604169086ed66f.zip
Update symbol table decoding
-rwxr-xr-xbxgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bxgen.c b/bxgen.c
index e533ba8..855a59c 100755
--- a/bxgen.c
+++ b/bxgen.c
@@ -774,7 +774,7 @@ void unit_write(Pool *pool, i64 unit, u16 target, i64 io_out, void *io_user_data
u32 static offsets[10000] = { 0 };
c8 static symbols[10000][256] = { 0 };
b8 static found[10000] = { 0 };
- i64 num_symbols = 1;
+ i64 num_symbols = 0;
for (;;) {
c8 id[17] = { 0 };