annotate src/testdir/test_eval_func.vim @ 14161:7cac4646c552
v8.1.0098
patch 8.1.0098: segfault when pattern with z() is very slow
commit https://github.com/vim/vim/commit/bcf9442307075bac40d44328c8bf7ea21857b138
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 23 14:21:42 2018 +0200
patch 8.1.0098: segfault when pattern with \z() is very slow
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
author |
Christian Brabandt <cb@256bit.org> |
date |
Sat, 23 Jun 2018 14:30:07 +0200 |
parents |
1a5ed2626b26 |
children |
63b02fcf1361 |
rev |
line source |
5850
|
1 " Vim script used in test_eval.in. Needed for script-local function.
|
|
2
|
|
3 func! s:Testje()
|
|
4 return "foo"
|
|
5 endfunc
|
|
6 let Bar = function('s:Testje')
|
|
7 $put ='s:Testje exists: ' . exists('s:Testje')
|
|
8 $put ='func s:Testje exists: ' . exists('*s:Testje')
|
|
9 $put ='Bar exists: ' . exists('Bar')
|
|
10 $put ='func Bar exists: ' . exists('*Bar')
|