diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 20:09:22 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-09 20:09:22 -0400 |
| commit | ba6d1b12291398c804f5cdf653265a0322ca4a01 (patch) | |
| tree | 7e8c863817a64ec5ba5b1e457d05581bddf00852 /src/compile/headers.c | |
| parent | ca9eabb810af3aca14aad5c8e0266ddc9286dd99 (diff) | |
| parent | d64dcab138a34d5f5105e08f0a840f7cb5a1d159 (diff) | |
Merge branch 'main' into simplified-quotessimplified-quotes
Diffstat (limited to 'src/compile/headers.c')
| -rw-r--r-- | src/compile/headers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile/headers.c b/src/compile/headers.c index 6dc69f03..33a979cf 100644 --- a/src/compile/headers.c +++ b/src/compile/headers.c @@ -171,7 +171,7 @@ Text_t compile_statement_type_header(env_t *env, Path_t header_path, ast_t *ast) Path_t build_dir = Path$resolved(Path$parent(header_path), Path$current_dir()); switch (use->what) { case 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, |
