10 {
12
13
14
15
16
17
18 $this->nocase = "1";
19 $this->notrim = "0";
20 $this->perl = "0";
21
22
23
24 $this->colours = array("blue", "purple", "gray", "brown", "blue");
25 $this->quotecolour = "blue";
26 $this->blockcommentcolour = "green";
27 $this->linecommentcolour = "green";
28
29
30
31 $this->indent = array();
32 $this->unindent = array();
33
34
35
36 $this->stringchars = array("\"", ";");
37 $this->delimiters = array("#", "$", "(", ")", "+", ",", ".", "/", ":", ";", "<", " ", "=", " ", ">", "\\");
38 $this->escchar = "";
39
40
41
42 $this->linecommenton = array("rem");
43 $this->blockcommenton = array("");
44 $this->blockcommentoff = array("");
45
46
47
48 $this->keywords = array(
49 "do" => "1",
50 "else" => "1",
51 "end" => "1",
52 "errorlevel" => "1",
53 "exist" => "1",
54 "exit" => "1",
55 "for" => "1",
56 "goto" => "1",
57 "if" => "1",
58 "not" => "1",
59 "pause" => "1",
60 "return" => "1",
61 "say" => "1",
62 "select" => "1",
63 "then" => "1",
64 "when" => "1",
65 "ansi" => "2",
66 "append" => "2",
67 "assign" => "2",
68 "attrib" => "2",
69 "autofail" => "2",
70 "backup" => "2",
71 "basedev" => "2",
72 "boot" => "2",
73 "break" => "2",
74 "buffers" => "2",
75 "cache" => "2",
76 "call" => "2",
77 "cd" => "2",
78 "chcp" => "2",
79 "chdir" => "2",
80 "chkdsk" => "2",
81 "choice" => "2",
82 "cls" => "2",
83 "cmd" => "2",
84 "codepage" => "2",
85 "command" => "2",
86 "comp" => "2",
87 "copy" => "2",
88 "country" => "2",
89 "date" => "2",
90 "ddinstal" => "2",
91 "debug" => "2",
92 "del" => "2",
93 "detach" => "2",
94 "device" => "2",
95 "devicehigh" => "2",
96 "devinfo" => "2",
97 "dir" => "2",
98 "diskcoache" => "2",
99 "diskcomp" => "2",
100 "diskcopy" => "2",
101 "doskey" => "2",
102 "dpath" => "2",
103 "dumpprocess" => "2",
104 "eautil" => "2",
105 "endlocal" => "2",
106 "erase" => "2",
107 "exit_vdm" => "2",
108 "extproc" => "2",
109 "fcbs" => "2",
110 "fdisk" => "2",
111 "fdiskpm" => "2",
112 "files" => "2",
113 "find" => "2",
114 "format" => "2",
115 "fsaccess" => "2",
116 "fsfilter" => "2",
117 "graftabl" => "2",
118 "iopl" => "2",
119 "join" => "2",
120 "keyb" => "2",
121 "keys" => "2",
122 "label" => "2",
123 "lastdrive" => "2",
124 "libpath" => "2",
125 "lh" => "2",
126 "loadhigh" => "2",
127 "makeini" => "2",
128 "maxwait" => "2",
129 "md" => "2",
130 "mem" => "2",
131 "memman" => "2",
132 "mkdir" => "2",
133 "mode" => "2",
134 "move" => "2",
135 "net" => "2",
136 "patch" => "2",
137 "path" => "2",
138 "pauseonerror" => "2",
139 "picview" => "2",
140 "pmrexx" => "2",
141 "print" => "2",
142 "printmonbufsize" => "2",
143 "priority" => "2",
144 "priority_disk_io" => "2",
145 "prompt" => "2",
146 "protectonly" => "2",
147 "protshell" => "2",
148 "pstat" => "2",
149 "rd" => "2",
150 "recover" => "2",
151 "reipl" => "2",
152 "ren" => "2",
153 "rename" => "2",
154 "replace" => "2",
155 "restore" => "2",
156 "rmdir" => "2",
157 "rmsize" => "2",
158 "run" => "2",
159 "set" => "2",
160 "setboot" => "2",
161 "setlocal" => "2",
162 "shell" => "2",
163 "shift" => "2",
164 "sort" => "2",
165 "spool" => "2",
166 "start" => "2",
167 "subst" => "2",
168 "suppresspopups" => "2",
169 "swappath" => "2",
170 "syslevel" => "2",
171 "syslog" => "2",
172 "threads" => "2",
173 "time" => "2",
174 "timeslice" => "2",
175 "trace" => "2",
176 "tracebuf" => "2",
177 "tracefmt" => "2",
178 "trapdump" => "2",
179 "tree" => "2",
180 "type" => "2",
181 "undelete" => "2",
182 "unpack" => "2",
183 "use" => "2",
184 "ver" => "2",
185 "verify" => "2",
186 "view" => "2",
187 "vmdisk" => "2",
188 "vol" => "2",
189 "xcopy" => "2",
190 "xcopy32" => "2",
191 "xdfcopy" => "2",
192 "@echo" => "3",
193 "echo" => "3",
194 "off" => "3",
195 "on" => "3",
196 ";" => "4",
197 "#" => "5",
198 "$" => "5",
199 "(" => "5",
200 ")" => "5",
201 "+" => "5",
202 "," => "5",
203 "." => "5",
204 "//" => "5",
205 "/" => "5",
206 ":" => "5",
207 "<" => "5",
208 "=" => "5",
209 ">" => "5",
210 "\\" => "5");
211
212
213
214
215
216
217
218
219 $this->linkscripts = array(
220 "1" => "donothing",
221 "2" => "donothing",
222 "3" => "donothing",
223 "4" => "donothing",
224 "5" => "donothing");
225 }