]> granicus.if.org Git - vim/commitdiff
patch 8.2.5103: build fails with small features v8.2.5103
authorBram Moolenaar <Bram@vim.org>
Wed, 15 Jun 2022 20:08:09 +0000 (21:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 15 Jun 2022 20:08:09 +0000 (21:08 +0100)
Problem:    Build fails with small features.
Solution:   Add #ifdef.  Skip test on MS-Windows.

src/indent.c
src/testdir/test_retab.vim
src/version.c

index af23757a4a4c81359c6668eccafa4559b65f3704..73eb12c49b0f62a06776ca483774af4e1b9b28fa 100644 (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;
            }
index 2d96042dc1984b8137dff823482e03fe51be9dcd..4e3d0fd445da7bbdf86f0478e3bb114d91123fbf 100644 (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")
index 2f6152130d805e1f140a63ed6454d5b1a00e1be5..e3c52b71f6ac024881a8ac6c16f7dc169b0ab3dc 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5103,
 /**/
     5102,
 /**/