diff options
author | ZyX <kp-pav@yandex.ru> | 2018-03-25 15:13:05 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-03-25 15:13:05 +0300 |
commit | 201a4ef11cc69d7d7c384db4d937d0d413811577 (patch) | |
tree | ec388b4b3fa18e6963000bffd437b375bdaf8f84 /src/nvim/globals.h | |
parent | 79b4b6fc86497fcb7b3f986e98cbf03f93b5b082 (diff) | |
download | rneovim-201a4ef11cc69d7d7c384db4d937d0d413811577.tar.gz rneovim-201a4ef11cc69d7d7c384db4d937d0d413811577.tar.bz2 rneovim-201a4ef11cc69d7d7c384db4d937d0d413811577.zip |
*: Replace did_throw checks with current_exception checks
Removes obsolete did_throw after that.
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index c8b24b3488..31bde4aa1e 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -317,18 +317,11 @@ 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(). */ |