root/trunk/lib/geshi/matlab.php

Revision 2, 2.7 kB (checked in by fabien, 6 years ago)

initial import

  • Property svn:mime-type set to text/x-php
  • Property svn:keywords set to Id
Line 
1 <?php
2 /*************************************************************************************
3  * matlab.php
4  * -----------
5  * Author: Florian Knorn (floz@gmx.de)
6  * Copyright: (c) 2004 Florian Knorn (http://www.florian-knorn.com)
7  * Release Version: 1.0.7.5
8  * CVS Revision Version: $Revision: 1.5 $
9  * Date Started: 2005/02/09
10  * Last Modified: $Date: 2005/10/22 07:52:59 $
11  *
12  * Matlab M-file language file for GeSHi.
13  *
14  * CHANGES
15  * -------
16  * 2005/05/07 (1.0.0)
17  *   -  First Release
18  *
19  *
20  *************************************************************************************
21  *
22  *     This file is part of GeSHi.
23  *
24  *   GeSHi is free software; you can redistribute it and/or modify
25  *   it under the terms of the GNU General Public License as published by
26  *   the Free Software Foundation; either version 2 of the License, or
27  *   (at your option) any later version.
28  *
29  *   GeSHi is distributed in the hope that it will be useful,
30  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
31  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32  *   GNU General Public License for more details.
33  *
34  *   You should have received a copy of the GNU General Public License
35  *   along with GeSHi; if not, write to the Free Software
36  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
37  *
38  ************************************************************************************/
39
40 $language_data = array (
41     'LANG_NAME' => 'M',
42     'COMMENT_SINGLE' => array(1 => '%'),
43     'COMMENT_MULTI' => array(),
44     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
45     'QUOTEMARKS' => array("'"),
46     'ESCAPE_CHAR' => '',
47     'KEYWORDS' => array(
48         1 => array(
49             'break', 'case', 'catch', 'continue', 'elseif', 'else', 'end', 'for',
50             'function', 'global', 'if', 'otherwise', 'persistent', 'return',
51             'switch', 'try', 'while','...'
52             ),
53         ),
54     'SYMBOLS' => array(
55         '...'
56         ),
57     'CASE_SENSITIVE' => array(
58         GESHI_COMMENTS => true,
59         1 => false,
60         2 => false,
61         3 => false,
62         4 => false,
63         ),
64     'STYLES' => array(
65         'KEYWORDS' => array(
66             1 => 'color: #0000FF;',
67             ),
68         'COMMENTS' => array(
69             1 => 'color: #228B22;',
70             ),
71         'ESCAPE_CHAR' => array(
72             ),
73         'BRACKETS' => array(
74             ),
75         'STRINGS' => array(
76             0 => 'color: #A020F0;'
77             ),
78         'NUMBERS' => array(
79             ),
80         'METHODS' => array(
81             ),
82         'SYMBOLS' => array(
83             ),
84         'REGEXPS' => array(
85             ),
86         'SCRIPT' => array(
87             )
88         ),
89     'URLS' => array(
90         1 => '',
91         2 => '',
92         3 => '',
93         4 => ''
94         ),
95     'OOLANG' => true,
96     'OBJECT_SPLITTERS' => array(
97         1 => '.',
98         2 => '::'
99         ),
100     'REGEXPS' => array(
101         ),
102     'STRICT_MODE_APPLIES' => GESHI_NEVER,
103     'SCRIPT_DELIMITERS' => array(
104         ),
105     'HIGHLIGHT_STRICT_BLOCK' => array(
106         )
107 );
108
109 ?>
110
Note: See TracBrowser for help on using the browser.