Skip to content

Commit 5b3af14

Browse files
committed
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.
1 parent b5e8377 commit 5b3af14

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/gen_opt_test.vim

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
" Script to generate testdir/opt_test.vim from option.c
22

3-
if 0
4-
finish
5-
endif
6-
73
set cpo=&vim
4+
5+
" Only do this when build with the +eval feature.
6+
if 1
7+
88
set nomore
99

1010
let script = [
@@ -130,7 +130,6 @@ let test_values = {
130130
\ 'winaltkeys': [['menu', 'no'], ['', 'xxx']],
131131
\
132132
\ 'luadll': [[], []],
133-
\ 'macatsui': [[], []],
134133
\ 'perldll': [[], []],
135134
\ 'pythondll': [[], []],
136135
\ 'pythonthreedll': [[], []],
@@ -192,4 +191,6 @@ call add(script, 'let &lines = save_lines')
192191

193192
call writefile(script, 'testdir/opt_test.vim')
194193

194+
endif
195+
195196
qa!

src/version.c

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

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
386,
767769
/**/
768770
385,
769771
/**/

0 commit comments

Comments
 (0)