Initial WebM release
[libvpx.git] / examples / includes / geshi / geshi / div.php
blobd3d506d3d1bacc774401f18329914b29907aadd6
1 <?php
2 /*************************************************************************************
3 * div.php
4 * ---------------------------------
5 * Author: Gabriel Lorenzo (ermakina@gmail.com)
6 * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
7 * Release Version: 1.0.8.3
8 * Date Started: 2005/06/19
10 * DIV language file for GeSHi.
12 * CHANGES
13 * -------
14 * 2005/06/22 (1.0.0)
15 * - First Release, includes "2nd gen" ELSEIF statement
17 * TODO (updated 2005/06/22)
18 * -------------------------
19 * - I'm pretty satisfied with this, so nothing for now... :P
21 *************************************************************************************
23 * This file is part of GeSHi.
25 * GeSHi is free software; you can redistribute it and/or modify
26 * it under the terms of the GNU General Public License as published by
27 * the Free Software Foundation; either version 2 of the License, or
28 * (at your option) any later version.
30 * GeSHi is distributed in the hope that it will be useful,
31 * but WITHOUT ANY WARRANTY; without even the implied warranty of
32 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 * GNU General Public License for more details.
35 * You should have received a copy of the GNU General Public License
36 * along with GeSHi; if not, write to the Free Software
37 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
39 ************************************************************************************/
41 $language_data = array (
42 'LANG_NAME' => 'DIV',
43 'COMMENT_SINGLE' => array(1 => '//'),
44 'COMMENT_MULTI' => array('/*' => '*/'),
45 'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
46 'QUOTEMARKS' => array("'", '"'),
47 'ESCAPE_CHAR' => '',
48 'KEYWORDS' => array(
49 1 => array(
50 'while','until','to','switch','step','return','repeat','loop','if','from','frame','for','end','elseif',
51 'else','default','debug','continue','clone','case','break','begin'
53 2 => array(
54 'xor','whoami','type','sizeof','pointer','or','offset','not','neg','mod','id','dup','and','_ne','_lt',
55 '_le','_gt','_ge','_eq'
57 3 => array(
58 'setup_program','program','process','private','local','import','global','function','const',
59 'compiler_options'
61 4 => array(
62 'word','struct','string','int','byte'
65 'SYMBOLS' => array(
66 '(',')','[',']','=','+','-','*','/','!','%','^','&',':',';',',','<','>'
68 'CASE_SENSITIVE' => array(
69 GESHI_COMMENTS => false,
70 1 => false,
71 2 => false,
72 3 => false,
73 4 => false,
75 'STYLES' => array(
76 'KEYWORDS' => array(
77 1 => 'color: #0040b1;',
78 2 => 'color: #000000;',
79 3 => 'color: #000066; font-weight: bold;',
80 4 => 'color: #993333;'
82 'COMMENTS' => array(
83 1 => 'color: #808080; font-style: italic;',
84 'MULTI' => 'color: #808080; font-style: italic;'
86 'ESCAPE_CHAR' => array(
87 0 => ''
89 'BRACKETS' => array(
90 0 => 'color: #44aa44;'
92 'STRINGS' => array(
93 0 => 'color: #ff0000;'
95 'NUMBERS' => array(
96 0 => 'color: #cc66cc;'
98 'METHODS' => array(
99 0 => 'color: #202020;',
101 'SYMBOLS' => array(
102 0 => 'color: #44aa44;'
104 'REGEXPS' => array(
106 'SCRIPT' => array(
109 'URLS' => array(
110 1 => '',
111 2 => '',
112 3 => '',
113 4 => ''
115 'OOLANG' => false,
116 'OBJECT_SPLITTERS' => array(),
117 'REGEXPS' => array(
119 'STRICT_MODE_APPLIES' => GESHI_NEVER,
120 'SCRIPT_DELIMITERS' => array(
122 'HIGHLIGHT_STRICT_BLOCK' => array(