aboutsummaryrefslogtreecommitdiff
path: root/structs.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-02-10 14:58:40 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-02-10 14:58:40 -0500
commit481beaf40ef5ebf94968c6e92366341e602fd3b0 (patch)
treebe2fa5203824f6d21565f9f819bae09dfb647913 /structs.c
parentf4d0f7f6d934395beb92233313795fb59a1cc2a6 (diff)
Fix sequencing issue with typedefs for structs/enums
Diffstat (limited to 'structs.c')
-rw-r--r--structs.c1
1 files changed, 0 insertions, 1 deletions
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",