Skip to content

Commit 34f9958

Browse files
committed
patch 8.2.5103: build fails with small features
Problem: Build fails with small features. Solution: Add #ifdef. Skip test on MS-Windows.
1 parent 8bea171 commit 34f9958

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/indent.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,9 @@ ex_retab(exarg_T *eap)
17831783
emsg(_(e_resulting_text_too_long));
17841784
// when not inside a try/catch set got_int to break out of any
17851785
// loop
1786+
#ifdef FEAT_EVAL
17861787
if (trylevel == 0)
1788+
#endif
17871789
got_int = TRUE;
17881790
break;
17891791
}

src/testdir/test_retab.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ func Test_retab_endless()
105105
endfunc
106106

107107
func Test_nocatch_retab_endless()
108+
" FIXME: why does this hang on MS-Windows?
109+
CheckNotMSWindows
110+
108111
" not inside try/catch an interrupt is generated to get out of loops
109112
new
110113
call setline(1, "\t0\t")

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
5103,
737739
/**/
738740
5102,
739741
/**/

0 commit comments

Comments
 (0)