]> git.xolatile.top Git - public-libhl.git/commitdiff
actually initialize token_table
authoranon <anon@anon.anon>
Thu, 24 Aug 2023 17:18:02 +0000 (19:18 +0200)
committeranon <anon@anon.anon>
Thu, 24 Aug 2023 17:18:36 +0000 (19:18 +0200)
source/hl.h

index 89c8fc435b86c00e2027e23b552e5b18d64e5dd3..e1614bce4c44bd02e8f14dfc2f0445d377783293 100644 (file)
@@ -247,6 +247,9 @@ hl_group_t * preprocessor_hl = NULL;
 hl_group_t * symbol_hl = NULL;
 
 int hl_init(void) {
+       vector_init(&token_table,
+                               token_table.element_size,
+                               token_table.element_count);
        return 0;
 }