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

@@ -200,6 +200,7 @@ struct BuildContext {
bool ODIN_DEBUG; // Odin in debug mode
bool ODIN_DISABLE_ASSERT; // Whether the default 'assert' et al is disabled in code or not
bool ODIN_DEFAULT_TO_NIL_ALLOCATOR; // Whether the default allocator is a "nil" allocator or not (i.e. it does nothing)
bool ODIN_FOREIGN_ERROR_PROCEDURES;
ErrorPosStyle ODIN_ERROR_POS_STYLE;
@@ -269,6 +270,7 @@ struct BuildContext {
bool copy_file_contents;
u32 cmd_doc_flags;
Array<String> extra_packages;