2 /*************************************************************************************
5 * Author: Thomas Kuehne (thomas@kuehne.cn)
6 * Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/)
7 * Release Version: 1.0.7.19
8 * Date Started: 2005/04/22
10 * D language file for GeSHi.
15 * - added _d_* and sizeof/ptrdiff_t
19 * TODO (updated 2005/04/22)
20 * -------------------------
22 * * correct handling of r"" and ``
23 * * correct handling of ... and ..
25 *************************************************************************************
27 * This file is part of GeSHi.
29 * GeSHi is free software; you can redistribute it and/or modify
30 * it under the terms of the GNU General Public License as published by
31 * the Free Software Foundation; either version 2 of the License, or
32 * (at your option) any later version.
34 * GeSHi is distributed in the hope that it will be useful,
35 * but WITHOUT ANY WARRANTY; without even the implied warranty of
36 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
37 * GNU General Public License for more details.
39 * You should have received a copy of the GNU General Public License
40 * along with GeSHi; if not, write to the Free Software
41 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
43 ************************************************************************************/
45 $language_data = array (
47 'COMMENT_SINGLE' => array(1 => '//'),
48 'COMMENT_MULTI' => array('/*' => '*/'),
49 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
50 'QUOTEMARKS' => array('"', "'", '`'),
51 'ESCAPE_CHAR' => '\\',
107 'OutOfMemoryException',
129 '_d_monitor_handler',
140 '_d_exception_filter',
149 '_d_create_exception_object',
151 '_d_arraysetlengthb',
160 '_d_arraycast_frombit',
220 '(', ')', '[', ']', '{', '}', '?', '!', ';', ':', ',', '...', '..',
221 '+', '-', '*', '/', '%', '&', '|', '^', '<', '>', '=', '~',
223 'CASE_SENSITIVE' => array(
224 GESHI_COMMENTS
=> true
,
232 1 => 'color: #b1b100;',
233 2 => 'color: #000000; font-weight: bold;',
234 3 => 'color: #aaaadd; font-weight: bold;',
235 4 => 'color: #993333;'
238 1=> 'color: #808080; font-style: italic;',
239 2=> 'color: #a1a100;',
240 'MULTI' => 'color: #808080; font-style: italic;'
242 'ESCAPE_CHAR' => array(
243 0 => 'color: #000099; font-weight: bold;'
246 0 => 'color: #66cc66;'
249 0 => 'color: #ff0000;'
252 0 => 'color: #cc66cc;'
255 1 => 'color: #006600;',
256 2 => 'color: #006600;'
259 0 => 'color: #66cc66;'
273 'OBJECT_SPLITTERS' => array(
278 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
279 'SCRIPT_DELIMITERS' => array(
281 'HIGHLIGHT_STRICT_BLOCK' => array(