diff options
Diffstat (limited to 'src/driver.c')
-rw-r--r-- | src/driver.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/driver.c b/src/driver.c index 90ee892..597d7a8 100644 --- a/src/driver.c +++ b/src/driver.c @@ -22,10 +22,11 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } - Env *env = NULL; - exec_stmt(&env, ast_root); - env_print(env); - free_ast(ast_root); + hashmap_t context = hashmap_create(); + exec_stmt(context, ast_root); + context_print(context); + hashmap_free(context); + ast_free(ast_root); return EXIT_SUCCESS; } |