From 88c89c77229e725ab2613b022249e2f506d82b82 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 14 Aug 2021 14:01:05 +0200 Subject: patch 8.2.3341: Vim9: function call aborted despite try/catch Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono) Solution: Ignore error caught by try/catch. (closes #8755) --- src/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/message.c') diff --git a/src/message.c b/src/message.c index 23b84fa83..bb0dbb2bd 100644 --- a/src/message.c +++ b/src/message.c @@ -733,7 +733,7 @@ emsg_core(char_u *s) flush_buffers(FLUSH_MINIMAL); // flush internal buffers ++did_emsg; // flag for DoOneCmd() #ifdef FEAT_EVAL - did_uncaught_emsg = TRUE; + ++uncaught_emsg; #endif } -- cgit v1.2.1