diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-11-28 17:04:43 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-11-28 17:04:43 +0100 |
commit | 9fee7d4729af19e7ce4950ede8de358c5eeb3772 (patch) | |
tree | 5122d7777963f3811c2a298ce56e372037b5424d /src/proto/ex_eval.pro | |
parent | e88a5f3a2c18426a68c4591d61bc612276878b46 (diff) |
updated for version 7.4.107v7.4.107
Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the
Python code doesn't catch it. (Yggdroot Chen)
Solution: Throw exceptions on errors in vim.eval(). (ZyX)
Diffstat (limited to 'src/proto/ex_eval.pro')
-rw-r--r-- | src/proto/ex_eval.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/ex_eval.pro b/src/proto/ex_eval.pro index 8fb234283e..6c63f67240 100644 --- a/src/proto/ex_eval.pro +++ b/src/proto/ex_eval.pro @@ -4,8 +4,10 @@ void update_force_abort __ARGS((void)); int should_abort __ARGS((int retcode)); int aborted_in_try __ARGS((void)); int cause_errthrow __ARGS((char_u *mesg, int severe, int *ignore)); +void free_global_msglist __ARGS((void)); void do_errthrow __ARGS((struct condstack *cstack, char_u *cmdname)); int do_intthrow __ARGS((struct condstack *cstack)); +char_u *get_exception_string __ARGS((void *value, int type, char_u *cmdname, int *should_free)); void discard_current_exception __ARGS((void)); void report_make_pending __ARGS((int pending, void *value)); void report_resume_pending __ARGS((int pending, void *value)); |