Add -foreign-error-procedures

This commit is contained in:
gingerBill
2022-02-20 14:27:44 +00:00
parent 1bec9e5331
commit 0fa487f468
4 changed files with 34 additions and 1 deletions

View File

@@ -976,6 +976,7 @@ void init_universal(void) {
add_global_bool_constant("ODIN_USE_SEPARATE_MODULES", bc->use_separate_modules);
add_global_bool_constant("ODIN_TEST", bc->command_kind == Command_test);
add_global_bool_constant("ODIN_NO_ENTRY_POINT", bc->no_entry_point);
add_global_bool_constant("ODIN_FOREIGN_ERROR_PROCEDURES", bc->ODIN_FOREIGN_ERROR_PROCEDURES);
// Builtin Procedures