diff --git a/src/main.c b/src/main.c index a3e9527..ee2f36a 100644 --- a/src/main.c +++ b/src/main.c @@ -6,6 +6,7 @@ #include "io_backend/io_backend.h" #include "parser/parser.h" #include "utils/args/args.h" +#include "utils/vars/vars.h" // === Error codes @@ -28,6 +29,14 @@ int main(int argc, char **argv) } // args_print(&options); + // Initialize variables hash map + struct hash_map *vars = vars_init(); + if (vars == NULL) + { + fprintf(stderr, "Error: Failed to initialize variables hash map\n"); + return ERR_MALLOC; + } + // Create the IO-Backend context struct struct iob_context *io_context = malloc(sizeof(struct iob_context)); if (io_context == NULL)