src/testdir/test60.vim \
src/testdir/test83-tags? \
src/testdir/test77a.com \
+ src/testdir/test_*.vim \
src/testdir/python2/*.py \
src/testdir/python3/*.py \
src/testdir/pythonx/*.py \
{
name = vim_strsave(name);
*pp = end;
+ if (STRNCMP(name, "<SNR>", 5) == 0)
+ {
+ /* Change "<SNR>" to the byte sequence. */
+ name[0] = K_SPECIAL;
+ name[1] = KS_EXTRA;
+ name[2] = (int)KE_SNR;
+ mch_memmove(name + 3, name + 5, STRLEN(name + 5) + 1);
+ }
goto theend;
}
:echo g:Foo(2)
:echo Foo(3)
:"
+:" script-local function used in Funcref must exist.
+:so test_eval_func.vim
+:"
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
--- /dev/null
+" Vim script used in test_eval.in. Needed for script-local function.
+
+func! s:Testje()
+ return "foo"
+endfunc
+let Bar = function('s:Testje')
+$put ='s:Testje exists: ' . exists('s:Testje')
+$put ='func s:Testje exists: ' . exists('*s:Testje')
+$put ='Bar exists: ' . exists('Bar')
+$put ='func Bar exists: ' . exists('*Bar')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 268,
/**/
267,
/**/