plugins/geshi/geshi/tcl.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
 * tcl.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: Reid van Melle (rvanmelle@gmail.com)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
     6
 * Copyright: (c) 2004 Reid van Melle (sorry@nowhere)
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: 2006/05/05
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
 * TCL/iTCL 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
 * This was thrown together in about an hour so I don't expect
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    13
 * really great things.  However, it is a good start.  I never
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    14
 * got a change to try out the iTCL or object-based support but
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    15
 * this is not widely used anyway.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    16
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    17
 * CHANGES
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    18
 * -------
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    19
 * 2008/05/23 (1.0.7.22)
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    20
 *  -  Added description of extra language features (SF#1970248)
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    21
 * 2006/05/05 (1.0.0)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    22
 *  -  First Release
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    23
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    24
 * TODO (updated 2006/05/05)
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    25
 * -------------------------
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    26
 * - Get TCL built-in special variables highlighted with a new color..
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    27
 *   currently, these are listed in //special variables in the keywords
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    28
 *   section, but they get covered by the general REGEXP for symbols
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    29
 * - General cleanup, testing, and verification
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    30
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    31
 *************************************************************************************
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    32
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    33
 *     This file is part of GeSHi.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    34
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    35
 *   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
    36
 *   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
    37
 *   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
    38
 *   (at your option) any later version.
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    39
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    40
 *   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
    41
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    42
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    43
 *   GNU General Public License for more details.
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
 *   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
    46
 *   along with GeSHi; if not, write to the Free Software
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    47
 *   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
    48
 *
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    49
 ************************************************************************************/
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    50
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    51
$language_data = array (
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    52
    'LANG_NAME' => 'TCL',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    53
    'COMMENT_SINGLE' => array(1 => '#'),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    54
    'COMMENT_MULTI' => array(),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    55
    'COMMENT_REGEXP' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    56
        1 => '/(?<!\\\\)#(?:\\\\\\\\|\\\\\\n|.)*$/m',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    57
        2 => '/{[^}\n]+}/'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    58
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    59
    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    60
    'QUOTEMARKS' => array('"', "'"),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    61
    'ESCAPE_CHAR' => '\\',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    62
    'KEYWORDS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    63
        /*
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    64
         * Set 1: reserved words
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    65
         * http://python.org/doc/current/ref/keywords.html
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    66
         */
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    67
        1 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    68
            'proc', 'global', 'upvar', 'if', 'then', 'else', 'elseif', 'for', 'foreach',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    69
            'break', 'continue', 'while', 'set', 'eval', 'case', 'in', 'switch',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    70
            'default', 'exit', 'error', 'return', 'uplevel', 'loop',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    71
            'for_array_keys', 'for_recursive_glob', 'for_file', 'unwind_protect',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    72
            'expr', 'catch', 'namespace', 'rename', 'variable',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    73
            // itcl
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    74
            'method', 'itcl_class', 'public', 'protected'),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
    75
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    76
        /*
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    77
         * Set 2: builtins
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    78
         * http://asps.activatestate.com/ASPN/docs/ActiveTcl/8.4/tcl/tcl_2_contents.htm
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    79
         */
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    80
        2 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    81
            // string handling
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    82
            'append', 'binary', 'format', 're_syntax', 'regexp', 'regsub',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    83
            'scan', 'string', 'subst',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    84
            // list handling
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    85
            'concat', 'join', 'lappend', 'lindex', 'list', 'llength', 'lrange',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    86
            'lreplace', 'lsearch', 'lset', 'lsort', 'split',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    87
            // procedures and output
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    88
            'incr', 'close', 'eof', 'fblocked', 'fconfigure', 'fcopy', 'file',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    89
            'fileevent', 'flush', 'gets', 'open', 'puts', 'read', 'seek',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    90
            'socket', 'tell',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    91
            // packages and source files
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    92
            'load', 'loadTk', 'package', 'pgk::create', 'pgk_mkIndex', 'source',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    93
            // interpreter routines
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    94
            'bgerror', 'history', 'info', 'interp', 'memory', 'unknown',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    95
            // library routines
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    96
            'enconding', 'http', 'msgcat',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    97
            // system related
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    98
            'cd', 'clock', 'exec', 'glob', 'pid', 'pwd', 'time',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
    99
            // platform specified
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   100
            'dde', 'registry', 'resource',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   101
            // special variables
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   102
            '$argc', '$argv', '$errorCode', '$errorInfo', '$argv0',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   103
            '$auto_index', '$auto_oldpath', '$auto_path', '$env',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   104
            '$tcl_interactive', '$tcl_libpath', '$tcl_library',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   105
            '$tcl_pkgPath', '$tcl_platform', '$tcl_precision', '$tcl_traceExec',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   106
            ),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   107
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   108
        /*
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   109
         * Set 3: standard library
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   110
         */
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   111
        3 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   112
            'comment', 'filename', 'library', 'packagens', 'tcltest', 'tclvars',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   113
            ),
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   114
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   115
        /*
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   116
         * Set 4: special methods
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   117
         */
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   118
//        4 => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   119
//            )
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   120
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   121
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   122
    'SYMBOLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   123
        '(', ')', '[', ']', '{', '}', '$', '*', '&', '%', '!', ';', '<', '>', '?'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   124
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   125
    'CASE_SENSITIVE' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   126
        GESHI_COMMENTS => false,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   127
        1 => true,
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   128
        2 => true,
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   129
        3 => true,
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   130
//        4 => true
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   131
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   132
    'STYLES' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   133
        'KEYWORDS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   134
            1 => 'color: #ff7700;font-weight:bold;',    // Reserved
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   135
            2 => 'color: #008000;',                        // Built-ins + self
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   136
            3 => 'color: #dc143c;',                        // Standard lib
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   137
//            4 => 'color: #0000cd;'                        // Special methods
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   138
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   139
        'COMMENTS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   140
            1 => 'color: #808080; font-style: italic;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   141
            2 => 'color: #483d8b;',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   142
            'MULTI' => 'color: #808080; font-style: italic;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   143
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   144
        'ESCAPE_CHAR' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   145
            0 => 'color: #000099; font-weight: bold;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   146
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   147
        'BRACKETS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   148
            0 => 'color: black;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   149
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   150
        'STRINGS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   151
            0 => 'color: #483d8b;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   152
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   153
        'NUMBERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   154
            0 => 'color: #ff4500;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   155
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   156
        'METHODS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   157
            1 => 'color: black;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   158
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   159
        'SYMBOLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   160
            0 => 'color: #66cc66;'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   161
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   162
        'REGEXPS' => array(
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   163
            0 => 'color: #ff3333;'
2
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   164
            ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   165
        'SCRIPT' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   166
            )
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   167
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   168
    'URLS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   169
        1 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   170
        2 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   171
        3 => '',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   172
//        4 => ''
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   173
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   174
    'OOLANG' => true,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   175
    'OBJECT_SPLITTERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   176
        1 => '::'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   177
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   178
    'REGEXPS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   179
        //Special variables
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   180
        0 => '[\\$]+[a-zA-Z_][a-zA-Z0-9_]*',
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   181
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   182
    'STRICT_MODE_APPLIES' => GESHI_NEVER,
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   183
    'SCRIPT_DELIMITERS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   184
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   185
    'HIGHLIGHT_STRICT_BLOCK' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   186
        ),
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   187
    'PARSER_CONTROL' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   188
        'COMMENTS' => array(
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   189
            'DISALLOWED_BEFORE' => '\\'
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   190
        )
9e3258dfae15 Updated GeSHi. w00t.
Dan
parents: 0
diff changeset
   191
    )
0
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   192
);
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   193
441963e5b07a Initial population - based on GeSHi 1.0.7.20
Dan
parents:
diff changeset
   194
?>