# HG changeset patch # User Christian Brabandt # Date 1488232805 -3600 # Node ID fdf42c56bb2e780dcf681963bfee86f4070f5957 # Parent 495e11773ed8403846e007d4fa18320d87b4f9fc patch 8.0.0386: tiny build has a problem with generating the options test commit https://github.com/vim/vim/commit/5b3af14b34c97ab58bfd4699bc2f3e5a2b704117 Author: Bram Moolenaar Date: Mon Feb 27 22:59:40 2017 +0100 patch 8.0.0386: tiny build has a problem with generating the options test Problem: Tiny build has a problem with generating the options test. Solution: Change the "if" to skip over statements. diff --git a/src/gen_opt_test.vim b/src/gen_opt_test.vim --- a/src/gen_opt_test.vim +++ b/src/gen_opt_test.vim @@ -1,10 +1,10 @@ " Script to generate testdir/opt_test.vim from option.c -if 0 - finish -endif +set cpo=&vim -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_line call writefile(script, 'testdir/opt_test.vim') +endif + qa! diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 386, +/**/ 385, /**/ 384,