From 87bc97daefc8b5d8b665ea2fb2b6c232b80344bc Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 22 Mar 2017 11:26:30 -0400 Subject: unify main entry point regardless of whether linking libc closes #248 --- src/all_types.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/all_types.hpp') diff --git a/src/all_types.hpp b/src/all_types.hpp index b3faff2212..35ed95fbdb 100644 --- a/src/all_types.hpp +++ b/src/all_types.hpp @@ -1291,6 +1291,7 @@ struct CodeGen { HashMap generic_table; HashMap memoized_fn_eval_table; HashMap llvm_fn_table; + HashMap compile_vars; ZigList import_queue; size_t import_queue_index; @@ -1346,8 +1347,8 @@ struct CodeGen { bool is_static; bool strip_debug_symbols; bool want_h_file; - bool have_exported_main; - bool have_exported_panic; + bool have_pub_main; + bool have_pub_panic; bool link_libc; Buf *libc_lib_dir; Buf *libc_static_lib_dir; -- cgit v1.2.3