summaryrefslogtreecommitdiff
path: root/src/codegen/codegen_main.c
diff options
context:
space:
mode:
authorZuhaitz <zuhaitz.zechhub@gmail.com>2026-01-13 14:50:43 +0000
committerGitHub <noreply@github.com>2026-01-13 14:50:43 +0000
commit7eb91d69beb19da7a7cb7ac84625f701890ce6eb (patch)
tree4b86f4ad20a66b0e984feb4d5a2abaf6eaa1227f /src/codegen/codegen_main.c
parent8fc9c88304fde65d6c3a619c3aee7e6e00540695 (diff)
parent856267f36e60211ba537d63a80c5d36aa4436a4f (diff)
Merge branch 'main' into pr-34-testing
Diffstat (limited to 'src/codegen/codegen_main.c')
-rw-r--r--src/codegen/codegen_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/codegen_main.c b/src/codegen/codegen_main.c
index c9c69f6..3634af3 100644
--- a/src/codegen/codegen_main.c
+++ b/src/codegen/codegen_main.c
@@ -202,7 +202,7 @@ void codegen_node(ParserContext *ctx, ASTNode *node, FILE *out)
if (!ctx->skip_preamble)
{
- emit_preamble(out);
+ emit_preamble(ctx, out);
}
emit_includes_and_aliases(kids, out);