annotate src/testdir/test49.in @ 4877:9e36c6b1ebf4 v7.3.1184

updated for version 7.3.1184 Problem: Highlighting is sometimes wrong. (Axel Bender) Solution: Fetch regline again when returning from recursive regmatch.
author Bram Moolenaar <bram@vim.org>
date Thu, 13 Jun 2013 19:47:07 +0200
parents b62965091b8d
children 662ae48e7e24
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 This is a test of the script language.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 If after adding a new test, the test output doesn't appear properly in
1405
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
4 test49.failed, try to add one ore more "G"s at the line ending in "test.out"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :se nocp nomore viminfo+=nviminfo
1539
b62965091b8d updated for version 7.1-254
vimboss
parents: 1405
diff changeset
9 :lang mess C
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :so test49.vim
1405
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
11 GGGGGGGGGGGGGG"rp:.-,$w! test.out
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
12 :"
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
13 :" make valgrind happy
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
14 :redir => funclist
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
15 :silent func
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
16 :redir END
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
17 :for line in split(funclist, "\n")
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
18 : let name = matchstr(line, 'function \zs[A-Z]\w*\ze(')
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
19 : if name != ''
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
20 : exe "delfunc " . name
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
21 : endif
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
22 :endfor
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
23 :for v in keys(g:)
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
24 : silent! exe "unlet " . v
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
25 :endfor
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
26 :unlet v
b63792dadc23 updated for version 7.1-120
vimboss
parents: 7
diff changeset
27 :qa!
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 Results of test49.vim: