annotate runtime/syntax/rpl.vim @ 1522:710b52d02c4a v7.1.237

updated for version 7.1-237
author vimboss
date Tue, 22 Jan 2008 10:06:48 +0000
parents 3fc0f57ecb91
children b7811ab264bf
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 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: RPL/2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Version: 0.15.15 against RPL/2 version 4.00pre7i
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: 2003 august 24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Maintainer: Joël BERTRAND <rpl2@free.fr>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://www.makalis.fr/~bertrand/rpl2/download/vim/indent/rpl.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Credits: Nothing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Keyword characters (not used)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " set iskeyword=33-127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " Case sensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syntax case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " Constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syntax match rplConstant "\(^\|\s\+\)\(e\|i\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " Any binary number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syntax match rplBinaryError "\(^\|\s\+\)#\s*\S\+b\ze"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syntax match rplBinary "\(^\|\s\+\)#\s*[01]\+b\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syntax match rplOctalError "\(^\|\s\+\)#\s*\S\+o\ze"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syntax match rplOctal "\(^\|\s\+\)#\s*\o\+o\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syntax match rplDecimalError "\(^\|\s\+\)#\s*\S\+d\ze"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syntax match rplDecimal "\(^\|\s\+\)#\s*\d\+d\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syntax match rplHexadecimalError "\(^\|\s\+\)#\s*\S\+h\ze"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syntax match rplHexadecimal "\(^\|\s\+\)#\s*\x\+h\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 " Case unsensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syntax case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syntax match rplControl "\(^\|\s\+\)abort\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syntax match rplControl "\(^\|\s\+\)kill\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syntax match rplControl "\(^\|\s\+\)cont\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syntax match rplControl "\(^\|\s\+\)halt\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syntax match rplControl "\(^\|\s\+\)cmlf\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syntax match rplControl "\(^\|\s\+\)sst\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syntax match rplConstant "\(^\|\s\+\)pi\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syntax match rplStatement "\(^\|\s\+\)return\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syntax match rplStatement "\(^\|\s\+\)last\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syntax match rplStatement "\(^\|\s\+\)syzeval\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syntax match rplStatement "\(^\|\s\+\)wait\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syntax match rplStatement "\(^\|\s\+\)type\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syntax match rplStatement "\(^\|\s\+\)kind\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syntax match rplStatement "\(^\|\s\+\)eval\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syntax match rplStatement "\(^\|\s\+\)use\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syntax match rplStatement "\(^\|\s\+\)remove\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syntax match rplStatement "\(^\|\s\+\)external\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syntax match rplStatement "\(^\|\s\+\)dup\([2n]\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syntax match rplStatement "\(^\|\s\+\)drop\([2n]\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syntax match rplStatement "\(^\|\s\+\)depth\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syntax match rplStatement "\(^\|\s\+\)roll\(d\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syntax match rplStatement "\(^\|\s\+\)pick\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syntax match rplStatement "\(^\|\s\+\)rot\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syntax match rplStatement "\(^\|\s\+\)swap\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syntax match rplStatement "\(^\|\s\+\)over\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syntax match rplStatement "\(^\|\s\+\)clear\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syntax match rplStatement "\(^\|\s\+\)warranty\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syntax match rplStatement "\(^\|\s\+\)copyright\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syntax match rplStatement "\(^\|\s\+\)convert\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syntax match rplStatement "\(^\|\s\+\)date\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syntax match rplStatement "\(^\|\s\+\)time\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syntax match rplStatement "\(^\|\s\+\)mem\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syntax match rplStatement "\(^\|\s\+\)clmf\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syntax match rplStatement "\(^\|\s\+\)->num\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syntax match rplStatement "\(^\|\s\+\)help\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syntax match rplStorage "\(^\|\s\+\)get\(i\|r\|c\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syntax match rplStorage "\(^\|\s\+\)put\(i\|r\|c\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syntax match rplStorage "\(^\|\s\+\)rcl\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syntax match rplStorage "\(^\|\s\+\)purge\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syntax match rplStorage "\(^\|\s\+\)sinv\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syntax match rplStorage "\(^\|\s\+\)sneg\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syntax match rplStorage "\(^\|\s\+\)sconj\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syntax match rplStorage "\(^\|\s\+\)steq\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syntax match rplStorage "\(^\|\s\+\)rceq\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syntax match rplStorage "\(^\|\s\+\)vars\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syntax match rplStorage "\(^\|\s\+\)clusr\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syntax match rplStorage "\(^\|\s\+\)sto\([+-/\*]\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syntax match rplAlgConditional "\(^\|\s\+\)ift\(e\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syntax match rplOperator "\(^\|\s\+\)and\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syntax match rplOperator "\(^\|\s\+\)\(x\|\)or\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syntax match rplOperator "\(^\|\s\+\)not\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syntax match rplOperator "\(^\|\s\+\)same\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syntax match rplOperator "\(^\|\s\+\)==\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syntax match rplOperator "\(^\|\s\+\)<=\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syntax match rplOperator "\(^\|\s\+\)=<\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syntax match rplOperator "\(^\|\s\+\)=>\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syntax match rplOperator "\(^\|\s\+\)>=\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syntax match rplOperator "\(^\|\s\+\)<>\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syntax match rplOperator "\(^\|\s\+\)>\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syntax match rplOperator "\(^\|\s\+\)<\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syntax match rplOperator "\(^\|\s\+\)[+-]\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syntax match rplOperator "\(^\|\s\+\)[/\*]\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syntax match rplOperator "\(^\|\s\+\)\^\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syntax match rplOperator "\(^\|\s\+\)\*\*\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syntax match rplBoolean "\(^\|\s\+\)true\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syntax match rplBoolean "\(^\|\s\+\)false\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syntax match rplReadWrite "\(^\|\s\+\)store\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syntax match rplReadWrite "\(^\|\s\+\)recall\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syntax match rplReadWrite "\(^\|\s\+\)\(\|wf\|un\)lock\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syntax match rplReadWrite "\(^\|\s\+\)open\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syntax match rplReadWrite "\(^\|\s\+\)close\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syntax match rplReadWrite "\(^\|\s\+\)delete\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syntax match rplReadWrite "\(^\|\s\+\)create\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syntax match rplReadWrite "\(^\|\s\+\)format\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syntax match rplReadWrite "\(^\|\s\+\)rewind\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syntax match rplReadWrite "\(^\|\s\+\)backspace\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syntax match rplReadWrite "\(^\|\s\+\)\(\|re\)write\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syntax match rplReadWrite "\(^\|\s\+\)read\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syntax match rplReadWrite "\(^\|\s\+\)inquire\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syntax match rplReadWrite "\(^\|\s\+\)sync\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syntax match rplReadWrite "\(^\|\s\+\)append\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syntax match rplReadWrite "\(^\|\s\+\)suppress\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syntax match rplReadWrite "\(^\|\s\+\)seek\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syntax match rplReadWrite "\(^\|\s\+\)pr\(1\|int\|st\|stc\|lcd\|var\|usr\|md\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syntax match rplReadWrite "\(^\|\s\+\)paper\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syntax match rplReadWrite "\(^\|\s\+\)cr\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syntax match rplReadWrite "\(^\|\s\+\)erase\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syntax match rplReadWrite "\(^\|\s\+\)disp\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syntax match rplReadWrite "\(^\|\s\+\)input\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syntax match rplReadWrite "\(^\|\s\+\)prompt\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syntax match rplReadWrite "\(^\|\s\+\)key\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syntax match rplReadWrite "\(^\|\s\+\)cllcd\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syntax match rplReadWrite "\(^\|\s\+\)\(\|re\)draw\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syntax match rplReadWrite "\(^\|\s\+\)drax\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syntax match rplReadWrite "\(^\|\s\+\)indep\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syntax match rplReadWrite "\(^\|\s\+\)depnd\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syntax match rplReadWrite "\(^\|\s\+\)res\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syntax match rplReadWrite "\(^\|\s\+\)axes\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syntax match rplReadWrite "\(^\|\s\+\)label\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syntax match rplReadWrite "\(^\|\s\+\)pmin\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syntax match rplReadWrite "\(^\|\s\+\)pmax\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syntax match rplReadWrite "\(^\|\s\+\)centr\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syntax match rplReadWrite "\(^\|\s\+\)persist\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syntax match rplReadWrite "\(^\|\s\+\)title\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syntax match rplReadWrite "\(^\|\s\+\)\(slice\|auto\|log\|\)scale\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syntax match rplReadWrite "\(^\|\s\+\)eyept\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syntax match rplReadWrite "\(^\|\s\+\)\(p\|s\)par\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syntax match rplReadWrite "\(^\|\s\+\)function\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syntax match rplReadWrite "\(^\|\s\+\)polar\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syntax match rplReadWrite "\(^\|\s\+\)scatter\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syntax match rplReadWrite "\(^\|\s\+\)plotter\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syntax match rplReadWrite "\(^\|\s\+\)wireframe\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syntax match rplReadWrite "\(^\|\s\+\)parametric\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syntax match rplReadWrite "\(^\|\s\+\)slice\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syntax match rplReadWrite "\(^\|\s\+\)\*w\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syntax match rplReadWrite "\(^\|\s\+\)\*h\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syntax match rplReadWrite "\(^\|\s\+\)\*d\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syntax match rplReadWrite "\(^\|\s\+\)\*s\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syntax match rplReadWrite "\(^\|\s\+\)->lcd\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syntax match rplReadWrite "\(^\|\s\+\)lcd->\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syntax match rplReadWrite "\(^\|\s\+\)edit\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syntax match rplReadWrite "\(^\|\s\+\)visit\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syntax match rplIntrinsic "\(^\|\s\+\)abs\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syntax match rplIntrinsic "\(^\|\s\+\)arg\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syntax match rplIntrinsic "\(^\|\s\+\)conj\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syntax match rplIntrinsic "\(^\|\s\+\)re\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syntax match rplIntrinsic "\(^\|\s\+\)im\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syntax match rplIntrinsic "\(^\|\s\+\)mant\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syntax match rplIntrinsic "\(^\|\s\+\)xpon\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syntax match rplIntrinsic "\(^\|\s\+\)ceil\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syntax match rplIntrinsic "\(^\|\s\+\)fact\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syntax match rplIntrinsic "\(^\|\s\+\)fp\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syntax match rplIntrinsic "\(^\|\s\+\)floor\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syntax match rplIntrinsic "\(^\|\s\+\)inv\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 syntax match rplIntrinsic "\(^\|\s\+\)ip\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 syntax match rplIntrinsic "\(^\|\s\+\)max\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syntax match rplIntrinsic "\(^\|\s\+\)min\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syntax match rplIntrinsic "\(^\|\s\+\)mod\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syntax match rplIntrinsic "\(^\|\s\+\)neg\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syntax match rplIntrinsic "\(^\|\s\+\)relax\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syntax match rplIntrinsic "\(^\|\s\+\)sign\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syntax match rplIntrinsic "\(^\|\s\+\)sq\(\|rt\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syntax match rplIntrinsic "\(^\|\s\+\)xroot\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syntax match rplIntrinsic "\(^\|\s\+\)cos\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syntax match rplIntrinsic "\(^\|\s\+\)sin\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syntax match rplIntrinsic "\(^\|\s\+\)tan\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syntax match rplIntrinsic "\(^\|\s\+\)tg\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syntax match rplIntrinsic "\(^\|\s\+\)a\(\|rc\)cos\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 syntax match rplIntrinsic "\(^\|\s\+\)a\(\|rc\)sin\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 syntax match rplIntrinsic "\(^\|\s\+\)atan\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syntax match rplIntrinsic "\(^\|\s\+\)arctg\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syntax match rplIntrinsic "\(^\|\s\+\)\(\|a\)cosh\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syntax match rplIntrinsic "\(^\|\s\+\)\(\|a\)sinh\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syntax match rplIntrinsic "\(^\|\s\+\)\(\|a\)tanh\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syntax match rplIntrinsic "\(^\|\s\+\)\(\|arg\)th\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syntax match rplIntrinsic "\(^\|\s\+\)arg[cst]h\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syntax match rplIntrinsic "\(^\|\s\+\)\(\|a\)log\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syntax match rplIntrinsic "\(^\|\s\+\)ln\(\|1\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syntax match rplIntrinsic "\(^\|\s\+\)exp\(\|m\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syntax match rplIntrinsic "\(^\|\s\+\)trn\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syntax match rplIntrinsic "\(^\|\s\+\)con\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syntax match rplIntrinsic "\(^\|\s\+\)idn\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syntax match rplIntrinsic "\(^\|\s\+\)rdm\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syntax match rplIntrinsic "\(^\|\s\+\)rsd\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syntax match rplIntrinsic "\(^\|\s\+\)cnrm\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 syntax match rplIntrinsic "\(^\|\s\+\)cross\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syntax match rplIntrinsic "\(^\|\s\+\)d[eo]t\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 syntax match rplIntrinsic "\(^\|\s\+\)[cr]swp\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syntax match rplIntrinsic "\(^\|\s\+\)rci\(j\|\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syntax match rplIntrinsic "\(^\|\s\+\)\(in\|de\)cr\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 syntax match rplIntrinsic "\(^\|\s\+\)bessel\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 syntax match rplIntrinsic "\(^\|\s\+\)\(\|g\)egvl\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 syntax match rplIntrinsic "\(^\|\s\+\)\(\|g\)\(\|l\|r\)egv\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 syntax match rplIntrinsic "\(^\|\s\+\)rnrm\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 syntax match rplIntrinsic "\(^\|\s\+\)\(std\|fix\|sci\|eng\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 syntax match rplIntrinsic "\(^\|\s\+\)\(rad\|deg\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 syntax match rplIntrinsic "\(^\|\s\+\)\(\|n\)rand\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 syntax match rplIntrinsic "\(^\|\s\+\)rdz\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 syntax match rplIntrinsic "\(^\|\s\+\)\(\|i\)fft\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 syntax match rplIntrinsic "\(^\|\s\+\)\(dec\|bin\|oct\|hex\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 syntax match rplIntrinsic "\(^\|\s\+\)rclf\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 syntax match rplIntrinsic "\(^\|\s\+\)stof\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 syntax match rplIntrinsic "\(^\|\s\+\)[cs]f\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 syntax match rplIntrinsic "\(^\|\s\+\)chr\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 syntax match rplIntrinsic "\(^\|\s\+\)num\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 syntax match rplIntrinsic "\(^\|\s\+\)pos\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 syntax match rplIntrinsic "\(^\|\s\+\)sub\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 syntax match rplIntrinsic "\(^\|\s\+\)size\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 syntax match rplIntrinsic "\(^\|\s\+\)\(st\|rc\)ws\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 syntax match rplIntrinsic "\(^\|\s\+\)\(r\|s\)\(r\|l\)\(\|b\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 syntax match rplIntrinsic "\(^\|\s\+\)as\(r\|l\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 syntax match rplIntrinsic "\(^\|\s\+\)\(int\|der\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 syntax match rplIntrinsic "\(^\|\s\+\)stos\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 syntax match rplIntrinsic "\(^\|\s\+\)\(\|r\)cls\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 syntax match rplIntrinsic "\(^\|\s\+\)drws\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 syntax match rplIntrinsic "\(^\|\s\+\)scls\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 syntax match rplIntrinsic "\(^\|\s\+\)ns\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 syntax match rplIntrinsic "\(^\|\s\+\)tot\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 syntax match rplIntrinsic "\(^\|\s\+\)mean\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 syntax match rplIntrinsic "\(^\|\s\+\)\(\|p\)sdev\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 syntax match rplIntrinsic "\(^\|\s\+\)\(\|p\)var\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 syntax match rplIntrinsic "\(^\|\s\+\)maxs\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 syntax match rplIntrinsic "\(^\|\s\+\)mins\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 syntax match rplIntrinsic "\(^\|\s\+\)\(\|p\)cov\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 syntax match rplIntrinsic "\(^\|\s\+\)cols\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 syntax match rplIntrinsic "\(^\|\s\+\)s\(x\(\|y\|2\)\|y\(\|2\)\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 syntax match rplIntrinsic "\(^\|\s\+\)\(x\|y\)col\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 syntax match rplIntrinsic "\(^\|\s\+\)corr\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 syntax match rplIntrinsic "\(^\|\s\+\)utp[cfnt]\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 syntax match rplIntrinsic "\(^\|\s\+\)comb\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 syntax match rplIntrinsic "\(^\|\s\+\)perm\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 syntax match rplIntrinsic "\(^\|\s\+\)\(\|p\)lu\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 syntax match rplIntrinsic "\(^\|\s\+\)[lu]chol\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 syntax match rplIntrinsic "\(^\|\s\+\)schur\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 syntax match rplIntrinsic "\(^\|\s\+\)%\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 syntax match rplIntrinsic "\(^\|\s\+\)%ch\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 syntax match rplIntrinsic "\(^\|\s\+\)%t\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 syntax match rplIntrinsic "\(^\|\s\+\)hms->\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 syntax match rplIntrinsic "\(^\|\s\+\)->hms\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 syntax match rplIntrinsic "\(^\|\s\+\)hms+\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 syntax match rplIntrinsic "\(^\|\s\+\)hms-\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 syntax match rplIntrinsic "\(^\|\s\+\)d->r\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 syntax match rplIntrinsic "\(^\|\s\+\)r->d\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 syntax match rplIntrinsic "\(^\|\s\+\)b->r\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 syntax match rplIntrinsic "\(^\|\s\+\)r->b\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 syntax match rplIntrinsic "\(^\|\s\+\)c->r\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 syntax match rplIntrinsic "\(^\|\s\+\)r->c\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 syntax match rplIntrinsic "\(^\|\s\+\)r->p\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 syntax match rplIntrinsic "\(^\|\s\+\)p->r\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 syntax match rplIntrinsic "\(^\|\s\+\)str->\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 syntax match rplIntrinsic "\(^\|\s\+\)->str\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 syntax match rplIntrinsic "\(^\|\s\+\)array->\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 syntax match rplIntrinsic "\(^\|\s\+\)->array\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 syntax match rplIntrinsic "\(^\|\s\+\)list->\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 syntax match rplIntrinsic "\(^\|\s\+\)->list\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 syntax match rplIntrinsic "\(^\|\s\+\)s+\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 syntax match rplIntrinsic "\(^\|\s\+\)s-\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 syntax match rplIntrinsic "\(^\|\s\+\)col-\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 syntax match rplIntrinsic "\(^\|\s\+\)col+\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 syntax match rplIntrinsic "\(^\|\s\+\)row-\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 syntax match rplIntrinsic "\(^\|\s\+\)row+\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 syntax match rplIntrinsic "\(^\|\s\+\)->q\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 syntax match rplObsolete "\(^\|\s\+\)arry->\ze\($\|\s\+\)"hs=e-5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 syntax match rplObsolete "\(^\|\s\+\)->arry\ze\($\|\s\+\)"hs=e-5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 " Conditional structures
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 syntax match rplConditionalError "\(^\|\s\+\)case\ze\($\|\s\+\)"hs=e-3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 syntax match rplConditionalError "\(^\|\s\+\)then\ze\($\|\s\+\)"hs=e-3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 syntax match rplConditionalError "\(^\|\s\+\)else\ze\($\|\s\+\)"hs=e-3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 syntax match rplConditionalError "\(^\|\s\+\)elseif\ze\($\|\s\+\)"hs=e-5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 syntax match rplConditionalError "\(^\|\s\+\)end\ze\($\|\s\+\)"hs=e-2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 syntax match rplConditionalError "\(^\|\s\+\)\(step\|next\)\ze\($\|\s\+\)"hs=e-3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 syntax match rplConditionalError "\(^\|\s\+\)until\ze\($\|\s\+\)"hs=e-4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 syntax match rplConditionalError "\(^\|\s\+\)repeat\ze\($\|\s\+\)"hs=e-5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 syntax match rplConditionalError "\(^\|\s\+\)default\ze\($\|\s\+\)"hs=e-6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 " FOR/(CYCLE)/(EXIT)/NEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 " FOR/(CYCLE)/(EXIT)/STEP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 " START/(CYCLE)/(EXIT)/NEXT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 " START/(CYCLE)/(EXIT)/STEP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 syntax match rplCycle "\(^\|\s\+\)\(cycle\|exit\)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 syntax region rplForNext matchgroup=rplRepeat start="\(^\|\s\+\)\(for\|start\)\ze\($\|\s\+\)" end="\(^\|\s\+\)\(next\|step\)\ze\($\|\s\+\)" contains=ALL keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 " ELSEIF/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 syntax region rplElseifEnd matchgroup=rplConditional start="\(^\|\s\+\)elseif\ze\($\|\s\+\)" end="\(^\|\s\+\)end\ze\($\|\s\+\)" contained contains=ALLBUT,rplElseEnd keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 " ELSE/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 syntax region rplElseEnd matchgroup=rplConditional start="\(^\|\s\+\)else\ze\($\|\s\+\)" end="\(^\|\s\+\)end\ze\($\|\s\+\)" contained contains=ALLBUT,rplElseEnd,rplThenEnd,rplElseifEnd keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 " THEN/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 syntax region rplThenEnd matchgroup=rplConditional start="\(^\|\s\+\)then\ze\($\|\s\+\)" end="\(^\|\s\+\)end\ze\($\|\s\+\)" contained containedin=rplIfEnd contains=ALLBUT,rplThenEnd keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 " IF/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 syntax region rplIfEnd matchgroup=rplConditional start="\(^\|\s\+\)if\(err\|\)\ze\($\|\s\+\)" end="\(^\|\s\+\)end\ze\($\|\s\+\)" contains=ALLBUT,rplElseEnd,rplElseifEnd keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 " if end is accepted !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 " select end too !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 " CASE/THEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 syntax region rplCaseThen matchgroup=rplConditional start="\(^\|\s\+\)case\ze\($\|\s\+\)" end="\(^\|\s\+\)then\ze\($\|\s\+\)" contains=ALLBUT,rplCaseThen,rplCaseEnd,rplThenEnd keepend extend contained containedin=rplCaseEnd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 " CASE/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 syntax region rplCaseEnd matchgroup=rplConditional start="\(^\|\s\+\)case\ze\($\|\s\+\)" end="\(^\|\s\+\)end\ze\($\|\s\+\)" contains=ALLBUT,rplCaseEnd,rplThenEnd,rplElseEnd keepend extend contained containedin=rplSelectEnd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 " DEFAULT/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 syntax region rplDefaultEnd matchgroup=rplConditional start="\(^\|\s\+\)default\ze\($\|\s\+\)" end="\(^\|\s\+\)end\ze\($\|\s\+\)" contains=ALLBUT,rplDefaultEnd keepend contained containedin=rplSelectEnd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 " SELECT/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 syntax region rplSelectEnd matchgroup=rplConditional start="\(^\|\s\+\)select\ze\($\|\s\+\)" end="\(^\|\s\+\)end\ze\($\|\s\+\)" contains=ALLBUT,rplThenEnd keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 " select end is accepted !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 " DO/UNTIL/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 syntax region rplUntilEnd matchgroup=rplConditional start="\(^\|\s\+\)until\ze\($\|\s\+\)" end="\(^\|\s\+\)\zsend\ze\($\|\s\+\)" contains=ALLBUT,rplUntilEnd contained containedin=rplDoUntil extend keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 syntax region rplDoUntil matchgroup=rplConditional start="\(^\|\s\+\)do\ze\($\|\s\+\)" end="\(^\|\s\+\)until\ze\($\|\s\+\)" contains=ALL keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 " WHILE/REPEAT/END
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 syntax region rplRepeatEnd matchgroup=rplConditional start="\(^\|\s\+\)repeat\ze\($\|\s\+\)" end="\(^\|\s\+\)\zsend\ze\($\|\s\+\)" contains=ALLBUT,rplRepeatEnd contained containedin=rplWhileRepeat extend keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 syntax region rplWhileRepeat matchgroup=rplConditional start="\(^\|\s\+\)while\ze\($\|\s\+\)" end="\(^\|\s\+\)repeat\ze\($\|\s\+\)" contains=ALL keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 syntax match rplCommentError "\*/"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 syntax region rplCommentString contained start=+"+ end=+"+ end=+\*/+me=s-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 syntax region rplCommentLine start="\(^\|\s\+\)//\ze" skip="\\$" end="$" contains=NONE keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 syntax region rplComment start="\(^\|\s\+\)/\*\ze" end="\*/" contains=rplCommentString keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 " Catch errors caused by too many right parentheses
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 syntax region rplParen transparent start="(" end=")" contains=ALLBUT,rplParenError,rplComplex,rplIncluded keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 syntax match rplParenError ")"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 " Subroutines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 " Catch errors caused by too many right '>>'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 syntax match rplSubError "\(^\|\s\+\)>>\ze\($\|\s\+\)"hs=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 syntax region rplSub matchgroup=rplSubDelimitor start="\(^\|\s\+\)<<\ze\($\|\s\+\)" end="\(^\|\s\+\)>>\ze\($\|\s\+\)" contains=ALLBUT,rplSubError,rplIncluded,rplDefaultEnd,rplStorageSub keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 " Expressions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 syntax region rplExpr start="\(^\|\s\+\)'" end="'\ze\($\|\s\+\)" contains=rplParen,rplParenError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 " Local variables
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 syntax match rplStorageError "\(^\|\s\+\)->\ze\($\|\s\+\)"hs=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 syntax region rplStorageSub matchgroup=rplStorage start="\(^\|\s\+\)<<\ze\($\|\s\+\)" end="\(^\|\s\+\)>>\ze\($\|\s\+\)" contains=ALLBUT,rplSubError,rplIncluded,rplDefaultEnd,rplStorageExpr contained containedin=rplLocalStorage keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 syntax region rplStorageExpr matchgroup=rplStorage start="\(^\|\s\+\)'" end="'\ze\($\|\s\+\)" contains=rplParen,rplParenError extend contained containedin=rplLocalStorage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 syntax region rplLocalStorage matchgroup=rplStorage start="\(^\|\s\+\)->\ze\($\|\s\+\)" end="\(^\|\s\+\)\(<<\ze\($\|\s\+\)\|'\)" contains=rplStorageSub,rplStorageExpr,rplComment,rplCommentLine keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 " Catch errors caused by too many right brackets
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 syntax match rplArrayError "\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 syntax match rplArray "\]" contained containedin=rplArray
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 syntax region rplArray matchgroup=rplArray start="\[" end="\]" contains=ALLBUT,rplArrayError keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 " Catch errors caused by too many right '}'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 syntax match rplListError "}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 syntax match rplList "}" contained containedin=rplList
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 syntax region rplList matchgroup=rplList start="{" end="}" contains=ALLBUT,rplListError,rplIncluded keepend extend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 " cpp is used by RPL/2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 syntax match rplPreProc "\_^#\s*\(define\|undef\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 syntax match rplPreProc "\_^#\s*\(warning\|error\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 syntax match rplPreCondit "\_^#\s*\(if\|ifdef\|ifndef\|elif\|else\|endif\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 syntax match rplIncluded contained "\<<\s*\S*\s*>\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 syntax match rplInclude "\_^#\s*include\>\s*["<]" contains=rplIncluded,rplString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 "syntax match rplExecPath "\%^\_^#!\s*\S*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 syntax match rplExecPath "\%^\_^#!\p*\_$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 " Any integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 syntax match rplInteger "\(^\|\s\+\)[-+]\=\d\+\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 " Floating point number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 " [S][ip].[fp]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 syntax match rplFloat "\(^\|\s\+\)[-+]\=\(\d*\)\=[\.,]\(\d*\)\=\ze\($\|\s\+\)" contains=ALLBUT,rplPoint,rplSign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 " [S]ip[.fp]E[S]exp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 syntax match rplFloat "\(^\|\s\+\)[-+]\=\d\+\([\.,]\d*\)\=[eE]\([-+]\)\=\d\+\ze\($\|\s\+\)" contains=ALLBUT,rplPoint,rplSign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 " [S].fpE[S]exp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 syntax match rplFloat "\(^\|\s\+\)[-+]\=\(\d*\)\=[\.,]\d\+[eE]\([-+]\)\=\d\+\ze\($\|\s\+\)" contains=ALLBUT,rplPoint,rplSign
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 syntax match rplPoint "\<[\.,]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 syntax match rplSign "\<[+-]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 " Complex number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 " (x,y)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 syntax match rplComplex "\(^\|\s\+\)([-+]\=\(\d*\)\=\.\=\d*\([eE][-+]\=\d\+\)\=\s*,\s*[-+]\=\(\d*\)\=\.\=\d*\([eE][-+]\=\d\+\)\=)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 " (x.y)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 syntax match rplComplex "\(^\|\s\+\)([-+]\=\(\d*\)\=,\=\d*\([eE][-+]\=\d\+\)\=\s*\.\s*[-+]\=\(\d*\)\=,\=\d*\([eE][-+]\=\d\+\)\=)\ze\($\|\s\+\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 " Strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 syntax match rplStringGuilles "\\\""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 syntax match rplStringAntislash "\\\\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 syntax region rplString start=+\(^\|\s\+\)"+ end=+"\ze\($\|\s\+\)+ contains=rplStringGuilles,rplStringAntislash
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 syntax match rplTab "\t" transparent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 if version >= 508 || !exists("did_rpl_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 let did_rpl_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 command -nargs=+ HiLink highlight link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 command -nargs=+ HiLink highlight default link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 " The default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 HiLink rplControl Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 HiLink rplStatement Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 HiLink rplAlgConditional Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 HiLink rplConditional Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 HiLink rplConditionalError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 HiLink rplRepeat Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 HiLink rplCycle Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 HiLink rplUntil Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 HiLink rplIntrinsic Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 HiLink rplStorage StorageClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 HiLink rplStorageExpr StorageClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 HiLink rplStorageError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 HiLink rplReadWrite rplIntrinsic
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 HiLink rplOperator Operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 HiLink rplList Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 HiLink rplArray Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 HiLink rplConstant Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 HiLink rplExpr Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 HiLink rplString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 HiLink rplStringGuilles String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 HiLink rplStringAntislash String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 HiLink rplBinary Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 HiLink rplOctal Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 HiLink rplDecimal Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 HiLink rplHexadecimal Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 HiLink rplInteger Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 HiLink rplFloat Float
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 HiLink rplComplex Float
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 HiLink rplBoolean Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 HiLink rplObsolete Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 HiLink rplPreCondit PreCondit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 HiLink rplInclude Include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 HiLink rplIncluded rplString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 HiLink rplInclude Include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 HiLink rplExecPath Include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 HiLink rplPreProc PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 HiLink rplComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 HiLink rplCommentLine Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 HiLink rplCommentString Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 HiLink rplSubDelimitor rplStorage
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 HiLink rplCommentError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 HiLink rplParenError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 HiLink rplSubError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 HiLink rplArrayError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 HiLink rplListError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 HiLink rplTab Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 HiLink rplBinaryError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 HiLink rplOctalError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 HiLink rplDecimalError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 HiLink rplHexadecimalError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 let b:current_syntax = "rpl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 " vim: ts=8 tw=132