mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
vim-patch:8.2.3478: still crash with error in :catch and also in :finally
Problem: Still crash with error in :catch and also in :finally.
Solution: Only call finish_exception() once. (closes vim/vim#8954)
f67d3fb736
Exclude CSF_FUNC_DEF change (Vim9script).
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
#define CSF_FINALLY 0x0200 // ":finally" has been passed
|
||||
#define CSF_THROWN 0x0800 // exception thrown to this try conditional
|
||||
#define CSF_CAUGHT 0x1000 // exception caught by this try conditional
|
||||
#define CSF_SILENT 0x2000 // "emsg_silent" reset by ":try"
|
||||
#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.
|
||||
|
||||
|
Reference in New Issue
Block a user