From 9f8be0c5029a69bfa9796ac31866658b9da70390 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 16 Jun 2024 16:08:35 -0400 Subject: Support library name as a separate environment field from namespace --- repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repl.c') diff --git a/repl.c b/repl.c index c687f378..d3d433dc 100644 --- a/repl.c +++ b/repl.c @@ -28,7 +28,7 @@ static void eval(env_t *env, ast_t *ast, void *dest); void repl(void) { - env_t *env = new_compilation_unit(); + env_t *env = new_compilation_unit(NULL); void *dl = dlopen("libtomo.so", RTLD_LAZY); if (!dl) errx(1, "I couldn't find libtomo.so in your library paths"); -- cgit v1.2.3