]>
src.bluestatic.org Git - viewsvn.git/blob - includes/geshi/geshi/div.php
2 /*************************************************************************************
4 * ---------------------------------
5 * Author: Gabriel Lorenzo (ermakina@gmail.com)
6 * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
7 * Release Version: 1.0.7.5
8 * CVS Revision Version: $Revision: 1.5 $
9 * Date Started: 2005/06/19
10 * Last Modified: $Date: 2005/10/22 07:52:59 $
12 * DIV language file for GeSHi.
17 * - First Release, includes "2nd gen" ELSEIF statement
19 * TODO (updated 2005/06/22)
20 * -------------------------
21 * - I'm pretty satisfied with this, so nothing for now... :P
23 *************************************************************************************
25 * This file is part of GeSHi.
27 * GeSHi is free software; you can redistribute it and/or modify
28 * it under the terms of the GNU General Public License as published by
29 * the Free Software Foundation; either version 2 of the License, or
30 * (at your option) any later version.
32 * GeSHi is distributed in the hope that it will be useful,
33 * but WITHOUT ANY WARRANTY; without even the implied warranty of
34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 * GNU General Public License for more details.
37 * You should have received a copy of the GNU General Public License
38 * along with GeSHi; if not, write to the Free Software
39 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
41 ************************************************************************************/
43 $language_data = array (
45 'COMMENT_SINGLE' => array(1 => '//'),
46 'COMMENT_MULTI' => array('/*' => '*/'),
47 'CASE_KEYWORDS' => GESHI_CAPS_UPPER
,
48 'QUOTEMARKS' => array("'", '"'),
52 'while','until','to','switch','step','return','repeat','loop','if','from','frame','for','end','elseif',
53 'else','default','debug','continue','clone','case','break','begin'
56 'xor','whoami','type','sizeof','pointer','or','offset','not','neg','mod','id','dup','and','_ne','_lt',
57 '_le','_gt','_ge','_eq'
60 'setup_program','program','process','private','local','import','global','function','const',
64 'word','struct','string','int','byte'
68 '(',')','[',']','=','+','-','*','/','!','%','^','&',':',';',',','<','>'
70 'CASE_SENSITIVE' => array(
71 GESHI_COMMENTS
=> false,
79 1 => 'color: #0040b1;',
80 2 => 'color: #000000;',
81 3 => 'color: #000066; font-weight: bold;',
82 4 => 'color: #993333;'
85 1 => 'color: #808080; font-style: italic;',
86 'MULTI' => 'color: #808080; font-style: italic;'
88 'ESCAPE_CHAR' => array(
92 0 => 'color: #44aa44;'
95 0 => 'color: #ff0000;'
98 0 => 'color: #cc66cc;'
101 0 => 'color: #202020;',
104 0 => 'color: #44aa44;'
118 'OBJECT_SPLITTER' => '',
121 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
122 'SCRIPT_DELIMITERS' => array(
124 'HIGHLIGHT_STRICT_BLOCK' => array(