1 | // Copyright (C) 2016 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
3 | |
4 | // auto generated |
5 | // DO NOT EDIT. |
6 | |
7 | static const short pp_keyword_trans[][128] = { |
8 | {0,0,0,0,0,0,0,0,0,98,12,0,0,0,0,0, |
9 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
10 | 98,76,96,13,1,60,62,97,9,10,58,56,11,57,102,59, |
11 | 6,6,6,6,6,6,6,6,6,6,92,0,7,81,8,91, |
12 | 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
13 | 1,1,1,1,1,1,1,1,1,1,1,0,101,0,61,1, |
14 | 0,1,2,3,4,1,1,1,1,1,1,1,1,1,5,1, |
15 | 1,1,1,1,1,1,1,1,1,1,1,0,68,0,71,0}, |
16 | {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
17 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
18 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
19 | 0,0,0,0,0,0,0,0,0,0,0,0,79,87,0,0, |
20 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
21 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
22 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
23 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
24 | {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
25 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
26 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
27 | 0,0,0,0,0,0,0,0,0,0,0,0,0,88,80,0, |
28 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
29 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
30 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |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0,0,0,0,0, |
85 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
86 | 0,65,0,0,0,0,0,0,0,0,0,0,0,0,0,69, |
87 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, |
88 | {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
89 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
90 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
91 | 103,103,103,103,103,103,103,103,103,103,0,0,0,0,0,0, |
92 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
93 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
94 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
95 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} |
96 | }; |
97 | |
98 | static const struct |
99 | { |
100 | PP_Token token; |
101 | short next; |
102 | char defchar; |
103 | short defnext; |
104 | PP_Token ident; |
105 | } pp_keywords[] = { |
106 | {.token: PP_NOTOKEN, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
107 | {.token: PP_CHARACTER, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
108 | {.token: PP_CHARACTER, .next: 0, .defchar: 105, .defnext: 63, .ident: PP_NOTOKEN}, |
109 | {.token: PP_CHARACTER, .next: 0, .defchar: 111, .defnext: 72, .ident: PP_NOTOKEN}, |
110 | {.token: PP_CHARACTER, .next: 0, .defchar: 101, .defnext: 50, .ident: PP_NOTOKEN}, |
111 | {.token: PP_CHARACTER, .next: 0, .defchar: 111, .defnext: 77, .ident: PP_NOTOKEN}, |
112 | {.token: PP_DIGIT, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
113 | {.token: PP_LANGLE, .next: 1, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
114 | {.token: PP_RANGLE, .next: 2, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
115 | {.token: PP_LPAREN, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
116 | {.token: PP_RPAREN, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
117 | {.token: PP_COMMA, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
118 | {.token: PP_NEWLINE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
119 | {.token: PP_HASH, .next: 3, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
120 | {.token: PP_HASH, .next: 0, .defchar: 101, .defnext: 15, .ident: PP_HASH}, |
121 | {.token: PP_HASH, .next: 0, .defchar: 102, .defnext: 16, .ident: PP_HASH}, |
122 | {.token: PP_HASH, .next: 0, .defchar: 105, .defnext: 17, .ident: PP_HASH}, |
123 | {.token: PP_HASH, .next: 0, .defchar: 110, .defnext: 18, .ident: PP_HASH}, |
124 | {.token: PP_HASH, .next: 0, .defchar: 101, .defnext: 19, .ident: PP_HASH}, |
125 | {.token: PP_DEFINE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
126 | {.token: PP_HASH, .next: 4, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
127 | {.token: PP_IF, .next: 5, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
128 | {.token: PP_HASH, .next: 0, .defchar: 110, .defnext: 23, .ident: PP_HASH}, |
129 | {.token: PP_HASH, .next: 0, .defchar: 100, .defnext: 24, .ident: PP_HASH}, |
130 | {.token: PP_HASH, .next: 0, .defchar: 101, .defnext: 25, .ident: PP_HASH}, |
131 | {.token: PP_HASH, .next: 0, .defchar: 102, .defnext: 26, .ident: PP_HASH}, |
132 | {.token: PP_UNDEF, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
133 | {.token: PP_HASH, .next: 0, .defchar: 101, .defnext: 28, .ident: PP_HASH}, |
134 | {.token: PP_HASH, .next: 0, .defchar: 102, .defnext: 29, .ident: PP_HASH}, |
135 | {.token: PP_IFDEF, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
136 | {.token: PP_HASH, .next: 0, .defchar: 100, .defnext: 31, .ident: PP_HASH}, |
137 | {.token: PP_HASH, .next: 0, .defchar: 101, .defnext: 32, .ident: PP_HASH}, |
138 | {.token: PP_HASH, .next: 0, .defchar: 102, .defnext: 33, .ident: PP_HASH}, |
139 | {.token: PP_IFNDEF, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
140 | {.token: PP_HASH, .next: 6, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
141 | {.token: PP_HASH, .next: 7, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
142 | {.token: PP_HASH, .next: 0, .defchar: 102, .defnext: 37, .ident: PP_HASH}, |
143 | {.token: PP_ELIF, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
144 | {.token: PP_HASH, .next: 0, .defchar: 101, .defnext: 39, .ident: PP_HASH}, |
145 | {.token: PP_ELSE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
146 | {.token: PP_HASH, .next: 0, .defchar: 100, .defnext: 41, .ident: PP_HASH}, |
147 | {.token: PP_HASH, .next: 0, .defchar: 105, .defnext: 42, .ident: PP_HASH}, |
148 | {.token: PP_HASH, .next: 0, .defchar: 102, .defnext: 43, .ident: PP_HASH}, |
149 | {.token: PP_ENDIF, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
150 | {.token: PP_HASH, .next: 0, .defchar: 99, .defnext: 45, .ident: PP_HASH}, |
151 | {.token: PP_HASH, .next: 0, .defchar: 108, .defnext: 46, .ident: PP_HASH}, |
152 | {.token: PP_HASH, .next: 0, .defchar: 117, .defnext: 47, .ident: PP_HASH}, |
153 | {.token: PP_HASH, .next: 0, .defchar: 100, .defnext: 48, .ident: PP_HASH}, |
154 | {.token: PP_HASH, .next: 0, .defchar: 101, .defnext: 49, .ident: PP_HASH}, |
155 | {.token: PP_INCLUDE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_HASH}, |
156 | {.token: PP_CHARACTER, .next: 0, .defchar: 102, .defnext: 51, .ident: PP_CHARACTER}, |
157 | {.token: PP_CHARACTER, .next: 0, .defchar: 105, .defnext: 52, .ident: PP_CHARACTER}, |
158 | {.token: PP_CHARACTER, .next: 0, .defchar: 110, .defnext: 53, .ident: PP_CHARACTER}, |
159 | {.token: PP_CHARACTER, .next: 0, .defchar: 101, .defnext: 54, .ident: PP_CHARACTER}, |
160 | {.token: PP_CHARACTER, .next: 0, .defchar: 100, .defnext: 55, .ident: PP_CHARACTER}, |
161 | {.token: PP_DEFINED, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_CHARACTER}, |
162 | {.token: PP_PLUS, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
163 | {.token: PP_MINUS, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
164 | {.token: PP_STAR, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
165 | {.token: PP_SLASH, .next: 8, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
166 | {.token: PP_PERCENT, .next: 0, .defchar: 58, .defnext: 94, .ident: PP_NOTOKEN}, |
167 | {.token: PP_HAT, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
168 | {.token: PP_AND, .next: 0, .defchar: 38, .defnext: 89, .ident: PP_NOTOKEN}, |
169 | {.token: PP_CHARACTER, .next: 0, .defchar: 116, .defnext: 64, .ident: PP_CHARACTER}, |
170 | {.token: PP_CHARACTER, .next: 9, .defchar: 0, .defnext: 0, .ident: PP_CHARACTER}, |
171 | {.token: PP_CHARACTER, .next: 0, .defchar: 110, .defnext: 66, .ident: PP_CHARACTER}, |
172 | {.token: PP_CHARACTER, .next: 0, .defchar: 100, .defnext: 67, .ident: PP_CHARACTER}, |
173 | {.token: PP_AND, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_CHARACTER}, |
174 | {.token: PP_OR, .next: 0, .defchar: 124, .defnext: 90, .ident: PP_NOTOKEN}, |
175 | {.token: PP_CHARACTER, .next: 0, .defchar: 114, .defnext: 70, .ident: PP_CHARACTER}, |
176 | {.token: PP_OR, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_CHARACTER}, |
177 | {.token: PP_TILDE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
178 | {.token: PP_CHARACTER, .next: 0, .defchar: 109, .defnext: 73, .ident: PP_CHARACTER}, |
179 | {.token: PP_CHARACTER, .next: 0, .defchar: 112, .defnext: 74, .ident: PP_CHARACTER}, |
180 | {.token: PP_CHARACTER, .next: 0, .defchar: 108, .defnext: 75, .ident: PP_CHARACTER}, |
181 | {.token: PP_TILDE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_CHARACTER}, |
182 | {.token: PP_NOT, .next: 0, .defchar: 61, .defnext: 83, .ident: PP_NOTOKEN}, |
183 | {.token: PP_CHARACTER, .next: 0, .defchar: 116, .defnext: 78, .ident: PP_CHARACTER}, |
184 | {.token: PP_NOT, .next: 0, .defchar: 95, .defnext: 84, .ident: PP_CHARACTER}, |
185 | {.token: PP_LTLT, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
186 | {.token: PP_GTGT, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
187 | {.token: PP_INCOMPLETE, .next: 0, .defchar: 61, .defnext: 82, .ident: PP_NOTOKEN}, |
188 | {.token: PP_EQEQ, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
189 | {.token: PP_NE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
190 | {.token: PP_CHARACTER, .next: 0, .defchar: 101, .defnext: 85, .ident: PP_CHARACTER}, |
191 | {.token: PP_CHARACTER, .next: 0, .defchar: 113, .defnext: 86, .ident: PP_CHARACTER}, |
192 | {.token: PP_NE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_CHARACTER}, |
193 | {.token: PP_LE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
194 | {.token: PP_GE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
195 | {.token: PP_ANDAND, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
196 | {.token: PP_OROR, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
197 | {.token: PP_QUESTION, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
198 | {.token: PP_COLON, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
199 | {.token: PP_HASHHASH, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
200 | {.token: PP_INCOMPLETE, .next: 0, .defchar: 37, .defnext: 95, .ident: PP_NOTOKEN}, |
201 | {.token: PP_INCOMPLETE, .next: 0, .defchar: 58, .defnext: 93, .ident: PP_NOTOKEN}, |
202 | {.token: PP_QUOTE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
203 | {.token: PP_SINGLEQUOTE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
204 | {.token: PP_WHITESPACE, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
205 | {.token: PP_CPP_COMMENT, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
206 | {.token: PP_C_COMMENT, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
207 | {.token: PP_BACKSLASH, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
208 | {.token: PP_INCOMPLETE, .next: 10, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN}, |
209 | {.token: PP_FLOATING_LITERAL, .next: 0, .defchar: 0, .defnext: 0, .ident: PP_NOTOKEN} |
210 | }; |
211 | |