diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-30 14:02:34 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-30 14:02:34 -0400 |
| commit | fb683a2b1b962da4f00eb86c57b9c75fbcdf9908 (patch) | |
| tree | b8d3cb84bcc1d0255cba900f32e037d6f575a3d0 /tomo.c | |
| parent | bdca4fc6e1d3a9ce1306313528067f012a60341b (diff) | |
Organize typedef headers so the typedefs come before the namespace
members
Diffstat (limited to 'tomo.c')
| -rw-r--r-- | tomo.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -203,10 +203,12 @@ static void _compile_statement_header_for_library(libheader_info_t *info, ast_t Text_t path = Text$from_str(use->path); if (!Table$get(*info->used_imports, &path, Table$info(&Path$info, &Path$info))) { Table$set(info->used_imports, &path, &path, Table$info(&Text$info, &Text$info)); - CORD_put(compile_statement_header(info->env, ast), info->output); + CORD_put(compile_statement_type_header(info->env, ast), info->output); + CORD_put(compile_statement_namespace_header(info->env, ast), info->output); } } else { - CORD_put(compile_statement_header(info->env, ast), info->output); + CORD_put(compile_statement_type_header(info->env, ast), info->output); + CORD_put(compile_statement_namespace_header(info->env, ast), info->output); } } |
