1 | 1 | simandl | <?php |
2 | | | /************************************************************************************* |
3 | | | * genero.php |
4 | | | * ---------- |
5 | | | * Author: Lars Gersmann (lars.gersmann@gmail.com) |
6 | | | * Copyright: (c) 2007 Lars Gersmann, Nigel McNie (http://qbnz.com/highlighter/) |
7 | 3 | simandl | * Release Version: 1.0.8.3 |
8 | 1 | simandl | * Date Started: 2007/07/01 |
9 | | | * |
10 | | | * Genero (FOURJ's Genero 4GL) language file for GeSHi. |
11 | | | * |
12 | | | * CHANGES |
13 | | | * ------- |
14 | | | * 2007/07/01 (1.0.0) |
15 | | | * - Initial release |
16 | | | * |
17 | | | ************************************************************************************* |
18 | | | * |
19 | | | * This file is part of GeSHi. |
20 | | | * |
21 | | | * GeSHi is free software; you can redistribute it and/or modify |
22 | | | * it under the terms of the GNU General Public License as published by |
23 | | | * the Free Software Foundation; either version 2 of the License, or |
24 | | | * (at your option) any later version. |
25 | | | * |
26 | | | * GeSHi is distributed in the hope that it will be useful, |
27 | | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
28 | | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
29 | | | * GNU General Public License for more details. |
30 | | | * |
31 | | | * You should have received a copy of the GNU General Public License |
32 | | | * along with GeSHi; if not, write to the Free Software |
33 | | | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
34 | | | * |
35 | | | ************************************************************************************/ |
36 | | | |
37 | | | $language_data = array ( |
38 | | | 'LANG_NAME' => 'genero', |
39 | | | 'COMMENT_SINGLE' => array(1 => '--', 2 => '#'), |
40 | | | 'COMMENT_MULTI' => array('{' => '}'), |
41 | | | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
42 | | | 'QUOTEMARKS' => array("'", '"'), |
43 | | | 'ESCAPE_CHAR' => '\\', |
44 | | | 'KEYWORDS' => array( |
45 | | | 1 => array( |
46 | | | "ABSOLUTE", |
47 | | | "ACCEPT", |
48 | | | "ACTION", |
49 | | | "ADD", |
50 | | | "AFTER", |
51 | | | "ALL", |
52 | | | "ALTER", |
53 | | | "AND", |
54 | | | "ANY", |
55 | | | "APPEND", |
56 | | | "APPLICATION", |
57 | | | "AS", |
58 | | | "AT", |
59 | | | "ATTRIBUTE", |
60 | | | "ATTRIBUTES", |
61 | | | "AUDIT", |
62 | | | "AVG", |
63 | | | "BEFORE", |
64 | | | "BEGIN", |
65 | | | "BETWEEN", |
66 | | | "BORDER", |
67 | | | "BOTTOM", |
68 | | | "BREAKPOINT", |
69 | | | "BUFFER", |
70 | | | "BUFFERED", |
71 | | | "BY", |
72 | | | "CALL", |
73 | | | "CANCEL", |
74 | | | "CASE", |
75 | | | "CENTURY", |
76 | | | "CHANGE", |
77 | | | "CHECK", |
78 | | | "CLEAR", |
79 | | | "CLIPPED", |
80 | | | "CLOSE", |
81 | | | "CLUSTER", |
82 | | | "COLUMN", |
83 | | | "COLUMNS", |
84 | | | "COMMAND", |
85 | | | "COMMENT", |
86 | | | "COMMIT", |
87 | | | "COMMITTED", |
88 | | | "CONCURRENT ", |
89 | | | "CONNECT", |
90 | | | "CONNECTION", |
91 | | | "CONSTANT", |
92 | | | "CONSTRAINED", |
93 | | | "CONSTRAINT", |
94 | | | "CONSTRUCT", |
95 | | | "CONTINUE", |
96 | | | "CONTROL", |
97 | | | "COUNT", |
98 | | | "CREATE", |
99 | | | "CROSS", |
100 | | | "CURRENT", |
101 | | | "DATABASE", |
102 | | | "DBA", |
103 | | | "DEC", |
104 | | | "DECLARE", |
105 | | | "DEFAULT", |
106 | | | "DEFAULTS", |
107 | | | "DEFER", |
108 | | | "DEFINE", |
109 | | | "DELETE", |
110 | | | "DELIMITER", |
111 | | | "DESCRIBE", |
112 | | | "DESTINATION", |
113 | | | "DIM", |
114 | | | "DIALOG", |
115 | | | "DIMENSION", |
116 | | | "DIRTY", |
117 | | | "DISCONNECT", |
118 | | | "DISPLAY", |
119 | | | "DISTINCT", |
120 | | | "DORMANT", |
121 | | | "DOWN", |
122 | | | "DROP", |
123 | | | "DYNAMIC", |
124 | | | "ELSE", |
125 | | | "END", |
126 | | | "ERROR", |
127 | | | "ESCAPE", |
128 | | | "EVERY", |
129 | | | "EXCLUSIVE", |
130 | | | "EXECUTE", |
131 | | | "EXISTS", |
132 | | | "EXIT", |
133 | | | "EXPLAIN", |
134 | | | "EXTEND", |
135 | | | "EXTENT", |
136 | | | "EXTERNAL", |
137 | | | "FETCH", |
138 | | | "FGL_DRAWBOX", |
139 | | | "FIELD", |
140 | | | "FIELD_TOUCHED", |
141 | | | "FILE", |
142 | | | "FILL", |
143 | | | "FINISH", |
144 | | | "FIRST", |
145 | | | "FLOAT", |
146 | | | "FLUSH", |
147 | | | "FOR", |
148 | | | "FOREACH", |
149 | | | "FORM", |
150 | | | "FORMAT", |
151 | | | "FOUND", |
152 | | | "FRACTION", |
153 | | | "FREE", |
154 | | | "FROM", |
155 | | | "FULL", |
156 | | | "FUNCTION", |
157 | | | "GET_FLDBUF", |
158 | | | "GLOBALS", |
159 | | | "GO", |
160 | | | "GOTO", |
161 | | | "GRANT", |
162 | | | "GROUP", |
163 | | | "HAVING", |
164 | | | "HEADER", |
165 | | | "HELP", |
166 | | | "HIDE", |
167 | | | "HOLD", |
168 | | | "HOUR", |
169 | | | "IDLE", |
170 | | | "IF", |
171 | | | "IMAGE", |
172 | | | "IMMEDIATE", |
173 | | | "IN", |
174 | | | "INDEX", |
175 | | | "INFIELD", |
176 | | | "INITIALIZE", |
177 | | | "INNER", |
178 | | | "INPUT", |
179 | | | "INSERT", |
180 | | | "INTERRUPT", |
181 | | | "INTERVAL", |
182 | | | "INTO", |
183 | | | "INVISIBLE", |
184 | | | "IS", |
185 | | | "ISOLATION", |
186 | | | "JOIN", |
187 | | | "KEEP", |
188 | | | "KEY", |
189 | | | "LABEL", |
190 | | | "LAST", |
191 | | | "LEFT", |
192 | | | "LENGTH", |
193 | | | "LET", |
194 | | | "LIKE", |
195 | | | "LINE", |
196 | | | "LINENO", |
197 | | | "LINES", |
198 | | | "LOAD", |
199 | | | "LOCATE", |
200 | | | "LOCK", |
201 | | | "LOG", |
202 | | | "LSTR", |
203 | | | "MAIN", |
204 | | | "MARGIN", |
205 | | | "MATCHES", |
206 | | | "MAX", |
207 | | | "MAXCOUNT", |
208 | | | "MDY", |
209 | | | "MEMORY", |
210 | | | "MENU", |
211 | | | "MESSAGE", |
212 | | | "MIN", |
213 | | | "MINUTE", |
214 | | | "MOD", |
215 | | | "MODE", |
216 | | | "MODIFY", |
217 | | | "MONEY", |
218 | | | "NAME", |
219 | | | "NEED", |
220 | | | "NEXT", |
221 | | | "NO", |
222 | | | "NORMAL", |
223 | | | "NOT", |
224 | | | "NOTFOUND", |
225 | | | "NULL", |
226 | | | "NUMERIC", |
227 | | | "OF", |
228 | | | "ON", |
229 | | | "OPEN", |
230 | | | "OPTION", |
231 | | | "OPTIONS", |
232 | | | "OR", |
233 | | | "ORDER", |
234 | | | "OTHERWISE", |
235 | | | "OUTER", |
236 | | | "OUTPUT", |
237 | | | "PAGE", |
238 | | | "PAGENO", |
239 | | | "PAUSE", |
240 | | | "PERCENT", |
241 | | | "PICTURE", |
242 | | | "PIPE", |
243 | | | "PRECISION", |
244 | | | "PREPARE", |
245 | | | "PREVIOUS", |
246 | | | "PRINT", |
247 | | | "PRINTER", |
248 | | | "PRINTX", |
249 | | | "PRIOR", |
250 | | | "PRIVILEGES", |
251 | | | "PROCEDURE", |
252 | | | "PROGRAM", |
253 | | | "PROMPT", |
254 | | | "PUBLIC", |
255 | | | "PUT", |
256 | | | "QUIT", |
257 | | | "READ", |
258 | | | "REAL", |
259 | | | "RECORD", |
260 | | | "RECOVER", |
261 | | | "RED ", |
262 | | | "RELATIVE", |
263 | | | "RENAME", |
264 | | | "REOPTIMIZATION", |
265 | | | "REPEATABLE", |
266 | | | "REPORT", |
267 | | | "RESOURCE", |
268 | | | "RETURN", |
269 | | | "RETURNING", |
270 | | | "REVERSE", |
271 | | | "REVOKE", |
272 | | | "RIGHT", |
273 | | | "ROLLBACK", |
274 | | | "ROLLFORWARD", |
275 | | | "ROW", |
276 | | | "ROWS", |
277 | | | "RUN", |
278 | | | "SCHEMA", |
279 | | | "SCREEN", |
280 | | | "SCROLL", |
281 | | | "SECOND", |
282 | | | "SELECT", |
283 | | | "SERIAL", |
284 | | | "SET", |
285 | | | "SFMT", |
286 | | | "SHARE", |
287 | | | "SHIFT", |
288 | | | "SHOW", |
289 | | | "SIGNAL ", |
290 | | | "SIZE", |
291 | | | "SKIP", |
292 | | | "SLEEP", |
293 | | | "SOME", |
294 | | | "SPACE", |
295 | | | "SPACES", |
296 | | | "SQL", |
297 | | | "SQLERRMESSAGE", |
298 | | | "SQLERROR", |
299 | | | "SQLSTATE", |
300 | | | "STABILITY", |
301 | | | "START", |
302 | | | "STATISTICS", |
303 | | | "STEP", |
304 | | | "STOP", |
305 | | | "STYLE", |
306 | | | "SUM", |
307 | | | "SYNONYM", |
308 | | | "TABLE", |
309 | | | "TEMP", |
310 | | | "TERMINATE", |
311 | | | "TEXT", |
312 | | | "THEN", |
313 | | | "THROUGH", |
314 | | | "THRU", |
315 | | | "TO", |
316 | | | "TODAY", |
317 | | | "TOP", |
318 | | | "TRAILER", |
319 | | | "TRANSACTION ", |
320 | | | "UNBUFFERED", |
321 | | | "UNCONSTRAINED", |
322 | | | "UNDERLINE", |
323 | | | "UNION", |
324 | | | "UNIQUE", |
325 | | | "UNITS", |
326 | | | "UNLOAD", |
327 | | | "UNLOCK", |
328 | | | "UP", |
329 | | | "UPDATE", |
330 | | | "USE", |
331 | | | "USER", |
332 | | | "USING", |
333 | | | "VALIDATE", |
334 | | | "VALUE", |
335 | | | "VALUES", |
336 | | | "VARCHAR", |
337 | | | "VIEW", |
338 | | | "WAIT", |
339 | | | "WAITING", |
340 | | | "WARNING", |
341 | | | "WHEN", |
342 | | | "WHENEVER", |
343 | | | "WHERE", |
344 | | | "WHILE", |
345 | | | "WINDOW", |
346 | | | "WITH", |
347 | | | "WITHOUT", |
348 | | | "WORDWRAP", |
349 | | | "WORK", |
350 | | | "WRAP" |
351 | | | ), |
352 | | | 2 => array( |
353 | | | '&IFDEF', '&ENDIF' |
354 | | | ), |
355 | | | 3 => array( |
356 | | | "ARRAY", |
357 | | | "BYTE", |
358 | | | "CHAR", |
359 | | | "CHARACTER", |
360 | | | "CURSOR", |
361 | | | "DATE", |
362 | | | "DATETIME", |
363 | | | "DECIMAL", |
364 | | | "DOUBLE", |
365 | | | "FALSE", |
366 | | | "INT", |
367 | | | "INTEGER", |
368 | | | "SMALLFLOAT", |
369 | | | "SMALLINT", |
370 | | | "STRING", |
371 | | | "TIME", |
372 | | | "TRUE" |
373 | | | ), |
374 | | | 4 => array( |
375 | | | "BLACK", |
376 | | | "BLINK", |
377 | | | "BLUE", |
378 | | | "BOLD", |
379 | | | "ANSI", |
380 | | | "ASC", |
381 | | | "ASCENDING", |
382 | | | "ASCII", |
383 | | | "CYAN", |
384 | | | "DESC", |
385 | | | "DESCENDING", |
386 | | | "GREEN", |
387 | | | "MAGENTA", |
388 | | | "OFF", |
389 | | | "WHITE", |
390 | | | "YELLOW", |
391 | | | "YEAR", |
392 | | | "DAY", |
393 | | | "MONTH", |
394 | | | "WEEKDAY" |
395 | | | ), |
396 | | | ), |
397 | | | 'SYMBOLS' => array( |
398 | | | '+', '-', '*', '?', '=', '/', '%', '>', '<', '^', '!', '|', ':', |
399 | | | '(', ')', '[', ']' |
400 | | | ), |
401 | | | 'CASE_SENSITIVE' => array( |
402 | | | GESHI_COMMENTS => false, |
403 | | | 1 => false, |
404 | | | 2 => false, |
405 | | | 3 => false, |
406 | | | 4 => false, |
407 | | | ), |
408 | | | 'STYLES' => array( |
409 | | | 'KEYWORDS' => array( |
410 | | | 1 => 'color: #0600FF;', |
411 | | | 2 => 'color: #0000FF; font-weight: bold;', |
412 | | | 3 => 'color: #008000;', |
413 | | | 4 => 'color: #FF0000;', |
414 | | | ), |
415 | | | 'COMMENTS' => array( |
416 | | | 1 => 'color: #008080; font-style: italic;', |
417 | | | 2 => 'color: #008080;', |
418 | | | 'MULTI' => 'color: #008080; font-style: italic;' |
419 | | | ), |
420 | | | 'ESCAPE_CHAR' => array( |
421 | | | |
422 | | | ), |
423 | | | 'BRACKETS' => array( |
424 | | | |
425 | | | ), |
426 | | | 'STRINGS' => array( |
427 | | | |
428 | | | ), |
429 | | | 'NUMBERS' => array( |
430 | | | |
431 | | | ), |
432 | | | 'METHODS' => array( |
433 | | | 1 => 'color: #0000FF;', |
434 | | | 2 => 'color: #0000FF;' |
435 | | | ), |
436 | | | 'SYMBOLS' => array( |
437 | | | |
438 | | | ), |
439 | | | 'REGEXPS' => array( |
440 | | | ), |
441 | | | 'SCRIPT' => array( |
442 | | | ) |
443 | | | ), |
444 | | | 'URLS' => array( |
445 | | | 1 => '', |
446 | | | 2 => '', |
447 | | | 3 => '', |
448 | | | 4 => '' |
449 | | | ), |
450 | | | 'OOLANG' => true, |
451 | | | 'OBJECT_SPLITTERS' => array( |
452 | | | 1 => '.' |
453 | | | ), |
454 | | | 'REGEXPS' => array( |
455 | | | ), |
456 | | | 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
457 | | | 'SCRIPT_DELIMITERS' => array( |
458 | | | ), |
459 | | | 'HIGHLIGHT_STRICT_BLOCK' => array( |
460 | | | ) |
461 | | | ); |
462 | | | |
463 | | | ?> |