1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags_tabdly.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #ifndef ALPHA
7 #endif
8 #undef XLAT_PREV_VAL
9
10 #ifndef XLAT_MACROS_ONLY
11
12 # ifdef IN_MPERS
13
14 # error static const struct xlat term_oflags_tabdly in mpers mode
15
16 # else
17
18 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
19 static const struct xlat_data term_oflags_tabdly_xdata[] = {
20 #ifndef ALPHA
21 #if defined(XTABS) || (defined(HAVE_DECL_XTABS) && HAVE_DECL_XTABS)
22 XLAT(XTABS),
23 #define XLAT_VAL_0 ((unsigned) (XTABS))
24 #define XLAT_STR_0 STRINGIFY(XTABS)
25 #endif
26 #endif
27
28 #if defined(TAB0) || (defined(HAVE_DECL_TAB0) && HAVE_DECL_TAB0)
29 XLAT(TAB0),
30 #define XLAT_VAL_1 ((unsigned) (TAB0))
31 #define XLAT_STR_1 STRINGIFY(TAB0)
32 #endif
33 #if defined(TAB1) || (defined(HAVE_DECL_TAB1) && HAVE_DECL_TAB1)
34 XLAT(TAB1),
35 #define XLAT_VAL_2 ((unsigned) (TAB1))
36 #define XLAT_STR_2 STRINGIFY(TAB1)
37 #endif
38 #if defined(TAB2) || (defined(HAVE_DECL_TAB2) && HAVE_DECL_TAB2)
39 XLAT(TAB2),
40 #define XLAT_VAL_3 ((unsigned) (TAB2))
41 #define XLAT_STR_3 STRINGIFY(TAB2)
42 #endif
43 #if defined(TAB3) || (defined(HAVE_DECL_TAB3) && HAVE_DECL_TAB3)
44 XLAT(TAB3),
45 #define XLAT_VAL_4 ((unsigned) (TAB3))
46 #define XLAT_STR_4 STRINGIFY(TAB3)
47 #endif
48 };
49 static
50 const struct xlat term_oflags_tabdly[1] = { {
51 .data = term_oflags_tabdly_xdata,
52 .size = ARRAY_SIZE(term_oflags_tabdly_xdata),
53 .type = XT_NORMAL,
54 .flags_mask = 0
55 # ifdef XLAT_VAL_0
56 | XLAT_VAL_0
57 # endif
58 # ifdef XLAT_VAL_1
59 | XLAT_VAL_1
60 # endif
61 # ifdef XLAT_VAL_2
62 | XLAT_VAL_2
63 # endif
64 # ifdef XLAT_VAL_3
65 | XLAT_VAL_3
66 # endif
67 # ifdef XLAT_VAL_4
68 | XLAT_VAL_4
69 # endif
70 ,
71 .flags_strsz = 0
72 # ifdef XLAT_STR_0
73 + sizeof(XLAT_STR_0)
74 # endif
75 # ifdef XLAT_STR_1
76 + sizeof(XLAT_STR_1)
77 # endif
78 # ifdef XLAT_STR_2
79 + sizeof(XLAT_STR_2)
80 # endif
81 # ifdef XLAT_STR_3
82 + sizeof(XLAT_STR_3)
83 # endif
84 # ifdef XLAT_STR_4
85 + sizeof(XLAT_STR_4)
86 # endif
87 ,
88 } };
89 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
90
91 # undef XLAT_STR_0
92 # undef XLAT_VAL_0
93 # undef XLAT_STR_1
94 # undef XLAT_VAL_1
95 # undef XLAT_STR_2
96 # undef XLAT_VAL_2
97 # undef XLAT_STR_3
98 # undef XLAT_VAL_3
99 # undef XLAT_STR_4
100 # undef XLAT_VAL_4
101 # endif /* !IN_MPERS */
102
103 #endif /* !XLAT_MACROS_ONLY */