annotate runtime/syntax/baan.vim @ 823:9ab23f1e137f v7.0c12

updated for version 7.0c12
author vimboss
date Fri, 07 Apr 2006 21:40:07 +0000
parents 3fc0f57ecb91
children d3bbb5dd3913
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: Baan
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Erwin Smit / Her van de Vliert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last change: 30-10-2001"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 "************************************* 3GL ************************************"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn match baan3gl "#ident"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn match baan3gl "#include"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn match baan3gl "#define"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn match baan3gl "#undef"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match baan3gl "#pragma"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn keyword baanConditional if then else case endif while endwhile endfor endcase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword baan3gl at based break bset call common const continue default double
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn keyword baan3gl empty extern fixed function ge global goto gt le lt mb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword baan3gl multibyte ne ofr prompt ref repeat static step stop string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword baan3gl true false until void wherebind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword baan3gl and or to not in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword baan3gl domain table eq input end long dim return at base print
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match baan3gl "\<for\>" contains=baansql
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match baan3gl "on case"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match baan3gl "e\=n\=d\=dllusage"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 "************************************* SQL ************************************"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn keyword baansqlh where reference selecterror selectbind selectdo selectempty
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword baansqlh selecteos whereused endselect unref setunref clearunref
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword baansqlh from select clear skip rows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword baansql between inrange having
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match baansql "as set with \d\+ rows"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match baansql "as prepared set"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match baansql "as prepared set with \d\+ rows"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match baansql "refers to"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match baansql "with retry"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match baansql "with retry repeat last row"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match baansql "for update"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match baansql "order by"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match baansql "group by"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match baansql "commit\.transaction()"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match baansql "abort\.transaction()"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match baansql "db\.columns\.to\.record"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match baansql "db\.record\.to\.columns"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match baansql "db\.bind"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match baansql "db\.change\.order"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match baansql "\<db\.eq"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match baansql "\<db\.first"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match baansql "\<db\.gt"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match baansql "\<db\.ge"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match baansql "\<db\.le"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match baansql "\<db\.next"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match baansql "\<db\.prev"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match baansql "\<db\.insert"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match baansql "\<db\.delete"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match baansql "\<db\.update"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match baansql "\<db\.create\.table"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match baansql "db\.set\.to\.default"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match baansql "db\.retry"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn match baansql "DB\.RETRY"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn match baansql "db\.delayed\.lock"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match baansql "db\.retry\.point()"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match baansql "db\.retry\.hit()"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match baansql "db\.return\.dupl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn match baansql "db\.skip\.dupl"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match baansql "db\.row\.length"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 "************************************* 4GL ************************************"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 " Program section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn match baan4glh "declaration:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn match baan4glh "functions:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match baan4glh "before\.program:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn match baan4glh "on\.error:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match baan4glh "after\.program:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match baan4glh "after\.update.db.commit:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match baan4glh "before\.display\.object:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 " Form section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match baan4glh "form\.\d\+:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn match baan4glh "form\.all:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match baan4glh "form\.other:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match baan4gl "init\.form:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match baan4gl "before\.form:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match baan4gl "after\.form:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 " Choice section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn match baan4glh "choice\.start\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match baan4glh "choice\.first\.view:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn match baan4glh "choice\.next\.view:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn match baan4glh "choice\.prev\.view:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn match baan4glh "choice\.last\.view:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn match baan4glh "choice\.def\.find:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn match baan4glh "choice\.find\.data:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn match baan4glh "choice\.first\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn match baan4glh "choice\.next\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn match baan4glh "choice\.display\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn match baan4glh "choice\.prev\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn match baan4glh "choice\.rotate\.curr:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn match baan4glh "choice\.last\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn match baan4glh "choice\.add\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn match baan4glh "choice\.update\.db:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn match baan4glh "choice\.dupl\.occur:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn match baan4glh "choice\.recover\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn match baan4glh "choice\.mark\.delete:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn match baan4glh "choice\.mark\.occur:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn match baan4glh "choice\.change\.order:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match baan4glh "choice\.modify\.set:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn match baan4glh "choice\.restart\.input:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match baan4glh "choice\.print\.data:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn match baan4glh "choice\.create\.job:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn match baan4glh "choice\.form\.tab\.change:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn match baan4glh "choice\.first\.frm:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn match baan4glh "choice\.next\.frm:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn match baan4glh "choice\.prev\.frm:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn match baan4glh "choice\.last\.frm:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn match baan4glh "choice\.resize\.frm:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match baan4glh "choice\.cmd\.options:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn match baan4glh "choice\.zoom:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match baan4glh "choice\.interrupt:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn match baan4glh "choice\.end\.program:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn match baan4glh "choice\.abort\.program:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn match baan4glh "choice\.cont\.process:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn match baan4glh "choice\.text\.manager:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn match baan4glh "choice\.run\.job:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn match baan4glh "choice\.global\.delete:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn match baan4glh "choice\.global\.copy:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn match baan4glh "choice\.save\.defaults"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match baan4glh "choice\.get\.defaults:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn match baan4glh "choice\.start\.chart:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn match baan4glh "choice\.start\.query:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn match baan4glh "choice\.user\.\d:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn match baan4glh "choice\.ask\.helpinfo:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn match baan4glh "choice\.calculator:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn match baan4glh "choice\.calendar:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn match baan4glh "choice\.bms:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn match baan4glh "choice\.cmd\.whats\.this:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match baan4glh "choice\.help\.index:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn match baan4gl "before\.choice:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn match baan4gl "on\.choice:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn match baan4gl "after\.choice:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 " Field section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn match baan4glh "field\.\l\{5}\d\{3}\.\l\{4}\.\=c\=:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn match baan4glh "field\.e\..\+:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn match baan4glh "field\.all:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn match baan4glh "field\.other:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn match baan4gl "init\.field:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn match baan4gl "before\.field:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn match baan4gl "before\.input:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn match baan4gl "before\.display:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn match baan4gl "before\.zoom:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn match baan4gl "before\.checks:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn match baan4gl "domain\.error:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn match baan4gl "ref\.input:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn match baan4gl "ref\.display:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn match baan4gl "check\.input:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn match baan4gl "on\.input:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn match baan4gl "when\.field\.changes:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn match baan4gl "after\.zoom:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn match baan4gl "after\.input:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn match baan4gl "after\.display:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn match baan4gl "after\.field:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 " Group section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn match baan4glh "group\.\d\+:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn match baan4gl "init\.group:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 syn match baan4gl "before\.group:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn match baan4gl "after\.group:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 " Zoom section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 syn match baan4glh "zoom\.from\..\+:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 syn match baan4gl "on\.entry:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn match baan4gl "on\.exit:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 " Main table section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn match baan4glh "main\.table\.io:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn match baan4gl "before\.read:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 syn match baan4gl "after\.read:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 syn match baan4gl "before\.write:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syn match baan4gl "after\.write:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn match baan4gl "after\.skip\.write:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn match baan4gl "before\.rewrite:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syn match baan4gl "after\.rewrite:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syn match baan4gl "after\.skip\.rewrite:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syn match baan4gl "before\.delete:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 syn match baan4gl "after\.delete:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 syn match baan4gl "after\.skip\.delete:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syn match baan4gl "read\.view:"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 "number without a dot."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syn match baanNumber "\<\-\=\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 "number with dot"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 syn match baanNumber "\<\-\=\d\+\.\d*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 "number starting with a dot"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syn match baanNumber "\<\-\=\.\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 " String"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn region baanString start=+"+ skip=+""+ end=+"+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 " Comment"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn match baanComment "|$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn match baanComment "|.$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn match baanComment "|[^ ]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 syn match baanComment "|[^#].*[^ ]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 syn match baanCommenth "^|#lra.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn match baanCommenth "^|#mdm.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 syn match baanCommenth "^|#[0-9][0-9][0-9][0-9][0-9].*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 syn match baanCommenth "^|#N\=o\=Include.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syn region baanComment start="dllusage" end="enddllusage"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 " Oldcode"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syn match baanUncommented "^|[^*#].*[^ ]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 " SpaceError"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syn match BaanSpaces " "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syn match baanSpaceError "\s*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 syn match baanSpaceError " "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 " 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
222 if version >= 508 || !exists("did_baan_syn_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 let did_c_syn_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 HiLink baanConditional Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 HiLink baan3gl Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 HiLink baan4gl Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 HiLink baan4glh Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 HiLink baansql Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 HiLink baansqlh Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 HiLink baanNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 HiLink baanString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 HiLink baanComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 HiLink baanCommenth Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 HiLink baanUncommented Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 let b:current_syntax = "baan"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 " vim: ts=8