summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-14 14:01:05 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-14 14:01:05 +0200
commit88c89c77229e725ab2613b022249e2f506d82b82 (patch)
tree13d6d797ce01be15745d0b61b46ad8bdb23c4a5f /src/globals.h
parent78a9c2e670d29349404b346e0aa90264cab19e9b (diff)
patch 8.2.3341: Vim9: function call aborted despite try/catchv8.2.3341
Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono) Solution: Ignore error caught by try/catch. (closes #8755)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h
index f09ad482fb..6d9741b6a1 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -238,8 +238,8 @@ EXTERN int did_emsg_def; // set by emsg() when emsg_silent
EXTERN int did_emsg_cumul; // cumulative did_emsg, increased
// when did_emsg is reset.
EXTERN int called_vim_beep; // set if vim_beep() is called
-EXTERN int did_uncaught_emsg; // emsg() was called and did not
- // cause an exception
+EXTERN int uncaught_emsg; // number of times emsg() was
+ // called and did show a message
#endif
EXTERN int did_emsg_syntax; // did_emsg set because of a
// syntax error