source: documentation/trunk/packages/dokuwiki-2011-05-25a/inc/geshi/ada.php@ 25027

Last change on this file since 25027 was 25027, checked in by jmt12, 12 years ago

Adding the packages directory, and within it a configured version of dokuwiki all ready to run

File size: 4.2 KB
Line 
1<?php
2/*************************************************************************************
3 * ada.php
4 * -------
5 * Author: Tux ([email protected])
6 * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7 * Release Version: 1.0.8.8
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 '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?>
Note: See TracBrowser for help on using the repository browser.