Updating GeSHi to latest version, 1.0.7.6
[viewsvn.git] / includes / geshi / geshi / ada.php
1 <?php
2 /*************************************************************************************
3 * ada.php
4 * -------
5 * Author: Tux (tux@inmail.cz)
6 * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7 * Release Version: 1.0.7.6
8 * CVS Revision Version: $Revision: 1.7 $
9 * Date Started: 2004/07/29
10 * Last Modified: $Date: 2005/11/20 07:47:40 $
11 *
12 * Ada language file for GeSHi.
13 * Words are from SciTe configuration file
14 *
15 * CHANGES
16 * -------
17 * 2004/11/27 (1.0.2)
18 * - Added support for multiple object splitters
19 * 2004/10/27 (1.0.1)
20 * - Removed apostrophe as string delimiter
21 * - Added URL support
22 * 2004/08/05 (1.0.0)
23 * - First Release
24 *
25 * TODO (updated 2004/11/27)
26 * -------------------------
27 *
28 *************************************************************************************
29 *
30 * This file is part of GeSHi.
31 *
32 * GeSHi is free software; you can redistribute it and/or modify
33 * it under the terms of the GNU General Public License as published by
34 * the Free Software Foundation; either version 2 of the License, or
35 * (at your option) any later version.
36 *
37 * GeSHi is distributed in the hope that it will be useful,
38 * but WITHOUT ANY WARRANTY; without even the implied warranty of
39 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 * GNU General Public License for more details.
41 *
42 * You should have received a copy of the GNU General Public License
43 * along with GeSHi; if not, write to the Free Software
44 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
45 *
46 ************************************************************************************/
47
48 $language_data = array (
49 'LANG_NAME' => 'Ada',
50 'COMMENT_SINGLE' => array(1 => '--'),
51 'COMMENT_MULTI' => array('/*' => '*/'),
52 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
53 'QUOTEMARKS' => array('"'),
54 'ESCAPE_CHAR' => '\\',
55 'KEYWORDS' => array(
56 1 => array(
57 'begin', 'declare', 'do', 'else', 'elsif', 'exception', 'for', 'if',
58 'is', 'loop', 'while', 'then', 'is', 'end', 'select', 'case', 'while', 'until',
59 'goto', 'return'
60 ),
61 2 => array(
62 'abs', 'and', 'mod', 'not', 'or', 'rem', 'xor'
63 ),
64 3 => array(
65 'abort', 'abstract', 'accept', 'access', 'aliased', 'all', 'array', 'at', 'body',
66 'constant', 'delay', 'delta', 'digits', 'entry', 'exit',
67 'function', 'generic', 'in', 'limited', 'new', 'null', 'of', 'others', 'out', 'package', 'pragma',
68 'private', 'procedure', 'protected', 'raise', 'range', 'record', 'renames', 'requeue', 'reverse',
69 'separate', 'subtype', 'tagged', 'task', 'terminate', 'type', 'use', 'when', 'with'
70 )
71 ),
72 'SYMBOLS' => array(
73 '(', ')'
74 ),
75 'CASE_SENSITIVE' => array(
76 GESHI_COMMENTS => true,
77 1 => false,
78 2 => false,
79 3 => false,
80 ),
81 'STYLES' => array(
82 'KEYWORDS' => array(
83 1 => 'color: #00007f;',
84 2 => 'color: #0000ff;',
85 3 => 'color: #46aa03; font-weight:bold;',
86 ),
87 'BRACKETS' => array(
88 0 => 'color: #66cc66;'
89 ),
90 'COMMENTS' => array(
91 1 => 'color: #adadad; font-style: italic;',
92 'MULTI' => 'color: #808080; font-style: italic;'
93 ),
94 'ESCAPE_CHAR' => array(
95 0 => 'color: #000099; font-weight: bold;'
96 ),
97 'BRACKETS' => array(
98 0 => 'color: #66cc66;'
99 ),
100 'STRINGS' => array(
101 0 => 'color: #7f007f;'
102 ),
103 'NUMBERS' => array(
104 0 => 'color: #ff0000;'
105 ),
106 'METHODS' => array(
107 1 => 'color: #202020;'
108 ),
109 'SYMBOLS' => array(
110 0 => 'color: #66cc66;'
111 ),
112 'REGEXPS' => array(
113 ),
114 'SCRIPT' => array(
115 )
116 ),
117 'URLS' => array(
118 1 => '',
119 2 => '',
120 3 => ''
121 ),
122 'OOLANG' => true,
123 'OBJECT_SPLITTERS' => array(
124 1 => '.'
125 ),
126 'REGEXPS' => array(
127 ),
128 'STRICT_MODE_APPLIES' => GESHI_NEVER,
129 'SCRIPT_DELIMITERS' => array(
130 ),
131 'HIGHLIGHT_STRICT_BLOCK' => array(
132 )
133 );
134
135 ?>