aboutsummaryrefslogtreecommitdiff
path: root/repl.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-06-16 16:08:35 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-06-16 16:08:35 -0400
commit9f8be0c5029a69bfa9796ac31866658b9da70390 (patch)
tree5a9b74da9d766921daa78f9f6557f80facd5ef36 /repl.c
parent7dcb5bea3f32f7f122aea323995fe1da55cb8316 (diff)
Support library name as a separate environment field from namespace
Diffstat (limited to 'repl.c')
-rw-r--r--repl.c2
1 files changed, 1 insertions, 1 deletions
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");