From 8df8f5bb828d0cb730db717c6a89aafa9986ae55 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 28 May 2024 00:30:09 -0400 Subject: Changes to dependency tracking, compilation, and object linking --- typecheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'typecheck.c') diff --git a/typecheck.c b/typecheck.c index 16841e8f..d13a9420 100644 --- a/typecheck.c +++ b/typecheck.c @@ -116,7 +116,7 @@ static env_t *load_module(env_t *env, ast_t *use_ast) const char *my_name = heap_strn(CORD_to_const_char_star(env->file_prefix), CORD_len(env->file_prefix)-1); Table$str_set(module_env->imports, my_name, env); - const char *resolved_path = resolve_path(use->raw_path, use_ast->file->filename, getenv("USE_PATH")); + const char *resolved_path = resolve_path(use->raw_path, use_ast->file->filename, getenv("TOMO_IMPORT_PATH")); if (!resolved_path) code_err(use_ast, "No such file exists: \"%s\"", use->raw_path); -- cgit v1.2.3