Add ODIN_DEBUG

This commit is contained in:
gingerBill
2018-01-28 14:42:22 +00:00
parent 1a0877e965
commit dce45e7d58
4 changed files with 4 additions and 3 deletions

View File

@@ -548,6 +548,7 @@ void init_universal_scope(void) {
add_global_string_constant(a, str_lit("ODIN_VENDOR"), bc->ODIN_VENDOR);
add_global_string_constant(a, str_lit("ODIN_VERSION"), bc->ODIN_VERSION);
add_global_string_constant(a, str_lit("ODIN_ROOT"), bc->ODIN_ROOT);
add_global_constant(a, str_lit("ODIN_DEBUG"), t_untyped_bool, exact_value_bool(bc->ODIN_DEBUG));
// Builtin Procedures