From b1c912689fb9dd71ae2d83ea41e70812d10413e8 Mon Sep 17 00:00:00 2001 From: anon Date: Thu, 24 Aug 2023 19:18:02 +0200 Subject: [PATCH] actually initialize token_table --- source/hl.h | 3 +++ 1 file changed, 3 insertions(+) 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; }