aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_eval.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_eval.h')
-rw-r--r--src/nvim/ex_eval.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/ex_eval.h b/src/nvim/ex_eval.h
index 15da4b2d60..235875fb91 100644
--- a/src/nvim/ex_eval.h
+++ b/src/nvim/ex_eval.h
@@ -14,9 +14,10 @@
#define CSF_TRY 0x0100 // is a ":try"
#define CSF_FINALLY 0x0200 // ":finally" has been passed
-#define CSF_THROWN 0x0400 // exception thrown to this try conditional
-#define CSF_CAUGHT 0x0800 // exception caught by this try conditional
-#define CSF_SILENT 0x1000 // "emsg_silent" reset by ":try"
+#define CSF_THROWN 0x0800 // exception thrown to this try conditional
+#define CSF_CAUGHT 0x1000 // exception caught by this try conditional
+#define CSF_FINISHED 0x2000 // CSF_CAUGHT was handled by finish_exception()
+#define CSF_SILENT 0x4000 // "emsg_silent" reset by ":try"
// Note that CSF_ELSE is only used when CSF_TRY and CSF_WHILE are unset
// (an ":if"), and CSF_SILENT is only used when CSF_TRY is set.
@@ -46,8 +47,7 @@ struct msglist {
};
// The exception types.
-typedef enum
-{
+typedef enum {
ET_USER, // exception caused by ":throw" command
ET_ERROR, // error exception
ET_INTERRUPT, // interrupt exception triggered by Ctrl-C
@@ -62,7 +62,7 @@ struct vim_exception {
except_type_T type; // exception type
char *value; // exception value
struct msglist *messages; // message(s) causing error exception
- char_u *throw_name; // name of the throw point
+ char *throw_name; // name of the throw point
linenr_T throw_lnum; // line number of the throw point
except_T *caught; // next exception on the caught stack
};