From dbee294b3238094ec521ade22e080b42df385968 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 15 Dec 2024 10:43:47 -0500 Subject: [PATCH] codegen fix based on latest lib --- project/codegen/platform_gen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/codegen/platform_gen.cpp b/project/codegen/platform_gen.cpp index de1dc04..c755d5c 100644 --- a/project/codegen/platform_gen.cpp +++ b/project/codegen/platform_gen.cpp @@ -70,7 +70,8 @@ int gen_main() } content.append( context_data_members[ context_data_members.num() - 1 ].to_strbuilder() ); } - using_context = def_define( txt("using_context()"), using_context_content ); + + using_context = def_define( txt("using_context()"), MT_Statement, { {}, using_context_content } ); } builder.print( using_context );