0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

patch 8.2.5103: build fails with small features

Problem:    Build fails with small features.
Solution:   Add #ifdef.  Skip test on MS-Windows.
This commit is contained in:
Bram Moolenaar 2022-06-15 21:08:09 +01:00
parent 8bea171f15
commit 34f99584c7
3 changed files with 7 additions and 0 deletions

View File

@ -1783,7 +1783,9 @@ ex_retab(exarg_T *eap)
emsg(_(e_resulting_text_too_long));
// when not inside a try/catch set got_int to break out of any
// loop
#ifdef FEAT_EVAL
if (trylevel == 0)
#endif
got_int = TRUE;
break;
}

View File

@ -105,6 +105,9 @@ func Test_retab_endless()
endfunc
func Test_nocatch_retab_endless()
" FIXME: why does this hang on MS-Windows?
CheckNotMSWindows
" not inside try/catch an interrupt is generated to get out of loops
new
call setline(1, "\t0\t")

View File

@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
5103,
/**/
5102,
/**/