mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
*: Replace did_throw checks with current_exception checks
Removes obsolete did_throw after that.
This commit is contained in:
@@ -317,17 +317,10 @@ EXTERN int do_profiling INIT(= PROF_NONE); /* PROF_ values */
|
||||
/*
|
||||
* The exception currently being thrown. Used to pass an exception to
|
||||
* a different cstack. Also used for discarding an exception before it is
|
||||
* caught or made pending. Only valid when did_throw is TRUE.
|
||||
* caught or made pending.
|
||||
*/
|
||||
EXTERN except_T *current_exception;
|
||||
|
||||
/*
|
||||
* did_throw: An exception is being thrown. Reset when the exception is caught
|
||||
* or as long as it is pending in a finally clause.
|
||||
*/
|
||||
// FIXME: Replace did_throw checks with current_exception checks.
|
||||
EXTERN int did_throw INIT(= false);
|
||||
|
||||
/*
|
||||
* need_rethrow: set to TRUE when a throw that cannot be handled in do_cmdline()
|
||||
* must be propagated to the cstack of the previously called do_cmdline().
|
||||
|
Reference in New Issue
Block a user