summaryrefslogtreecommitdiff
path: root/mnv/runtime/syntax/testdir/input/mnv_ex_profile.mnv
blob: 38df8fced61e21259ba0835518d99a37d05951b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
" MNV :profile and :profdel commands


profile  start /tmp/myprofile
profile  stop
profile  pause
profile  continue
profile  func MyFunc
profile  file MyScript.mnv 
profile! file MyScript.mnv
profile  dump

profdel  func MyFunc
profdel  file MyScript.mnv
profdel  here


" Tail comment

profile  start /tmp/myprofile " comment
profile  stop                 " comment
profile  pause                " comment
profile  continue             " comment
profile  func MyFunc          " comment
profile  file MyScript.mnv    " comment
profile! file MyScript.mnv    " comment
profile  dump                 " comment

profdel  func MyFunc          " comment
profdel  file MyScript.mnv    " comment
profdel  here                 " comment


" Trailing command

profile  start /tmp/myprofile | echo "Foo"
profile  stop                 | echo "Foo"
profile  pause                | echo "Foo"
profile  continue             | echo "Foo"
profile  func MyFunc          | echo "Foo"
profile  file MyScript.mnv    | echo "Foo"
profile! file MyScript.mnv    | echo "Foo"
profile  dump                 | echo "Foo"

profdel  func MyFunc          | echo "Foo"
profdel  file MyScript.mnv    | echo "Foo"
profdel  here                 | echo "Foo"