diff options
Diffstat (limited to 'include/compiler.h')
-rw-r--r-- | include/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h index 83dde63..08b74b8 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -13,6 +13,7 @@ #define AMAL_COMPILER_OK 0 /* General error */ #define AMAL_COMPILER_ERR -1 +#define AMAL_COMPILER_WORK_FAIL_ABORT -2 #define NUM_ARITHMETIC_TYPES 10 @@ -53,6 +54,7 @@ struct amal_compiler { ParserThreadData *threads; int usable_thread_count; bool started; + bool work_failed; amal_mutex mutex; int generic_work_object_index; }; |