author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Wed, 21 Apr 2010 12:15:23 +0300 | |
branch | RCL_3 |
changeset 12 | cc75c76972ee |
parent 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
/**************************************************************************** |
2 |
** |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
3 |
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 4 |
** All rights reserved. |
5 |
** Contact: Nokia Corporation (qt-info@nokia.com) |
|
6 |
** |
|
7 |
** This file is part of the tools applications of the Qt Toolkit. |
|
8 |
** |
|
9 |
** $QT_BEGIN_LICENSE:LGPL$ |
|
10 |
** No Commercial Usage |
|
11 |
** This file contains pre-release code and may not be distributed. |
|
12 |
** You may use this file in accordance with the terms and conditions |
|
13 |
** contained in the Technology Preview License Agreement accompanying |
|
14 |
** this package. |
|
15 |
** |
|
16 |
** GNU Lesser General Public License Usage |
|
17 |
** Alternatively, this file may be used under the terms of the GNU Lesser |
|
18 |
** General Public License version 2.1 as published by the Free Software |
|
19 |
** Foundation and appearing in the file LICENSE.LGPL included in the |
|
20 |
** packaging of this file. Please review the following information to |
|
21 |
** ensure the GNU Lesser General Public License version 2.1 requirements |
|
22 |
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
23 |
** |
|
24 |
** In addition, as a special exception, Nokia gives you certain additional |
|
25 |
** rights. These rights are described in the Nokia Qt LGPL Exception |
|
26 |
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
27 |
** |
|
28 |
** If you have questions regarding the use of this file, please contact |
|
29 |
** Nokia at qt-info@nokia.com. |
|
30 |
** |
|
31 |
** |
|
32 |
** |
|
33 |
** |
|
34 |
** |
|
35 |
** |
|
36 |
** |
|
37 |
** |
|
38 |
** $QT_END_LICENSE$ |
|
39 |
** |
|
40 |
****************************************************************************/ |
|
41 |
||
42 |
// auto generated |
|
43 |
// DO NOT EDIT. |
|
44 |
||
45 |
static const short pp_keyword_trans[][128] = { |
|
46 |
{0,0,0,0,0,0,0,0,0,98,12,0,0,0,0,0, |
|
47 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
48 |
98,76,96,13,0,60,62,97,9,10,58,56,11,57,102,59, |
|
49 |
6,6,6,6,6,6,6,6,6,6,92,0,7,81,8,91, |
|
50 |
0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
|
51 |
1,1,1,1,1,1,1,1,1,1,1,0,101,0,61,1, |
|
52 |
0,1,2,3,4,1,1,1,1,1,1,1,1,1,5,1, |
|
53 |
1,1,1,1,1,1,1,1,1,1,1,0,68,0,71,0}, |
|
54 |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
55 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
56 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
57 |
0,0,0,0,0,0,0,0,0,0,0,0,79,87,0,0, |
|
58 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
59 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
60 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
61 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
|
62 |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
63 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
64 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
65 |
0,0,0,0,0,0,0,0,0,0,0,0,0,88,80,0, |
|
66 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
67 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
68 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
69 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}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0,0,0, |
|
121 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
122 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
123 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
124 |
0,65,0,0,0,0,0,0,0,0,0,0,0,0,0,69, |
|
125 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
|
126 |
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
127 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
128 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
129 |
103,103,103,103,103,103,103,103,103,103,0,0,0,0,0,0, |
|
130 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
131 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
132 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
|
133 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} |
|
134 |
}; |
|
135 |
||
136 |
static const struct |
|
137 |
{ |
|
138 |
PP_Token token; |
|
139 |
short next; |
|
140 |
char defchar; |
|
141 |
short defnext; |
|
142 |
PP_Token ident; |
|
143 |
} pp_keywords[] = { |
|
144 |
{PP_NOTOKEN, 0, 0, 0, PP_NOTOKEN}, |
|
145 |
{PP_CHARACTER, 0, 0, 0, PP_NOTOKEN}, |
|
146 |
{PP_CHARACTER, 0, 105, 63, PP_NOTOKEN}, |
|
147 |
{PP_CHARACTER, 0, 111, 72, PP_NOTOKEN}, |
|
148 |
{PP_CHARACTER, 0, 101, 50, PP_NOTOKEN}, |
|
149 |
{PP_CHARACTER, 0, 111, 77, PP_NOTOKEN}, |
|
150 |
{PP_DIGIT, 0, 0, 0, PP_NOTOKEN}, |
|
151 |
{PP_LANGLE, 1, 0, 0, PP_NOTOKEN}, |
|
152 |
{PP_RANGLE, 2, 0, 0, PP_NOTOKEN}, |
|
153 |
{PP_LPAREN, 0, 0, 0, PP_NOTOKEN}, |
|
154 |
{PP_RPAREN, 0, 0, 0, PP_NOTOKEN}, |
|
155 |
{PP_COMMA, 0, 0, 0, PP_NOTOKEN}, |
|
156 |
{PP_NEWLINE, 0, 0, 0, PP_NOTOKEN}, |
|
157 |
{PP_HASH, 3, 0, 0, PP_HASH}, |
|
158 |
{PP_HASH, 0, 101, 15, PP_HASH}, |
|
159 |
{PP_HASH, 0, 102, 16, PP_HASH}, |
|
160 |
{PP_HASH, 0, 105, 17, PP_HASH}, |
|
161 |
{PP_HASH, 0, 110, 18, PP_HASH}, |
|
162 |
{PP_HASH, 0, 101, 19, PP_HASH}, |
|
163 |
{PP_DEFINE, 0, 0, 0, PP_HASH}, |
|
164 |
{PP_HASH, 4, 0, 0, PP_HASH}, |
|
165 |
{PP_IF, 5, 0, 0, PP_HASH}, |
|
166 |
{PP_HASH, 0, 110, 23, PP_HASH}, |
|
167 |
{PP_HASH, 0, 100, 24, PP_HASH}, |
|
168 |
{PP_HASH, 0, 101, 25, PP_HASH}, |
|
169 |
{PP_HASH, 0, 102, 26, PP_HASH}, |
|
170 |
{PP_UNDEF, 0, 0, 0, PP_HASH}, |
|
171 |
{PP_HASH, 0, 101, 28, PP_HASH}, |
|
172 |
{PP_HASH, 0, 102, 29, PP_HASH}, |
|
173 |
{PP_IFDEF, 0, 0, 0, PP_HASH}, |
|
174 |
{PP_HASH, 0, 100, 31, PP_HASH}, |
|
175 |
{PP_HASH, 0, 101, 32, PP_HASH}, |
|
176 |
{PP_HASH, 0, 102, 33, PP_HASH}, |
|
177 |
{PP_IFNDEF, 0, 0, 0, PP_HASH}, |
|
178 |
{PP_HASH, 6, 0, 0, PP_HASH}, |
|
179 |
{PP_HASH, 7, 0, 0, PP_HASH}, |
|
180 |
{PP_HASH, 0, 102, 37, PP_HASH}, |
|
181 |
{PP_ELIF, 0, 0, 0, PP_HASH}, |
|
182 |
{PP_HASH, 0, 101, 39, PP_HASH}, |
|
183 |
{PP_ELSE, 0, 0, 0, PP_HASH}, |
|
184 |
{PP_HASH, 0, 100, 41, PP_HASH}, |
|
185 |
{PP_HASH, 0, 105, 42, PP_HASH}, |
|
186 |
{PP_HASH, 0, 102, 43, PP_HASH}, |
|
187 |
{PP_ENDIF, 0, 0, 0, PP_HASH}, |
|
188 |
{PP_HASH, 0, 99, 45, PP_HASH}, |
|
189 |
{PP_HASH, 0, 108, 46, PP_HASH}, |
|
190 |
{PP_HASH, 0, 117, 47, PP_HASH}, |
|
191 |
{PP_HASH, 0, 100, 48, PP_HASH}, |
|
192 |
{PP_HASH, 0, 101, 49, PP_HASH}, |
|
193 |
{PP_INCLUDE, 0, 0, 0, PP_HASH}, |
|
194 |
{PP_CHARACTER, 0, 102, 51, PP_CHARACTER}, |
|
195 |
{PP_CHARACTER, 0, 105, 52, PP_CHARACTER}, |
|
196 |
{PP_CHARACTER, 0, 110, 53, PP_CHARACTER}, |
|
197 |
{PP_CHARACTER, 0, 101, 54, PP_CHARACTER}, |
|
198 |
{PP_CHARACTER, 0, 100, 55, PP_CHARACTER}, |
|
199 |
{PP_DEFINED, 0, 0, 0, PP_CHARACTER}, |
|
200 |
{PP_PLUS, 0, 0, 0, PP_NOTOKEN}, |
|
201 |
{PP_MINUS, 0, 0, 0, PP_NOTOKEN}, |
|
202 |
{PP_STAR, 0, 0, 0, PP_NOTOKEN}, |
|
203 |
{PP_SLASH, 8, 0, 0, PP_NOTOKEN}, |
|
204 |
{PP_PERCENT, 0, 58, 94, PP_NOTOKEN}, |
|
205 |
{PP_HAT, 0, 0, 0, PP_NOTOKEN}, |
|
206 |
{PP_AND, 0, 38, 89, PP_NOTOKEN}, |
|
207 |
{PP_CHARACTER, 0, 116, 64, PP_CHARACTER}, |
|
208 |
{PP_CHARACTER, 9, 0, 0, PP_CHARACTER}, |
|
209 |
{PP_CHARACTER, 0, 110, 66, PP_CHARACTER}, |
|
210 |
{PP_CHARACTER, 0, 100, 67, PP_CHARACTER}, |
|
211 |
{PP_AND, 0, 0, 0, PP_CHARACTER}, |
|
212 |
{PP_OR, 0, 124, 90, PP_NOTOKEN}, |
|
213 |
{PP_CHARACTER, 0, 114, 70, PP_CHARACTER}, |
|
214 |
{PP_OR, 0, 0, 0, PP_CHARACTER}, |
|
215 |
{PP_TILDE, 0, 0, 0, PP_NOTOKEN}, |
|
216 |
{PP_CHARACTER, 0, 109, 73, PP_CHARACTER}, |
|
217 |
{PP_CHARACTER, 0, 112, 74, PP_CHARACTER}, |
|
218 |
{PP_CHARACTER, 0, 108, 75, PP_CHARACTER}, |
|
219 |
{PP_TILDE, 0, 0, 0, PP_CHARACTER}, |
|
220 |
{PP_NOT, 0, 61, 83, PP_NOTOKEN}, |
|
221 |
{PP_CHARACTER, 0, 116, 78, PP_CHARACTER}, |
|
222 |
{PP_NOT, 0, 95, 84, PP_CHARACTER}, |
|
223 |
{PP_LTLT, 0, 0, 0, PP_NOTOKEN}, |
|
224 |
{PP_GTGT, 0, 0, 0, PP_NOTOKEN}, |
|
225 |
{PP_INCOMPLETE, 0, 61, 82, PP_NOTOKEN}, |
|
226 |
{PP_EQEQ, 0, 0, 0, PP_NOTOKEN}, |
|
227 |
{PP_NE, 0, 0, 0, PP_NOTOKEN}, |
|
228 |
{PP_CHARACTER, 0, 101, 85, PP_CHARACTER}, |
|
229 |
{PP_CHARACTER, 0, 113, 86, PP_CHARACTER}, |
|
230 |
{PP_NE, 0, 0, 0, PP_CHARACTER}, |
|
231 |
{PP_LE, 0, 0, 0, PP_NOTOKEN}, |
|
232 |
{PP_GE, 0, 0, 0, PP_NOTOKEN}, |
|
233 |
{PP_ANDAND, 0, 0, 0, PP_NOTOKEN}, |
|
234 |
{PP_OROR, 0, 0, 0, PP_NOTOKEN}, |
|
235 |
{PP_QUESTION, 0, 0, 0, PP_NOTOKEN}, |
|
236 |
{PP_COLON, 0, 0, 0, PP_NOTOKEN}, |
|
237 |
{PP_HASHHASH, 0, 0, 0, PP_NOTOKEN}, |
|
238 |
{PP_INCOMPLETE, 0, 37, 95, PP_NOTOKEN}, |
|
239 |
{PP_INCOMPLETE, 0, 58, 93, PP_NOTOKEN}, |
|
240 |
{PP_QUOTE, 0, 0, 0, PP_NOTOKEN}, |
|
241 |
{PP_SINGLEQUOTE, 0, 0, 0, PP_NOTOKEN}, |
|
242 |
{PP_WHITESPACE, 0, 0, 0, PP_NOTOKEN}, |
|
243 |
{PP_CPP_COMMENT, 0, 0, 0, PP_NOTOKEN}, |
|
244 |
{PP_C_COMMENT, 0, 0, 0, PP_NOTOKEN}, |
|
245 |
{PP_BACKSLASH, 0, 0, 0, PP_NOTOKEN}, |
|
246 |
{PP_INCOMPLETE, 10, 0, 0, PP_NOTOKEN}, |
|
247 |
{PP_FLOATING_LITERAL, 0, 0, 0, PP_NOTOKEN} |
|
248 |
}; |