2 /*************************************************************************************
5 * Author: deguix (cevo_deguix@yahoo.com.br)
6 * Copyright: (c) 2005 deguix
7 * Release Version: 1.0.7.19
8 * Date Started: 2005/03/27
10 * INI language file for GeSHi.
15 * - Removed unnecessary keyword style index
16 * - Added support for " strings
20 * TODO (updated 2005/03/27)
21 * -------------------------
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(0 => ';'),
46 'COMMENT_MULTI' => array(),
47 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
48 'QUOTEMARKS' => array('"'),
55 'CASE_SENSITIVE' => array(
56 GESHI_COMMENTS
=> false
62 0 => 'color: #666666; font-style: italic;'
64 'ESCAPE_CHAR' => array(
80 0 => 'color: #000066; font-weight:bold;'
83 0 => 'color: #000066; font-weight:bold;',
84 1 => 'color: #000099;',
85 2 => 'color: #660066;'
94 'OBJECT_SPLITTERS' => array(
99 GESHI_SEARCH
=> '([a-zA-Z0-9_]+\s*)=(.+)',
100 GESHI_REPLACE
=> '\\1',
101 GESHI_MODIFIERS
=> '',
103 GESHI_AFTER
=> '=\\2'
106 // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched
107 // Explicit match on variable names because if a comment is before the first < of the span
109 GESHI_SEARCH
=> '([<>";a-zA-Z0-9_]+\s*)=(.+)',
110 GESHI_REPLACE
=> '\\2',
111 GESHI_MODIFIERS
=> '',
112 GESHI_BEFORE
=> '\\1=',
116 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
117 'SCRIPT_DELIMITERS' => array(
119 'HIGHLIGHT_STRICT_BLOCK' => array(