diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 20:09:53 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 20:09:53 -0400 |
| commit | b4f2d03db2cd20688d6bb537904998e997bc48aa (patch) | |
| tree | 380ce33e0ce1b7fa3ce7c88b5ca59a84b58f4821 /src/compile/statements.c | |
| parent | d8a48f64111f542f3afeb5d6e47ff092f9278d9f (diff) | |
| parent | d64dcab138a34d5f5105e08f0a840f7cb5a1d159 (diff) | |
Merge branch 'main' into optional-list-indexingoptional-list-indexing
Diffstat (limited to 'src/compile/statements.c')
| -rw-r--r-- | src/compile/statements.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/statements.c b/src/compile/statements.c index bde9ae36..3fc44ac4 100644 --- a/src/compile/statements.c +++ b/src/compile/statements.c @@ -188,7 +188,7 @@ static Text_t _compile_statement(env_t *env, ast_t *ast) { Text_t suffix = get_id_suffix(Path$as_c_string(path)); return with_source_info(env, ast, Texts("$initialize", suffix, "();\n")); } else if (use->what == USE_MODULE) { - module_info_t mod = get_module_info(ast); + module_info_t mod = get_used_module_info(ast); glob_t tm_files; const char *folder = mod.version ? String(mod.name, "_", mod.version) : mod.name; if (glob(String(TOMO_PATH, "/lib/tomo_" TOMO_VERSION "/", folder, "/[!._0-9]*.tm"), GLOB_TILDE, NULL, |
