plugins/geshi/geshi/d.php
author Dan
Fri, 29 May 2009 19:30:59 -0400
changeset 2 9e3258dfae15
parent 0 441963e5b07a
child 3 f3e2bbbd2155
permissions -rwxr-xr-x
Updated GeSHi. w00t.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     1
<?php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     2
/*************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     3
 * d.php
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     4
 * -----
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     5
 * Author: Thomas Kuehne (thomas@kuehne.cn)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     6
 * Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/)
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
     7
 * Release Version: 1.0.8.2
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     8
 * Date Started: 2005/04/22
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     9
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    10
 * D language file for GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    11
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    12
 * CHANGES
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    13
 * -------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    14
 * 2005/04/22 (0.0.2)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    15
 *  -  added _d_* and sizeof/ptrdiff_t
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    16
 * 2005/04/20 (0.0.1)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    17
 *  -  First release
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    18
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    19
 * TODO (updated 2005/04/22)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    20
 * -------------------------
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    21
 * * nested comments
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    22
 * * correct handling of r"" and ``
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    23
 * * correct handling of ... and ..
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    24
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    25
 *************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    26
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    27
 *     This file is part of GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    28
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    29
 *   GeSHi is free software; you can redistribute it and/or modify
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    30
 *   it under the terms of the GNU General Public License as published by
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    31
 *   the Free Software Foundation; either version 2 of the License, or
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    32
 *   (at your option) any later version.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    33
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    34
 *   GeSHi is distributed in the hope that it will be useful,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    35
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    36
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    37
 *   GNU General Public License for more details.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    38
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    39
 *   You should have received a copy of the GNU General Public License
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    40
 *   along with GeSHi; if not, write to the Free Software
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    41
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    42
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    43
 ************************************************************************************/
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    44
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    45
$language_data = array (
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    46
    'LANG_NAME' => 'D',
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    47
    'COMMENT_SINGLE' => array(2 => '///', 1 => '//'),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    48
    'COMMENT_MULTI' => array('/*' => '*/'),
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    49
    'COMMENT_REGEXP' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    50
        // doxygen comments
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    51
        3 => '#/\*\*(?![\*\/]).*\*/#sU',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    52
        // raw strings
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    53
        4 => '#r"[^"]*"#s',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    54
        // Script Style interpreter comment
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    55
        5 => "/\A#!(?=\\/).*?$/m"
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    56
        ),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    57
    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    58
    'QUOTEMARKS' => array('"', "'"),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    59
    'ESCAPE_CHAR' => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    60
    'ESCAPE_REGEXP' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    61
        //Simple Single Char Escapes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    62
        1 => "#\\\\[abfnrtv\\'\"?\n]#i",
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    63
        //Hexadecimal Char Specs
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    64
        2 => "#\\\\x[\da-fA-F]{2}#",
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    65
        //Hexadecimal Char Specs
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    66
        3 => "#\\\\u[\da-fA-F]{4}#",
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    67
        //Hexadecimal Char Specs
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    68
        4 => "#\\\\U[\da-fA-F]{8}#",
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    69
        //Octal Char Specs
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    70
        5 => "#\\\\[0-7]{1,3}#",
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    71
        //Named entity escapes
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    72
        /*6 => "#\\\\&(?:quot|amp|lt|gt|OElig|oelig|Scaron|scaron|Yuml|circ|tilde|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    73
            "ensp|emsp|thinsp|zwnj|zwj|lrm|rlm|ndash|mdash|lsquo|rsquo|sbquo|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    74
            "ldquo|rdquo|bdquo|dagger|Dagger|permil|lsaquo|rsaquo|euro|nbsp|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    75
            "iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    76
            "shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    77
            "sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    78
            "Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    79
            "Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    80
            "times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    81
            "aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    82
            "euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    83
            "otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    84
            "yuml|fnof|Alpha|Beta|Gamma|Delta|Epsilon|Zeta|Eta|Theta|Iota|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    85
            "Kappa|Lambda|Mu|Nu|Xi|Omicron|Pi|Rho|Sigma|Tau|Upsilon|Phi|Chi|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    86
            "Psi|Omega|alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    87
            "kappa|lambda|mu|nu|xi|omicron|pi|rho|sigmaf|sigma|tau|upsilon|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    88
            "phi|chi|psi|omega|thetasym|upsih|piv|bull|hellip|prime|Prime|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    89
            "oline|frasl|weierp|image|real|trade|alefsym|larr|uarr|rarr|darr|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    90
            "harr|crarr|lArr|uArr|rArr|dArr|hArr|forall|part|exist|empty|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    91
            "nabla|isin|notin|ni|prod|sum|minus|lowast|radic|prop|infin|ang|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    92
            "and|or|cap|cup|int|there4|sim|cong|asymp|ne|equiv|le|ge|sub|sup|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    93
            "nsub|sube|supe|oplus|otimes|perp|sdot|lceil|rceil|lfloor|rfloor|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    94
            "lang|rang|loz|spades|clubs|hearts|diams);#",*/
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    95
        // optimized:
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    96
        6 => "#\\\\&(?:A(?:Elig|acute|circ|grave|lpha|ring|tilde|uml)|Beta|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    97
            "C(?:cedil|hi)|D(?:agger|elta)|E(?:TH|acute|circ|grave|psilon|ta|uml)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    98
            "Gamma|I(?:acute|circ|grave|ota|uml)|Kappa|Lambda|Mu|N(?:tilde|u)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    99
            "O(?:Elig|acute|circ|grave|m(?:ega|icron)|slash|tilde|uml)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   100
            "P(?:hi|i|rime|si)|Rho|S(?:caron|igma)|T(?:HORN|au|heta)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   101
            "U(?:acute|circ|grave|psilon|uml)|Xi|Y(?:acute|uml)|Zeta|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   102
            "a(?:acute|c(?:irc|ute)|elig|grave|l(?:efsym|pha)|mp|n[dg]|ring|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   103
            "symp|tilde|uml)|b(?:dquo|eta|rvbar|ull)|c(?:ap|cedil|e(?:dil|nt)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   104
            "hi|irc|lubs|o(?:ng|py)|rarr|u(?:p|rren))|d(?:Arr|a(?:gger|rr)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   105
            "e(?:g|lta)|i(?:ams|vide))|e(?:acute|circ|grave|m(?:pty|sp)|nsp|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   106
            "psilon|quiv|t[ah]|u(?:ml|ro)|xist)|f(?:nof|orall|ra(?:c(?:1[24]|34)|sl))|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   107
            "g(?:amma|e|t)|h(?:Arr|arr|e(?:arts|llip))|i(?:acute|circ|excl|grave|mage|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   108
            "n(?:fin|t)|ota|quest|sin|uml)|kappa|l(?:Arr|a(?:mbda|ng|quo|rr)|ceil|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   109
            "dquo|e|floor|o(?:wast|z)|rm|s(?:aquo|quo)|t)|m(?:acr|dash|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   110
            "i(?:cro|ddot|nus)|u)|n(?:abla|bsp|dash|e|i|ot(?:in)?|sub|tilde|u)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   111
            "o(?:acute|circ|elig|grave|line|m(?:ega|icron)|plus|r(?:d[fm])?|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   112
            "slash|ti(?:lde|mes)|uml)|p(?:ar[at]|er(?:mil|p)|hi|iv?|lusmn|ound|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   113
            "r(?:ime|o[dp])|si)|quot|r(?:Arr|a(?:dic|ng|quo|rr)|ceil|dquo|e(?:al|g)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   114
            "floor|ho|lm|s(?:aquo|quo))|s(?:bquo|caron|dot|ect|hy|i(?:gmaf?|m)|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   115
            "pades|u(?:be?|m|p[123e]?)|zlig)|t(?:au|h(?:e(?:re4|ta(?:sym)?)|insp|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   116
            "orn)|i(?:lde|mes)|rade)|u(?:Arr|a(?:cute|rr)|circ|grave|ml|".
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   117
            "psi(?:h|lon)|uml)|weierp|xi|y(?:acute|en|uml)|z(?:eta|w(?:j|nj)));#",
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   118
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   119
    'HARDQUOTE' => array('`', '`'),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   120
    'HARDESCAPE' => array(),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   121
    'NUMBERS' =>
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   122
        GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   123
        GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   124
        GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   125
    'KEYWORDS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   126
        1 => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   127
                'break', 'case', 'continue', 'do', 'else',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   128
                'for', 'foreach', 'goto', 'if', 'return',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   129
                'switch', 'while'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   130
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   131
        2 => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   132
                'alias', 'asm', 'assert', 'body', 'cast',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   133
                'catch', 'default', 'delegate', 'delete',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   134
                'extern', 'false', 'finally', 'function',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   135
                'import', 'in', 'inout', 'interface',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   136
                'invariant', 'is', 'mixin', 'module', 'new',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   137
                'null', 'out', 'pragma', 'ref', 'super', 'this',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   138
                'throw', 'true', 'try', 'typedef', 'typeid',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   139
                'typeof', 'union', 'with'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   140
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   141
        3 => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   142
                'ArrayBoundsError', 'AssertError',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   143
                'ClassInfo', 'Error', 'Exception',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   144
                'Interface', 'ModuleInfo', 'Object',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   145
                'OutOfMemoryException', 'SwitchError',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   146
                'TypeInfo', '_d_arrayappend',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   147
                '_d_arrayappendb', '_d_arrayappendc',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   148
                '_d_arrayappendcb', '_d_arraycast',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   149
                '_d_arraycast_frombit', '_d_arraycat',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   150
                '_d_arraycatb', '_d_arraycatn',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   151
                '_d_arraycopy', '_d_arraycopybit',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   152
                '_d_arraysetbit', '_d_arraysetbit2',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   153
                '_d_arraysetlength', '_d_arraysetlengthb',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   154
                '_d_callfinalizer',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   155
                '_d_create_exception_object',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   156
                '_d_criticalenter', '_d_criticalexit',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   157
                '_d_delarray', '_d_delclass',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   158
                '_d_delinterface', '_d_delmemory',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   159
                '_d_dynamic_cast', '_d_exception',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   160
                '_d_exception_filter', '_d_framehandler',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   161
                '_d_interface_cast', '_d_interface_vtbl',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   162
                '_d_invariant', '_d_isbaseof',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   163
                '_d_isbaseof2', '_d_local_unwind',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   164
                '_d_monitorenter', '_d_monitorexit',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   165
                '_d_monitorrelease', '_d_monitor_epilog',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   166
                '_d_monitor_handler', '_d_monitor_prolog',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   167
                '_d_new', '_d_newarrayi', '_d_newbitarray',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   168
                '_d_newclass', '_d_obj_cmp', '_d_obj_eq',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   169
                '_d_OutOfMemory', '_d_switch_dstring',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   170
                '_d_switch_string', '_d_switch_ustring',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   171
                '_d_throw',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   172
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   173
        4 => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   174
                'abstract', 'align', 'auto', 'bit', 'bool',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   175
                'byte', 'cdouble', 'cent', 'cfloat', 'char',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   176
                'class', 'const', 'creal', 'dchar', 'debug',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   177
                'deprecated', 'double', 'enum', 'export',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   178
                'final', 'float', 'idouble', 'ifloat', 'int',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   179
                'ireal', 'long', 'override', 'package',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   180
                'private', 'protected', 'ptrdiff_t',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   181
                'public', 'real', 'short', 'size_t',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   182
                'static', 'struct', 'synchronized',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   183
                'template', 'ubyte', 'ucent', 'uint',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   184
                'ulong', 'unittest', 'ushort', 'version',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   185
                'void', 'volatile', 'wchar'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   186
            )
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   187
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   188
    'SYMBOLS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   189
        '(', ')', '[', ']', '{', '}', '?', '!', ';', ':', ',', '...', '..',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   190
        '+', '-', '*', '/', '%', '&', '|', '^', '<', '>', '=', '~',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   191
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   192
    'CASE_SENSITIVE' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   193
        GESHI_COMMENTS => false,
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   194
        1 => true,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   195
        2 => true,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   196
        3 => true,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   197
        4 => true
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   198
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   199
    'STYLES' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   200
        'KEYWORDS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   201
            1 => 'color: #b1b100;',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   202
            2 => 'color: #000000; font-weight: bold;',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   203
            3 => 'color: #aaaadd; font-weight: bold;',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   204
            4 => 'color: #993333;'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   205
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   206
        'COMMENTS' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   207
            1 => 'color: #808080; font-style: italic;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   208
            2 => 'color: #009933; font-style: italic;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   209
            3 => 'color: #009933; font-style: italic;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   210
            4 => 'color: #ff0000;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   211
            5 => 'color: #0040ff;',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   212
            'MULTI' => 'color: #808080; font-style: italic;'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   213
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   214
        'ESCAPE_CHAR' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   215
            0 => 'color: #000099; font-weight: bold;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   216
            1 => 'color: #000099; font-weight: bold;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   217
            2 => 'color: #660099; font-weight: bold;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   218
            3 => 'color: #660099; font-weight: bold;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   219
            4 => 'color: #660099; font-weight: bold;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   220
            5 => 'color: #006699; font-weight: bold;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   221
            6 => 'color: #666699; font-weight: bold; font-style: italic;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   222
            'HARD' => '',
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   223
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   224
        'BRACKETS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   225
            0 => 'color: #66cc66;'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   226
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   227
        'STRINGS' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   228
            0 => 'color: #ff0000;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   229
            'HARD' => 'color: #ff0000;'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   230
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   231
        'NUMBERS' => array(
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   232
            0 => 'color: #0000dd;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   233
            GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   234
            GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   235
            GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   236
            GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   237
            GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   238
            GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   239
            GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   240
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   241
        'METHODS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   242
            1 => 'color: #006600;',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   243
            2 => 'color: #006600;'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   244
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   245
        'SYMBOLS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   246
            0 => 'color: #66cc66;'
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   247
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   248
        'SCRIPT' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   249
            ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   250
        'REGEXPS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   251
            )
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   252
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   253
    'URLS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   254
        1 => '',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   255
        2 => '',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   256
        3 => '',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   257
        4 => ''
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   258
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   259
    'OOLANG' => true,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   260
    'OBJECT_SPLITTERS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   261
        1 => '.',
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   262
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   263
    'REGEXPS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   264
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   265
    'STRICT_MODE_APPLIES' => GESHI_NEVER,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   266
    'SCRIPT_DELIMITERS' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   267
        ),
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   268
    'HIGHLIGHT_STRICT_BLOCK' => array(
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   269
        )
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   270
);
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   271
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   272
?>