diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-21 13:38:52 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-21 13:38:52 -0400 |
| commit | 383586fdccff93c25e6065032991c474f9dc3795 (patch) | |
| tree | b724921642414e47f699f432df0b9cbf37c804ed /tomo.c | |
| parent | 80a7472545ba39cae38ee51012cdc47d20d385a9 (diff) | |
Fix relative import of own header file
Diffstat (limited to 'tomo.c')
| -rw-r--r-- | tomo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ int transpile(const char *filename, bool force_retranspile) CORD_put(module.header, out); pclose(out); out = popen(heap_strf("%s | bat -P --file-name=%s.c", autofmt, f->filename), "w"); - CORD_put(CORD_all("#include \"", f->filename, "\"\n\n", module.c_file), out); + CORD_put(CORD_all("#include \"", module.module_name, ".tm.h\"\n\n", module.c_file), out); pclose(out); } |
