diff options
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index f7f3b2ec56..a1a94b0ebb 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1088,6 +1088,19 @@ struct cleanup_stuff except_T *exception; // exception value }; +/* + * Exception state that is saved and restored when calling timer callback + * functions and deferred functions. + */ +typedef struct exception_state_S exception_state_T; +struct exception_state_S +{ + except_T *estate_current_exception; + int estate_did_throw; + int estate_need_rethrow; + int estate_trylevel; +}; + #ifdef FEAT_SYN_HL // struct passed to in_id_list() struct sp_syn |