From: anon Date: Thu, 24 Aug 2023 17:18:02 +0000 (+0200) Subject: actually initialize token_table X-Git-Url: https://git.xolatile.top/?a=commitdiff_plain;h=b1c912689fb9dd71ae2d83ea41e70812d10413e8;p=public-libhl.git actually initialize token_table --- diff --git a/source/hl.h b/source/hl.h index 89c8fc4..e1614bc 100644 --- a/source/hl.h +++ b/source/hl.h @@ -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; }