aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r--src/nvim/globals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index e857f5ff5b..c8b24b3488 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -325,7 +325,8 @@ 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.
*/
-EXTERN int did_throw INIT(= FALSE);
+// 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()