diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-10 20:20:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-10 20:20:05 +0100 |
commit | 8a5883b7488e492419dde7e1637cc72f2d566ba4 (patch) | |
tree | 512e019310a24c164eb3d5577fcc873d3df4949b /src/proto/ex_eval.pro | |
parent | 95f096030ed1a8afea028f2ea295d6f6a70f466f (diff) |
patch 8.0.0075v8.0.0075
Problem: Using number for exception type lacks type checking.
Solution: Use an enum.
Diffstat (limited to 'src/proto/ex_eval.pro')
-rw-r--r-- | src/proto/ex_eval.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/ex_eval.pro b/src/proto/ex_eval.pro index 908b785d5b..9274bce59c 100644 --- a/src/proto/ex_eval.pro +++ b/src/proto/ex_eval.pro @@ -7,7 +7,7 @@ int cause_errthrow(char_u *mesg, int severe, int *ignore); void free_global_msglist(void); void do_errthrow(struct condstack *cstack, char_u *cmdname); int do_intthrow(struct condstack *cstack); -char_u *get_exception_string(void *value, int type, char_u *cmdname, int *should_free); +char_u *get_exception_string(void *value, except_type_T type, char_u *cmdname, int *should_free); void discard_current_exception(void); void report_make_pending(int pending, void *value); void report_resume_pending(int pending, void *value); |