1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_dead_keys.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #if defined(K_DGRAVE) || (defined(HAVE_DECL_K_DGRAVE) && HAVE_DECL_K_DGRAVE)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((K_DGRAVE) == (K(KT_DEAD,0)), "K_DGRAVE != K(KT_DEAD,0)");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define K_DGRAVE K(KT_DEAD,0)
12 #endif
13 #if defined(K_DGRAVE) || (defined(HAVE_DECL_K_DGRAVE) && HAVE_DECL_K_DGRAVE)
14 #if defined XLAT_PREV_VAL
15 static_assert((unsigned long long) (K_DGRAVE)
16 > (unsigned long long) (XLAT_PREV_VAL),
17 "Incorrect order in #sorted xlat: K_DGRAVE"
18 " is not larger than the previous value");
19 #endif
20 #undef XLAT_PREV_VAL
21 #define XLAT_PREV_VAL (K_DGRAVE)
22 #endif
23 #if defined(K_DACUTE) || (defined(HAVE_DECL_K_DACUTE) && HAVE_DECL_K_DACUTE)
24 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
25 static_assert((K_DACUTE) == (K(KT_DEAD,1)), "K_DACUTE != K(KT_DEAD,1)");
26 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
27 #else
28 # define K_DACUTE K(KT_DEAD,1)
29 #endif
30 #if defined(K_DACUTE) || (defined(HAVE_DECL_K_DACUTE) && HAVE_DECL_K_DACUTE)
31 #if defined XLAT_PREV_VAL
32 static_assert((unsigned long long) (K_DACUTE)
33 > (unsigned long long) (XLAT_PREV_VAL),
34 "Incorrect order in #sorted xlat: K_DACUTE"
35 " is not larger than the previous value");
36 #endif
37 #undef XLAT_PREV_VAL
38 #define XLAT_PREV_VAL (K_DACUTE)
39 #endif
40 #if defined(K_DCIRCM) || (defined(HAVE_DECL_K_DCIRCM) && HAVE_DECL_K_DCIRCM)
41 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
42 static_assert((K_DCIRCM) == (K(KT_DEAD,2)), "K_DCIRCM != K(KT_DEAD,2)");
43 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
44 #else
45 # define K_DCIRCM K(KT_DEAD,2)
46 #endif
47 #if defined(K_DCIRCM) || (defined(HAVE_DECL_K_DCIRCM) && HAVE_DECL_K_DCIRCM)
48 #if defined XLAT_PREV_VAL
49 static_assert((unsigned long long) (K_DCIRCM)
50 > (unsigned long long) (XLAT_PREV_VAL),
51 "Incorrect order in #sorted xlat: K_DCIRCM"
52 " is not larger than the previous value");
53 #endif
54 #undef XLAT_PREV_VAL
55 #define XLAT_PREV_VAL (K_DCIRCM)
56 #endif
57 #if defined(K_DTILDE) || (defined(HAVE_DECL_K_DTILDE) && HAVE_DECL_K_DTILDE)
58 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
59 static_assert((K_DTILDE) == (K(KT_DEAD,3)), "K_DTILDE != K(KT_DEAD,3)");
60 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
61 #else
62 # define K_DTILDE K(KT_DEAD,3)
63 #endif
64 #if defined(K_DTILDE) || (defined(HAVE_DECL_K_DTILDE) && HAVE_DECL_K_DTILDE)
65 #if defined XLAT_PREV_VAL
66 static_assert((unsigned long long) (K_DTILDE)
67 > (unsigned long long) (XLAT_PREV_VAL),
68 "Incorrect order in #sorted xlat: K_DTILDE"
69 " is not larger than the previous value");
70 #endif
71 #undef XLAT_PREV_VAL
72 #define XLAT_PREV_VAL (K_DTILDE)
73 #endif
74 #if defined(K_DDIERE) || (defined(HAVE_DECL_K_DDIERE) && HAVE_DECL_K_DDIERE)
75 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
76 static_assert((K_DDIERE) == (K(KT_DEAD,4)), "K_DDIERE != K(KT_DEAD,4)");
77 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
78 #else
79 # define K_DDIERE K(KT_DEAD,4)
80 #endif
81 #if defined(K_DDIERE) || (defined(HAVE_DECL_K_DDIERE) && HAVE_DECL_K_DDIERE)
82 #if defined XLAT_PREV_VAL
83 static_assert((unsigned long long) (K_DDIERE)
84 > (unsigned long long) (XLAT_PREV_VAL),
85 "Incorrect order in #sorted xlat: K_DDIERE"
86 " is not larger than the previous value");
87 #endif
88 #undef XLAT_PREV_VAL
89 #define XLAT_PREV_VAL (K_DDIERE)
90 #endif
91 #if defined(K_DCEDIL) || (defined(HAVE_DECL_K_DCEDIL) && HAVE_DECL_K_DCEDIL)
92 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
93 static_assert((K_DCEDIL) == (K(KT_DEAD,5)), "K_DCEDIL != K(KT_DEAD,5)");
94 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
95 #else
96 # define K_DCEDIL K(KT_DEAD,5)
97 #endif
98 #if defined(K_DCEDIL) || (defined(HAVE_DECL_K_DCEDIL) && HAVE_DECL_K_DCEDIL)
99 #if defined XLAT_PREV_VAL
100 static_assert((unsigned long long) (K_DCEDIL)
101 > (unsigned long long) (XLAT_PREV_VAL),
102 "Incorrect order in #sorted xlat: K_DCEDIL"
103 " is not larger than the previous value");
104 #endif
105 #undef XLAT_PREV_VAL
106 #define XLAT_PREV_VAL (K_DCEDIL)
107 #endif
108 #if defined(K_DMACRON) || (defined(HAVE_DECL_K_DMACRON) && HAVE_DECL_K_DMACRON)
109 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
110 static_assert((K_DMACRON) == (K(KT_DEAD,6)), "K_DMACRON != K(KT_DEAD,6)");
111 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
112 #else
113 # define K_DMACRON K(KT_DEAD,6)
114 #endif
115 #if defined(K_DMACRON) || (defined(HAVE_DECL_K_DMACRON) && HAVE_DECL_K_DMACRON)
116 #if defined XLAT_PREV_VAL
117 static_assert((unsigned long long) (K_DMACRON)
118 > (unsigned long long) (XLAT_PREV_VAL),
119 "Incorrect order in #sorted xlat: K_DMACRON"
120 " is not larger than the previous value");
121 #endif
122 #undef XLAT_PREV_VAL
123 #define XLAT_PREV_VAL (K_DMACRON)
124 #endif
125 #if defined(K_DBREVE) || (defined(HAVE_DECL_K_DBREVE) && HAVE_DECL_K_DBREVE)
126 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
127 static_assert((K_DBREVE) == (K(KT_DEAD,7)), "K_DBREVE != K(KT_DEAD,7)");
128 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
129 #else
130 # define K_DBREVE K(KT_DEAD,7)
131 #endif
132 #if defined(K_DBREVE) || (defined(HAVE_DECL_K_DBREVE) && HAVE_DECL_K_DBREVE)
133 #if defined XLAT_PREV_VAL
134 static_assert((unsigned long long) (K_DBREVE)
135 > (unsigned long long) (XLAT_PREV_VAL),
136 "Incorrect order in #sorted xlat: K_DBREVE"
137 " is not larger than the previous value");
138 #endif
139 #undef XLAT_PREV_VAL
140 #define XLAT_PREV_VAL (K_DBREVE)
141 #endif
142 #if defined(K_DABDOT) || (defined(HAVE_DECL_K_DABDOT) && HAVE_DECL_K_DABDOT)
143 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
144 static_assert((K_DABDOT) == (K(KT_DEAD,8)), "K_DABDOT != K(KT_DEAD,8)");
145 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
146 #else
147 # define K_DABDOT K(KT_DEAD,8)
148 #endif
149 #if defined(K_DABDOT) || (defined(HAVE_DECL_K_DABDOT) && HAVE_DECL_K_DABDOT)
150 #if defined XLAT_PREV_VAL
151 static_assert((unsigned long long) (K_DABDOT)
152 > (unsigned long long) (XLAT_PREV_VAL),
153 "Incorrect order in #sorted xlat: K_DABDOT"
154 " is not larger than the previous value");
155 #endif
156 #undef XLAT_PREV_VAL
157 #define XLAT_PREV_VAL (K_DABDOT)
158 #endif
159 #if defined(K_DABRING) || (defined(HAVE_DECL_K_DABRING) && HAVE_DECL_K_DABRING)
160 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
161 static_assert((K_DABRING) == (K(KT_DEAD,9)), "K_DABRING != K(KT_DEAD,9)");
162 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
163 #else
164 # define K_DABRING K(KT_DEAD,9)
165 #endif
166 #if defined(K_DABRING) || (defined(HAVE_DECL_K_DABRING) && HAVE_DECL_K_DABRING)
167 #if defined XLAT_PREV_VAL
168 static_assert((unsigned long long) (K_DABRING)
169 > (unsigned long long) (XLAT_PREV_VAL),
170 "Incorrect order in #sorted xlat: K_DABRING"
171 " is not larger than the previous value");
172 #endif
173 #undef XLAT_PREV_VAL
174 #define XLAT_PREV_VAL (K_DABRING)
175 #endif
176 #if defined(K_DDBACUTE) || (defined(HAVE_DECL_K_DDBACUTE) && HAVE_DECL_K_DDBACUTE)
177 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
178 static_assert((K_DDBACUTE) == (K(KT_DEAD,10)), "K_DDBACUTE != K(KT_DEAD,10)");
179 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
180 #else
181 # define K_DDBACUTE K(KT_DEAD,10)
182 #endif
183 #if defined(K_DDBACUTE) || (defined(HAVE_DECL_K_DDBACUTE) && HAVE_DECL_K_DDBACUTE)
184 #if defined XLAT_PREV_VAL
185 static_assert((unsigned long long) (K_DDBACUTE)
186 > (unsigned long long) (XLAT_PREV_VAL),
187 "Incorrect order in #sorted xlat: K_DDBACUTE"
188 " is not larger than the previous value");
189 #endif
190 #undef XLAT_PREV_VAL
191 #define XLAT_PREV_VAL (K_DDBACUTE)
192 #endif
193 #if defined(K_DCARON) || (defined(HAVE_DECL_K_DCARON) && HAVE_DECL_K_DCARON)
194 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
195 static_assert((K_DCARON) == (K(KT_DEAD,11)), "K_DCARON != K(KT_DEAD,11)");
196 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
197 #else
198 # define K_DCARON K(KT_DEAD,11)
199 #endif
200 #if defined(K_DCARON) || (defined(HAVE_DECL_K_DCARON) && HAVE_DECL_K_DCARON)
201 #if defined XLAT_PREV_VAL
202 static_assert((unsigned long long) (K_DCARON)
203 > (unsigned long long) (XLAT_PREV_VAL),
204 "Incorrect order in #sorted xlat: K_DCARON"
205 " is not larger than the previous value");
206 #endif
207 #undef XLAT_PREV_VAL
208 #define XLAT_PREV_VAL (K_DCARON)
209 #endif
210 #if defined(K_DOGONEK) || (defined(HAVE_DECL_K_DOGONEK) && HAVE_DECL_K_DOGONEK)
211 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
212 static_assert((K_DOGONEK) == (K(KT_DEAD,12)), "K_DOGONEK != K(KT_DEAD,12)");
213 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
214 #else
215 # define K_DOGONEK K(KT_DEAD,12)
216 #endif
217 #if defined(K_DOGONEK) || (defined(HAVE_DECL_K_DOGONEK) && HAVE_DECL_K_DOGONEK)
218 #if defined XLAT_PREV_VAL
219 static_assert((unsigned long long) (K_DOGONEK)
220 > (unsigned long long) (XLAT_PREV_VAL),
221 "Incorrect order in #sorted xlat: K_DOGONEK"
222 " is not larger than the previous value");
223 #endif
224 #undef XLAT_PREV_VAL
225 #define XLAT_PREV_VAL (K_DOGONEK)
226 #endif
227 #if defined(K_DIOTA) || (defined(HAVE_DECL_K_DIOTA) && HAVE_DECL_K_DIOTA)
228 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
229 static_assert((K_DIOTA) == (K(KT_DEAD,13)), "K_DIOTA != K(KT_DEAD,13)");
230 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
231 #else
232 # define K_DIOTA K(KT_DEAD,13)
233 #endif
234 #if defined(K_DIOTA) || (defined(HAVE_DECL_K_DIOTA) && HAVE_DECL_K_DIOTA)
235 #if defined XLAT_PREV_VAL
236 static_assert((unsigned long long) (K_DIOTA)
237 > (unsigned long long) (XLAT_PREV_VAL),
238 "Incorrect order in #sorted xlat: K_DIOTA"
239 " is not larger than the previous value");
240 #endif
241 #undef XLAT_PREV_VAL
242 #define XLAT_PREV_VAL (K_DIOTA)
243 #endif
244 #if defined(K_DVOICED) || (defined(HAVE_DECL_K_DVOICED) && HAVE_DECL_K_DVOICED)
245 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
246 static_assert((K_DVOICED) == (K(KT_DEAD,14)), "K_DVOICED != K(KT_DEAD,14)");
247 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
248 #else
249 # define K_DVOICED K(KT_DEAD,14)
250 #endif
251 #if defined(K_DVOICED) || (defined(HAVE_DECL_K_DVOICED) && HAVE_DECL_K_DVOICED)
252 #if defined XLAT_PREV_VAL
253 static_assert((unsigned long long) (K_DVOICED)
254 > (unsigned long long) (XLAT_PREV_VAL),
255 "Incorrect order in #sorted xlat: K_DVOICED"
256 " is not larger than the previous value");
257 #endif
258 #undef XLAT_PREV_VAL
259 #define XLAT_PREV_VAL (K_DVOICED)
260 #endif
261 #if defined(K_DSEMVOICED) || (defined(HAVE_DECL_K_DSEMVOICED) && HAVE_DECL_K_DSEMVOICED)
262 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
263 static_assert((K_DSEMVOICED) == (K(KT_DEAD,15)), "K_DSEMVOICED != K(KT_DEAD,15)");
264 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
265 #else
266 # define K_DSEMVOICED K(KT_DEAD,15)
267 #endif
268 #if defined(K_DSEMVOICED) || (defined(HAVE_DECL_K_DSEMVOICED) && HAVE_DECL_K_DSEMVOICED)
269 #if defined XLAT_PREV_VAL
270 static_assert((unsigned long long) (K_DSEMVOICED)
271 > (unsigned long long) (XLAT_PREV_VAL),
272 "Incorrect order in #sorted xlat: K_DSEMVOICED"
273 " is not larger than the previous value");
274 #endif
275 #undef XLAT_PREV_VAL
276 #define XLAT_PREV_VAL (K_DSEMVOICED)
277 #endif
278 #if defined(K_DBEDOT) || (defined(HAVE_DECL_K_DBEDOT) && HAVE_DECL_K_DBEDOT)
279 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
280 static_assert((K_DBEDOT) == (K(KT_DEAD,16)), "K_DBEDOT != K(KT_DEAD,16)");
281 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
282 #else
283 # define K_DBEDOT K(KT_DEAD,16)
284 #endif
285 #if defined(K_DBEDOT) || (defined(HAVE_DECL_K_DBEDOT) && HAVE_DECL_K_DBEDOT)
286 #if defined XLAT_PREV_VAL
287 static_assert((unsigned long long) (K_DBEDOT)
288 > (unsigned long long) (XLAT_PREV_VAL),
289 "Incorrect order in #sorted xlat: K_DBEDOT"
290 " is not larger than the previous value");
291 #endif
292 #undef XLAT_PREV_VAL
293 #define XLAT_PREV_VAL (K_DBEDOT)
294 #endif
295 #if defined(K_DHOOK) || (defined(HAVE_DECL_K_DHOOK) && HAVE_DECL_K_DHOOK)
296 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
297 static_assert((K_DHOOK) == (K(KT_DEAD,17)), "K_DHOOK != K(KT_DEAD,17)");
298 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
299 #else
300 # define K_DHOOK K(KT_DEAD,17)
301 #endif
302 #if defined(K_DHOOK) || (defined(HAVE_DECL_K_DHOOK) && HAVE_DECL_K_DHOOK)
303 #if defined XLAT_PREV_VAL
304 static_assert((unsigned long long) (K_DHOOK)
305 > (unsigned long long) (XLAT_PREV_VAL),
306 "Incorrect order in #sorted xlat: K_DHOOK"
307 " is not larger than the previous value");
308 #endif
309 #undef XLAT_PREV_VAL
310 #define XLAT_PREV_VAL (K_DHOOK)
311 #endif
312 #if defined(K_DHORN) || (defined(HAVE_DECL_K_DHORN) && HAVE_DECL_K_DHORN)
313 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
314 static_assert((K_DHORN) == (K(KT_DEAD,18)), "K_DHORN != K(KT_DEAD,18)");
315 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
316 #else
317 # define K_DHORN K(KT_DEAD,18)
318 #endif
319 #if defined(K_DHORN) || (defined(HAVE_DECL_K_DHORN) && HAVE_DECL_K_DHORN)
320 #if defined XLAT_PREV_VAL
321 static_assert((unsigned long long) (K_DHORN)
322 > (unsigned long long) (XLAT_PREV_VAL),
323 "Incorrect order in #sorted xlat: K_DHORN"
324 " is not larger than the previous value");
325 #endif
326 #undef XLAT_PREV_VAL
327 #define XLAT_PREV_VAL (K_DHORN)
328 #endif
329 #if defined(K_DSTROKE) || (defined(HAVE_DECL_K_DSTROKE) && HAVE_DECL_K_DSTROKE)
330 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
331 static_assert((K_DSTROKE) == (K(KT_DEAD,19)), "K_DSTROKE != K(KT_DEAD,19)");
332 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
333 #else
334 # define K_DSTROKE K(KT_DEAD,19)
335 #endif
336 #if defined(K_DSTROKE) || (defined(HAVE_DECL_K_DSTROKE) && HAVE_DECL_K_DSTROKE)
337 #if defined XLAT_PREV_VAL
338 static_assert((unsigned long long) (K_DSTROKE)
339 > (unsigned long long) (XLAT_PREV_VAL),
340 "Incorrect order in #sorted xlat: K_DSTROKE"
341 " is not larger than the previous value");
342 #endif
343 #undef XLAT_PREV_VAL
344 #define XLAT_PREV_VAL (K_DSTROKE)
345 #endif
346 #if defined(K_DABCOMMA) || (defined(HAVE_DECL_K_DABCOMMA) && HAVE_DECL_K_DABCOMMA)
347 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
348 static_assert((K_DABCOMMA) == (K(KT_DEAD,20)), "K_DABCOMMA != K(KT_DEAD,20)");
349 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
350 #else
351 # define K_DABCOMMA K(KT_DEAD,20)
352 #endif
353 #if defined(K_DABCOMMA) || (defined(HAVE_DECL_K_DABCOMMA) && HAVE_DECL_K_DABCOMMA)
354 #if defined XLAT_PREV_VAL
355 static_assert((unsigned long long) (K_DABCOMMA)
356 > (unsigned long long) (XLAT_PREV_VAL),
357 "Incorrect order in #sorted xlat: K_DABCOMMA"
358 " is not larger than the previous value");
359 #endif
360 #undef XLAT_PREV_VAL
361 #define XLAT_PREV_VAL (K_DABCOMMA)
362 #endif
363 #if defined(K_DABREVCOMMA) || (defined(HAVE_DECL_K_DABREVCOMMA) && HAVE_DECL_K_DABREVCOMMA)
364 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
365 static_assert((K_DABREVCOMMA) == (K(KT_DEAD,21)), "K_DABREVCOMMA != K(KT_DEAD,21)");
366 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
367 #else
368 # define K_DABREVCOMMA K(KT_DEAD,21)
369 #endif
370 #if defined(K_DABREVCOMMA) || (defined(HAVE_DECL_K_DABREVCOMMA) && HAVE_DECL_K_DABREVCOMMA)
371 #if defined XLAT_PREV_VAL
372 static_assert((unsigned long long) (K_DABREVCOMMA)
373 > (unsigned long long) (XLAT_PREV_VAL),
374 "Incorrect order in #sorted xlat: K_DABREVCOMMA"
375 " is not larger than the previous value");
376 #endif
377 #undef XLAT_PREV_VAL
378 #define XLAT_PREV_VAL (K_DABREVCOMMA)
379 #endif
380 #if defined(K_DDBGRAVE) || (defined(HAVE_DECL_K_DDBGRAVE) && HAVE_DECL_K_DDBGRAVE)
381 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
382 static_assert((K_DDBGRAVE) == (K(KT_DEAD,22)), "K_DDBGRAVE != K(KT_DEAD,22)");
383 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
384 #else
385 # define K_DDBGRAVE K(KT_DEAD,22)
386 #endif
387 #if defined(K_DDBGRAVE) || (defined(HAVE_DECL_K_DDBGRAVE) && HAVE_DECL_K_DDBGRAVE)
388 #if defined XLAT_PREV_VAL
389 static_assert((unsigned long long) (K_DDBGRAVE)
390 > (unsigned long long) (XLAT_PREV_VAL),
391 "Incorrect order in #sorted xlat: K_DDBGRAVE"
392 " is not larger than the previous value");
393 #endif
394 #undef XLAT_PREV_VAL
395 #define XLAT_PREV_VAL (K_DDBGRAVE)
396 #endif
397 #if defined(K_DINVBREVE) || (defined(HAVE_DECL_K_DINVBREVE) && HAVE_DECL_K_DINVBREVE)
398 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
399 static_assert((K_DINVBREVE) == (K(KT_DEAD,23)), "K_DINVBREVE != K(KT_DEAD,23)");
400 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
401 #else
402 # define K_DINVBREVE K(KT_DEAD,23)
403 #endif
404 #if defined(K_DINVBREVE) || (defined(HAVE_DECL_K_DINVBREVE) && HAVE_DECL_K_DINVBREVE)
405 #if defined XLAT_PREV_VAL
406 static_assert((unsigned long long) (K_DINVBREVE)
407 > (unsigned long long) (XLAT_PREV_VAL),
408 "Incorrect order in #sorted xlat: K_DINVBREVE"
409 " is not larger than the previous value");
410 #endif
411 #undef XLAT_PREV_VAL
412 #define XLAT_PREV_VAL (K_DINVBREVE)
413 #endif
414 #if defined(K_DBECOMMA) || (defined(HAVE_DECL_K_DBECOMMA) && HAVE_DECL_K_DBECOMMA)
415 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
416 static_assert((K_DBECOMMA) == (K(KT_DEAD,24)), "K_DBECOMMA != K(KT_DEAD,24)");
417 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
418 #else
419 # define K_DBECOMMA K(KT_DEAD,24)
420 #endif
421 #if defined(K_DBECOMMA) || (defined(HAVE_DECL_K_DBECOMMA) && HAVE_DECL_K_DBECOMMA)
422 #if defined XLAT_PREV_VAL
423 static_assert((unsigned long long) (K_DBECOMMA)
424 > (unsigned long long) (XLAT_PREV_VAL),
425 "Incorrect order in #sorted xlat: K_DBECOMMA"
426 " is not larger than the previous value");
427 #endif
428 #undef XLAT_PREV_VAL
429 #define XLAT_PREV_VAL (K_DBECOMMA)
430 #endif
431 #if defined(K_DCURRENCY) || (defined(HAVE_DECL_K_DCURRENCY) && HAVE_DECL_K_DCURRENCY)
432 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
433 static_assert((K_DCURRENCY) == (K(KT_DEAD,25)), "K_DCURRENCY != K(KT_DEAD,25)");
434 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
435 #else
436 # define K_DCURRENCY K(KT_DEAD,25)
437 #endif
438 #if defined(K_DCURRENCY) || (defined(HAVE_DECL_K_DCURRENCY) && HAVE_DECL_K_DCURRENCY)
439 #if defined XLAT_PREV_VAL
440 static_assert((unsigned long long) (K_DCURRENCY)
441 > (unsigned long long) (XLAT_PREV_VAL),
442 "Incorrect order in #sorted xlat: K_DCURRENCY"
443 " is not larger than the previous value");
444 #endif
445 #undef XLAT_PREV_VAL
446 #define XLAT_PREV_VAL (K_DCURRENCY)
447 #endif
448 #if defined(K_DGREEK) || (defined(HAVE_DECL_K_DGREEK) && HAVE_DECL_K_DGREEK)
449 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
450 static_assert((K_DGREEK) == (K(KT_DEAD,26)), "K_DGREEK != K(KT_DEAD,26)");
451 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
452 #else
453 # define K_DGREEK K(KT_DEAD,26)
454 #endif
455 #if defined(K_DGREEK) || (defined(HAVE_DECL_K_DGREEK) && HAVE_DECL_K_DGREEK)
456 #if defined XLAT_PREV_VAL
457 static_assert((unsigned long long) (K_DGREEK)
458 > (unsigned long long) (XLAT_PREV_VAL),
459 "Incorrect order in #sorted xlat: K_DGREEK"
460 " is not larger than the previous value");
461 #endif
462 #undef XLAT_PREV_VAL
463 #define XLAT_PREV_VAL (K_DGREEK)
464 #endif
465 #undef XLAT_PREV_VAL
466
467 #ifndef XLAT_MACROS_ONLY
468
469 # ifdef IN_MPERS
470
471 # error static const struct xlat kd_key_dead_keys in mpers mode
472
473 # else
474
475 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
476 static const struct xlat_data kd_key_dead_keys_xdata[] = {
477 XLAT(K_DGRAVE),
478 #define XLAT_VAL_0 ((unsigned) (K_DGRAVE))
479 #define XLAT_STR_0 STRINGIFY(K_DGRAVE)
480 XLAT(K_DACUTE),
481 #define XLAT_VAL_1 ((unsigned) (K_DACUTE))
482 #define XLAT_STR_1 STRINGIFY(K_DACUTE)
483 XLAT(K_DCIRCM),
484 #define XLAT_VAL_2 ((unsigned) (K_DCIRCM))
485 #define XLAT_STR_2 STRINGIFY(K_DCIRCM)
486 XLAT(K_DTILDE),
487 #define XLAT_VAL_3 ((unsigned) (K_DTILDE))
488 #define XLAT_STR_3 STRINGIFY(K_DTILDE)
489 XLAT(K_DDIERE),
490 #define XLAT_VAL_4 ((unsigned) (K_DDIERE))
491 #define XLAT_STR_4 STRINGIFY(K_DDIERE)
492 XLAT(K_DCEDIL),
493 #define XLAT_VAL_5 ((unsigned) (K_DCEDIL))
494 #define XLAT_STR_5 STRINGIFY(K_DCEDIL)
495 XLAT(K_DMACRON),
496 #define XLAT_VAL_6 ((unsigned) (K_DMACRON))
497 #define XLAT_STR_6 STRINGIFY(K_DMACRON)
498 XLAT(K_DBREVE),
499 #define XLAT_VAL_7 ((unsigned) (K_DBREVE))
500 #define XLAT_STR_7 STRINGIFY(K_DBREVE)
501 XLAT(K_DABDOT),
502 #define XLAT_VAL_8 ((unsigned) (K_DABDOT))
503 #define XLAT_STR_8 STRINGIFY(K_DABDOT)
504 XLAT(K_DABRING),
505 #define XLAT_VAL_9 ((unsigned) (K_DABRING))
506 #define XLAT_STR_9 STRINGIFY(K_DABRING)
507 XLAT(K_DDBACUTE),
508 #define XLAT_VAL_10 ((unsigned) (K_DDBACUTE))
509 #define XLAT_STR_10 STRINGIFY(K_DDBACUTE)
510 XLAT(K_DCARON),
511 #define XLAT_VAL_11 ((unsigned) (K_DCARON))
512 #define XLAT_STR_11 STRINGIFY(K_DCARON)
513 XLAT(K_DOGONEK),
514 #define XLAT_VAL_12 ((unsigned) (K_DOGONEK))
515 #define XLAT_STR_12 STRINGIFY(K_DOGONEK)
516 XLAT(K_DIOTA),
517 #define XLAT_VAL_13 ((unsigned) (K_DIOTA))
518 #define XLAT_STR_13 STRINGIFY(K_DIOTA)
519 XLAT(K_DVOICED),
520 #define XLAT_VAL_14 ((unsigned) (K_DVOICED))
521 #define XLAT_STR_14 STRINGIFY(K_DVOICED)
522 XLAT(K_DSEMVOICED),
523 #define XLAT_VAL_15 ((unsigned) (K_DSEMVOICED))
524 #define XLAT_STR_15 STRINGIFY(K_DSEMVOICED)
525 XLAT(K_DBEDOT),
526 #define XLAT_VAL_16 ((unsigned) (K_DBEDOT))
527 #define XLAT_STR_16 STRINGIFY(K_DBEDOT)
528 XLAT(K_DHOOK),
529 #define XLAT_VAL_17 ((unsigned) (K_DHOOK))
530 #define XLAT_STR_17 STRINGIFY(K_DHOOK)
531 XLAT(K_DHORN),
532 #define XLAT_VAL_18 ((unsigned) (K_DHORN))
533 #define XLAT_STR_18 STRINGIFY(K_DHORN)
534 XLAT(K_DSTROKE),
535 #define XLAT_VAL_19 ((unsigned) (K_DSTROKE))
536 #define XLAT_STR_19 STRINGIFY(K_DSTROKE)
537 XLAT(K_DABCOMMA),
538 #define XLAT_VAL_20 ((unsigned) (K_DABCOMMA))
539 #define XLAT_STR_20 STRINGIFY(K_DABCOMMA)
540 XLAT(K_DABREVCOMMA),
541 #define XLAT_VAL_21 ((unsigned) (K_DABREVCOMMA))
542 #define XLAT_STR_21 STRINGIFY(K_DABREVCOMMA)
543 XLAT(K_DDBGRAVE),
544 #define XLAT_VAL_22 ((unsigned) (K_DDBGRAVE))
545 #define XLAT_STR_22 STRINGIFY(K_DDBGRAVE)
546 XLAT(K_DINVBREVE),
547 #define XLAT_VAL_23 ((unsigned) (K_DINVBREVE))
548 #define XLAT_STR_23 STRINGIFY(K_DINVBREVE)
549 XLAT(K_DBECOMMA),
550 #define XLAT_VAL_24 ((unsigned) (K_DBECOMMA))
551 #define XLAT_STR_24 STRINGIFY(K_DBECOMMA)
552 XLAT(K_DCURRENCY),
553 #define XLAT_VAL_25 ((unsigned) (K_DCURRENCY))
554 #define XLAT_STR_25 STRINGIFY(K_DCURRENCY)
555 XLAT(K_DGREEK),
556 #define XLAT_VAL_26 ((unsigned) (K_DGREEK))
557 #define XLAT_STR_26 STRINGIFY(K_DGREEK)
558 };
559 static
560 const struct xlat kd_key_dead_keys[1] = { {
561 .data = kd_key_dead_keys_xdata,
562 .size = ARRAY_SIZE(kd_key_dead_keys_xdata),
563 .type = XT_SORTED,
564 .flags_mask = 0
565 # ifdef XLAT_VAL_0
566 | XLAT_VAL_0
567 # endif
568 # ifdef XLAT_VAL_1
569 | XLAT_VAL_1
570 # endif
571 # ifdef XLAT_VAL_2
572 | XLAT_VAL_2
573 # endif
574 # ifdef XLAT_VAL_3
575 | XLAT_VAL_3
576 # endif
577 # ifdef XLAT_VAL_4
578 | XLAT_VAL_4
579 # endif
580 # ifdef XLAT_VAL_5
581 | XLAT_VAL_5
582 # endif
583 # ifdef XLAT_VAL_6
584 | XLAT_VAL_6
585 # endif
586 # ifdef XLAT_VAL_7
587 | XLAT_VAL_7
588 # endif
589 # ifdef XLAT_VAL_8
590 | XLAT_VAL_8
591 # endif
592 # ifdef XLAT_VAL_9
593 | XLAT_VAL_9
594 # endif
595 # ifdef XLAT_VAL_10
596 | XLAT_VAL_10
597 # endif
598 # ifdef XLAT_VAL_11
599 | XLAT_VAL_11
600 # endif
601 # ifdef XLAT_VAL_12
602 | XLAT_VAL_12
603 # endif
604 # ifdef XLAT_VAL_13
605 | XLAT_VAL_13
606 # endif
607 # ifdef XLAT_VAL_14
608 | XLAT_VAL_14
609 # endif
610 # ifdef XLAT_VAL_15
611 | XLAT_VAL_15
612 # endif
613 # ifdef XLAT_VAL_16
614 | XLAT_VAL_16
615 # endif
616 # ifdef XLAT_VAL_17
617 | XLAT_VAL_17
618 # endif
619 # ifdef XLAT_VAL_18
620 | XLAT_VAL_18
621 # endif
622 # ifdef XLAT_VAL_19
623 | XLAT_VAL_19
624 # endif
625 # ifdef XLAT_VAL_20
626 | XLAT_VAL_20
627 # endif
628 # ifdef XLAT_VAL_21
629 | XLAT_VAL_21
630 # endif
631 # ifdef XLAT_VAL_22
632 | XLAT_VAL_22
633 # endif
634 # ifdef XLAT_VAL_23
635 | XLAT_VAL_23
636 # endif
637 # ifdef XLAT_VAL_24
638 | XLAT_VAL_24
639 # endif
640 # ifdef XLAT_VAL_25
641 | XLAT_VAL_25
642 # endif
643 # ifdef XLAT_VAL_26
644 | XLAT_VAL_26
645 # endif
646 ,
647 .flags_strsz = 0
648 # ifdef XLAT_STR_0
649 + sizeof(XLAT_STR_0)
650 # endif
651 # ifdef XLAT_STR_1
652 + sizeof(XLAT_STR_1)
653 # endif
654 # ifdef XLAT_STR_2
655 + sizeof(XLAT_STR_2)
656 # endif
657 # ifdef XLAT_STR_3
658 + sizeof(XLAT_STR_3)
659 # endif
660 # ifdef XLAT_STR_4
661 + sizeof(XLAT_STR_4)
662 # endif
663 # ifdef XLAT_STR_5
664 + sizeof(XLAT_STR_5)
665 # endif
666 # ifdef XLAT_STR_6
667 + sizeof(XLAT_STR_6)
668 # endif
669 # ifdef XLAT_STR_7
670 + sizeof(XLAT_STR_7)
671 # endif
672 # ifdef XLAT_STR_8
673 + sizeof(XLAT_STR_8)
674 # endif
675 # ifdef XLAT_STR_9
676 + sizeof(XLAT_STR_9)
677 # endif
678 # ifdef XLAT_STR_10
679 + sizeof(XLAT_STR_10)
680 # endif
681 # ifdef XLAT_STR_11
682 + sizeof(XLAT_STR_11)
683 # endif
684 # ifdef XLAT_STR_12
685 + sizeof(XLAT_STR_12)
686 # endif
687 # ifdef XLAT_STR_13
688 + sizeof(XLAT_STR_13)
689 # endif
690 # ifdef XLAT_STR_14
691 + sizeof(XLAT_STR_14)
692 # endif
693 # ifdef XLAT_STR_15
694 + sizeof(XLAT_STR_15)
695 # endif
696 # ifdef XLAT_STR_16
697 + sizeof(XLAT_STR_16)
698 # endif
699 # ifdef XLAT_STR_17
700 + sizeof(XLAT_STR_17)
701 # endif
702 # ifdef XLAT_STR_18
703 + sizeof(XLAT_STR_18)
704 # endif
705 # ifdef XLAT_STR_19
706 + sizeof(XLAT_STR_19)
707 # endif
708 # ifdef XLAT_STR_20
709 + sizeof(XLAT_STR_20)
710 # endif
711 # ifdef XLAT_STR_21
712 + sizeof(XLAT_STR_21)
713 # endif
714 # ifdef XLAT_STR_22
715 + sizeof(XLAT_STR_22)
716 # endif
717 # ifdef XLAT_STR_23
718 + sizeof(XLAT_STR_23)
719 # endif
720 # ifdef XLAT_STR_24
721 + sizeof(XLAT_STR_24)
722 # endif
723 # ifdef XLAT_STR_25
724 + sizeof(XLAT_STR_25)
725 # endif
726 # ifdef XLAT_STR_26
727 + sizeof(XLAT_STR_26)
728 # endif
729 ,
730 } };
731 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
732
733 # undef XLAT_STR_0
734 # undef XLAT_VAL_0
735 # undef XLAT_STR_1
736 # undef XLAT_VAL_1
737 # undef XLAT_STR_2
738 # undef XLAT_VAL_2
739 # undef XLAT_STR_3
740 # undef XLAT_VAL_3
741 # undef XLAT_STR_4
742 # undef XLAT_VAL_4
743 # undef XLAT_STR_5
744 # undef XLAT_VAL_5
745 # undef XLAT_STR_6
746 # undef XLAT_VAL_6
747 # undef XLAT_STR_7
748 # undef XLAT_VAL_7
749 # undef XLAT_STR_8
750 # undef XLAT_VAL_8
751 # undef XLAT_STR_9
752 # undef XLAT_VAL_9
753 # undef XLAT_STR_10
754 # undef XLAT_VAL_10
755 # undef XLAT_STR_11
756 # undef XLAT_VAL_11
757 # undef XLAT_STR_12
758 # undef XLAT_VAL_12
759 # undef XLAT_STR_13
760 # undef XLAT_VAL_13
761 # undef XLAT_STR_14
762 # undef XLAT_VAL_14
763 # undef XLAT_STR_15
764 # undef XLAT_VAL_15
765 # undef XLAT_STR_16
766 # undef XLAT_VAL_16
767 # undef XLAT_STR_17
768 # undef XLAT_VAL_17
769 # undef XLAT_STR_18
770 # undef XLAT_VAL_18
771 # undef XLAT_STR_19
772 # undef XLAT_VAL_19
773 # undef XLAT_STR_20
774 # undef XLAT_VAL_20
775 # undef XLAT_STR_21
776 # undef XLAT_VAL_21
777 # undef XLAT_STR_22
778 # undef XLAT_VAL_22
779 # undef XLAT_STR_23
780 # undef XLAT_VAL_23
781 # undef XLAT_STR_24
782 # undef XLAT_VAL_24
783 # undef XLAT_STR_25
784 # undef XLAT_VAL_25
785 # undef XLAT_STR_26
786 # undef XLAT_VAL_26
787 # endif /* !IN_MPERS */
788
789 #endif /* !XLAT_MACROS_ONLY */