comparison src/gen_opt_test.vim @ 10994:fdf42c56bb2e v8.0.0386

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 <Bram@vim.org> 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.
author Christian Brabandt <cb@256bit.org>
date Mon, 27 Feb 2017 23:00:05 +0100
parents 6da4287fd735
children
comparison
equal deleted inserted replaced
10993:495e11773ed8 10994:fdf42c56bb2e
1 " Script to generate testdir/opt_test.vim from option.c 1 " Script to generate testdir/opt_test.vim from option.c
2 2
3 if 0 3 set cpo=&vim
4 finish
5 endif
6 4
7 set cpo=&vim 5 " Only do this when build with the +eval feature.
6 if 1
7
8 set nomore 8 set nomore
9 9
10 let script = [ 10 let script = [
11 \ 'let save_columns = &columns', 11 \ 'let save_columns = &columns',
12 \ 'let save_lines = &lines', 12 \ 'let save_lines = &lines',
128 \ 'wildmode': [['', 'full', 'list:full', 'full,longest'], ['xxx']], 128 \ 'wildmode': [['', 'full', 'list:full', 'full,longest'], ['xxx']],
129 \ 'wildoptions': [['', 'tagfile'], ['xxx']], 129 \ 'wildoptions': [['', 'tagfile'], ['xxx']],
130 \ 'winaltkeys': [['menu', 'no'], ['', 'xxx']], 130 \ 'winaltkeys': [['menu', 'no'], ['', 'xxx']],
131 \ 131 \
132 \ 'luadll': [[], []], 132 \ 'luadll': [[], []],
133 \ 'macatsui': [[], []],
134 \ 'perldll': [[], []], 133 \ 'perldll': [[], []],
135 \ 'pythondll': [[], []], 134 \ 'pythondll': [[], []],
136 \ 'pythonthreedll': [[], []], 135 \ 'pythonthreedll': [[], []],
137 \ 'pyxversion': [[], []], 136 \ 'pyxversion': [[], []],
138 \ 'rubydll': [[], []], 137 \ 'rubydll': [[], []],
190 call add(script, 'let &columns = save_columns') 189 call add(script, 'let &columns = save_columns')
191 call add(script, 'let &lines = save_lines') 190 call add(script, 'let &lines = save_lines')
192 191
193 call writefile(script, 'testdir/opt_test.vim') 192 call writefile(script, 'testdir/opt_test.vim')
194 193
194 endif
195
195 qa! 196 qa!