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.9.1
8 * Date Started: 2004/07/29
9 *
10 * Ada language file for GeSHi.
11 * Words are from SciTe configuration file
12 *
13 * CHANGES
14 * -------
15 * 2004/11/27 (1.0.2)
16 *  -  Added support for multiple object splitters
17 * 2004/10/27 (1.0.1)
18 *   -  Removed apostrophe as string delimiter
19 *   -  Added URL support
20 * 2004/08/05 (1.0.0)
21 *   -  First Release
22 *
23 * TODO (updated 2004/11/27)
24 * -------------------------
25 *
26 *************************************************************************************
27 *
28 *     This file is part of GeSHi.
29 *
30 *   GeSHi is free software; you can redistribute it and/or modify
31 *   it under the terms of the GNU General Public License as published by
32 *   the Free Software Foundation; either version 2 of the License, or
33 *   (at your option) any later version.
34 *
35 *   GeSHi is distributed in the hope that it will be useful,
36 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
37 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
38 *   GNU General Public License for more details.
39 *
40 *   You should have received a copy of the GNU General Public License
41 *   along with GeSHi; if not, write to the Free Software
42 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
43 *
44 ************************************************************************************/
45
46$language_data = array (
47    'LANG_NAME' => 'Ada',
48    'COMMENT_SINGLE' => array(1 => '--'),
49    'COMMENT_MULTI' => array('/*' => '*/'),
50    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
51    'QUOTEMARKS' => array('"'),
52    'ESCAPE_CHAR' => '\\',
53    'KEYWORDS' => array(
54        1 => array(
55            'begin', 'declare', 'do', 'else', 'elsif', 'exception', 'for', 'if',
56            'is', 'loop', 'while', 'then', 'end', 'select', 'case', 'until',
57            'goto', 'return'
58            ),
59        2 => array(
60            'abs', 'and', 'at', 'mod', 'not', 'or', 'rem', 'xor'
61            ),
62        3 => array(
63            'abort', 'abstract', 'accept', 'access', 'aliased', 'all', 'array',
64            'body', 'constant', 'delay', 'delta', 'digits', 'entry', 'exit',
65            'function', 'generic', 'in', 'interface', 'limited', 'new', 'null',
66            'of', 'others', 'out', 'overriding', 'package', 'pragma', 'private',
67            'procedure', 'protected', 'raise', 'range', 'record', 'renames',
68            'requeue', 'reverse', 'separate', 'subtype', 'synchronized',
69            'tagged', 'task', 'terminate', 'type', 'use', 'when', 'with'
70            )
71        ),
72    'SYMBOLS' => array(
73        '(', ')'
74        ),
75    'CASE_SENSITIVE' => array(
76        GESHI_COMMENTS => false,
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        'STRINGS' => array(
98            0 => 'color: #7f007f;'
99            ),
100        'NUMBERS' => array(
101            0 => 'color: #ff0000;'
102            ),
103        'METHODS' => array(
104            1 => 'color: #202020;'
105            ),
106        'SYMBOLS' => array(
107            0 => 'color: #66cc66;'
108            ),
109        'REGEXPS' => array(
110            ),
111        'SCRIPT' => array(
112            )
113        ),
114    'URLS' => array(
115        1 => '',
116        2 => '',
117        3 => ''
118        ),
119    'OOLANG' => true,
120    'OBJECT_SPLITTERS' => array(
121        1 => '.'
122        ),
123    'REGEXPS' => array(
124        ),
125    'STRICT_MODE_APPLIES' => GESHI_NEVER,
126    'SCRIPT_DELIMITERS' => array(
127        ),
128    'HIGHLIGHT_STRICT_BLOCK' => array(
129        )
130);
131