diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 00:30:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 00:30:09 -0400 |
| commit | 8df8f5bb828d0cb730db717c6a89aafa9986ae55 (patch) | |
| tree | 8b9f5eb30af2e91a699c5038e358a9a5d982b96c /typecheck.c | |
| parent | cb634f61f78bb629164f98ea04ab04a8e5c5b67d (diff) | |
Changes to dependency tracking, compilation, and object linking
Diffstat (limited to 'typecheck.c')
| -rw-r--r-- | typecheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
