From 481beaf40ef5ebf94968c6e92366341e602fd3b0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 10 Feb 2025 14:58:40 -0500 Subject: Fix sequencing issue with typedefs for structs/enums --- structs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'structs.c') diff --git a/structs.c b/structs.c index 94a04de9..7c652678 100644 --- a/structs.c +++ b/structs.c @@ -62,7 +62,6 @@ CORD compile_struct_header(env_t *env, ast_t *ast) struct_code = CORD_all(struct_code, "};\n"); type_t *t = Table$str_get(*env->types, def->name); return CORD_all( - "typedef struct ", full_name, "_s ", full_name, "_t;\n", "struct ", full_name, "_s {\n", fields, "};\n", -- cgit v1.2.3