From 32e82fdbe333a5a2dbaab2b229f0540d0f9d812e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 16 Jun 2024 18:09:54 -0400 Subject: Remove some dead code and support -l as a tomo flag --- structs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'structs.c') diff --git a/structs.c b/structs.c index ff98dfaf..5c00055f 100644 --- a/structs.c +++ b/structs.c @@ -171,7 +171,7 @@ CORD compile_struct_header(env_t *env, ast_t *ast) CORD struct_code = CORD_all("struct ", full_name, "_s {\n"); for (arg_ast_t *field = def->fields; field; field = field->next) { type_t *field_t = get_arg_ast_type(env, field); - CORD type_code = compile_type(env, field_t); + CORD type_code = compile_type(field_t); CORD_appendf(&struct_code, "%r %s%s;\n", type_code, field->name, CORD_cmp(type_code, "Bool_t") ? "" : ":1"); } -- cgit v1.2.3