]> granicus.if.org Git - vim/commitdiff
patch 8.0.0386: tiny build has a problem with generating the options test v8.0.0386
authorBram Moolenaar <Bram@vim.org>
Mon, 27 Feb 2017 21:59:40 +0000 (22:59 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 27 Feb 2017 21:59:40 +0000 (22:59 +0100)
Problem:    Tiny build has a problem with generating the options test.
Solution:   Change the "if" to skip over statements.

src/gen_opt_test.vim
src/version.c

index 745e5ea4c1896f26215ee0cc9d1dab50dd276d63..677aa74e34b7c4e3d5ee6802e3b8276301ed0ea8 100644 (file)
@@ -1,10 +1,10 @@
 " Script to generate testdir/opt_test.vim from option.c
 
-if 0
-  finish
-endif
-
 set cpo=&vim
+
+" Only do this when build with the +eval feature.
+if 1
+
 set nomore
 
 let script = [
@@ -130,7 +130,6 @@ let test_values = {
       \ 'winaltkeys': [['menu', 'no'], ['', 'xxx']],
       \
       \ 'luadll': [[], []],
-      \ 'macatsui': [[], []],
       \ 'perldll': [[], []],
       \ 'pythondll': [[], []],
       \ 'pythonthreedll': [[], []],
@@ -192,4 +191,6 @@ call add(script, 'let &lines = save_lines')
 
 call writefile(script, 'testdir/opt_test.vim')
 
+endif
+
 qa!
index 4479cc2168fbfe2eab03e15e9fff59c86d417103..c99c368a2b679e176baa3e558429e96ced94b93e 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    386,
 /**/
     385,
 /**/