diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-06 14:50:48 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-06 14:50:48 -0400 |
| commit | fba8c90687f92b609a902622f5b60203e87ec067 (patch) | |
| tree | 29ad131651f2d2086bb9961ae38c66d455980f13 /tomo.c | |
| parent | 4291b36e2c6ad65e14d775fcb34077dccb415edc (diff) | |
Fix partial edit
Diffstat (limited to 'tomo.c')
| -rw-r--r-- | tomo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -213,11 +213,11 @@ int main(int argc, char *argv[]) if (!ast) errx(1, "Could not parse file %s", filename); env_t *module_env = load_module_env(env, ast); for (ast_list_t *stmt = Match(ast, Block)->statements; stmt; stmt = stmt->next) { - CORD h = compile_statement_typedefs(&module_env, stmt->ast); + CORD h = compile_statement_typedefs(module_env, stmt->ast); if (h) CORD_put(h, header_prog); } for (ast_list_t *stmt = Match(ast, Block)->statements; stmt; stmt = stmt->next) { - CORD h = compile_statement_definitions(&module_env, stmt->ast); + CORD h = compile_statement_definitions(module_env, stmt->ast); if (h) CORD_put(h, header_prog); } fprintf(header_prog, "void %s$%s$$initialize(void);\n", libname, file_base_name(filename)); |
