commit | 0f618386367ba9388e1f50bc665bc1add6c01567 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Aug 26 21:33:04 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Aug 26 21:33:04 2022 +0100 |
tree | 577ff6e6e4901d1a7e988d16db0c22d74c404866 | |
parent | 58dcbf1c6586d3873702e035b47829178a91250e [diff] [blame] |
patch 9.0.0282: a nested timout stops the previous timeout Problem: A nested timout stops the previous timeout. Solution: Ignore any nested timeout.
diff --git a/src/evalfunc.c b/src/evalfunc.c index a5f9ee3..d2cc8fc 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c
@@ -9176,7 +9176,8 @@ theend: #ifdef FEAT_RELTIME - disable_regexp_timeout(); + if (time_limit > 0) + disable_regexp_timeout(); #endif vim_free(pat2); vim_free(pat3);