0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.5102: interrupt not caught in test

Problem:    Interrupt not caught in test.
Solution:   Consider an exception thrown in the current try/catch when got_int
            is set.  Also catch early exit when not using try/catch.
This commit is contained in:
Bram Moolenaar
2022-06-15 20:49:35 +01:00
parent cf65d88ff8
commit 8bea171f15
5 changed files with 31 additions and 12 deletions

View File

@@ -742,6 +742,7 @@ theend:
suppress_errthrow = FALSE;
in_assert_fails = FALSE;
did_emsg = FALSE;
got_int = FALSE;
msg_col = 0;
need_wait_return = FALSE;
emsg_on_display = FALSE;