1 /*
2  * Copyright (c) 2009 Corinna Vinschen <corinna@vinschen.de>
3  */
4 /* ctype table definitions for ISO-8859-x charsets.
5    Included by ctype_.c. */
6 
7 #define _CTYPE_ISO_8859_1_128_254 \
8         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
9         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
10         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
11         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
12         _S|_B,  _P,     _P,     _P,     _P,     _P,     _P,     _P, \
13         _P,     _P,     _P,     _P,     _P,     _P,     _P,     _P, \
14         _P,     _P,     _P,     _P,     _P,     _P,     _P,     _P, \
15         _P,     _P,     _P,     _P,     _P,     _P,     _P,     _P, \
16         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
17         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
18         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _P, \
19         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _L, \
20         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
21         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
22         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _P, \
23         _L,     _L,     _L,     _L,     _L,     _L,     _L
24 #define _CTYPE_ISO_8859_1_255 _L
25 #define _CTYPE_ISO_8859_2_128_254 \
26 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
27         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
28         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
29         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
30 	_S|_B,	_U,	_P,	_U,	_P,	_U,	_U,	_P, \
31 	_P,	_U,	_U,	_U,	_U,	_P,	_U,	_U, \
32 	_P,	_L,	_P,	_L,	_P,	_L,	_L,	_P, \
33 	_P,	_L,	_L,	_L,	_L,	_P,	_L,	_L, \
34         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
35         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
36         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _P, \
37         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _L, \
38         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
39         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
40         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _P, \
41         _L,     _L,     _L,     _L,     _L,     _L,     _L
42 #define _CTYPE_ISO_8859_2_255 _P
43 #define _CTYPE_ISO_8859_3_128_254 \
44 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
45         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
46         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
47         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
48 	_S|_B,	_U,	_P,	_P,	_P,	0,	_U,	_P, \
49 	_P,	_U,	_U,	_U,	_U,	_P,	0,	_U, \
50 	_P,	_L,	_P,	_P,	_P,	_P,	_L,	_P, \
51 	_P,	_L,	_L,	_L,	_L,	_P,	0,	_L, \
52 	_U,	_U,	_U,	0,	_U,	_U,	_U,	_U, \
53 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
54 	0,	_U,	_U,	_U,	_U,	_U,	_U,	_P, \
55 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_L, \
56 	_L,	_L,	_L,	0,	_L,	_L,	_L,	_L, \
57 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
58 	0,	_L,	_L,	_L,	_L,	_L,	_L,	_P, \
59 	_L,	_L,	_L,	_L,	_L,	_L,	_L
60 #define _CTYPE_ISO_8859_3_255 _P
61 #define _CTYPE_ISO_8859_4_128_254 \
62 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
63         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
64         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
65         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
66 	_S|_B,	_U,	_L,	_U,	_P,	_U,	_U,	_P, \
67 	_P,	_U,	_U,	_U,	_U,	_P,	_U,	_P, \
68 	_P,	_L,	_P,	_L,	_P,	_L,	_L,	_P, \
69 	_P,	_L,	_L,	_L,	_L,	_P,	_L,	_L, \
70         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
71         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
72         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _P, \
73         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _L, \
74         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
75         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
76         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _P, \
77         _L,     _L,     _L,     _L,     _L,     _L,     _L
78 #define _CTYPE_ISO_8859_4_255 _L
79 #define _CTYPE_ISO_8859_5_128_254 \
80 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
81         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
82         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
83         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
84 	_S|_B,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
85 	_U,	_U,	_U,	_U,	_U,	_P,	_U,	_U, \
86 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
87 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
88         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
89         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
90         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
91         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
92         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
93         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
94         _P,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
95         _L,     _L,     _L,     _L,     _L,     _P,     _L
96 #define _CTYPE_ISO_8859_5_255 _L
97 #define _CTYPE_ISO_8859_6_128_254 \
98 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
99         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
100         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
101         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
102 	_S|_B,	0,	0,	0,	_P,	0,	0,	0,  \
103 	0,	0,	0,	0,	_P,	_P,	0,	0,  \
104 	0,	0,	0,	0,	0,	0,	0,	0,  \
105 	0,	0,	0,	_P,	0,	0,	0,	_P, \
106 	0,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
107 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
108 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
109 	_U|_L,	_U|_L,	_U|_L,	0,	0,	0,	0,	0,  \
110 	_P,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
111 	_U|_L,	_U|_L,	_U|_L,	_P,	_P,	_P,	_P,	_P, \
112 	_P,	_P,	_P,	0,	0,	0,	0,	0,  \
113 	0,	0,	0,	0,	0,	0,	0
114 #define _CTYPE_ISO_8859_6_255 0
115 #define _CTYPE_ISO_8859_7_128_254 \
116 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
117         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
118         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
119         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
120 	_S|_B,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
121 	_P,	_P,	_P,	_P,	_P,	_P,	0,	_P, \
122 	_P,	_P,	_P,	_P,	_P,	_P,	_U,	_P, \
123 	_U,	_U,	_U,	_P,	_U,	_P,	_U,	_U, \
124 	_L,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
125 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
126 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
127 	_U,	_U,	_U,	_U,	_L,	_L,	_L,	_L, \
128 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
129 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
130 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
131 	_L,	_L,	_L,	_L,	_L,	_L,	_L
132 #define _CTYPE_ISO_8859_7_255 0
133 #define _CTYPE_ISO_8859_8_128_254 \
134 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
135         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
136         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
137         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
138 	_S|_B,	0,	_P,	_P,	_P,	_P,	_P,	_P, \
139 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
140 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
141 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	0,  \
142 	0,	0,	0,	0,	0,	0,	0,	0,  \
143 	0,	0,	0,	0,	0,	0,	0,	0,  \
144 	0,	0,	0,	0,	0,	0,	0,	0,  \
145 	0,	0,	0,	0,	0,	0,	0,	_P, \
146 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
147 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
148 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
149 	_U|_L,	_U|_L,	_U|_L,	0,	0,	_P,	_P
150 #define _CTYPE_ISO_8859_8_255 0
151 #define _CTYPE_ISO_8859_9_128_254 \
152 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
153         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
154         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
155         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
156 	_S|_B,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
157 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
158 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
159 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
160 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
161 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
162 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_P, \
163 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_L, \
164 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
165 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
166 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_P, \
167 	_L,	_L,	_L,	_L,	_L,	_L,	_L
168 #define _CTYPE_ISO_8859_9_255 _L
169 #define _CTYPE_ISO_8859_10_128_254 \
170 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
171         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
172         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
173         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
174 	_S|_B,	_U,	_U,	_U,	_U,	_U,	_U,	_P, \
175 	_U,	_U,	_U,	_U,	_U,	_P,	_U,	_U, \
176 	_P,	_L,	_L,	_L,	_L,	_L,	_L,	_P, \
177 	_L,	_L,	_L,	_L,	_L,	_P,	_L,	_L, \
178 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
179 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
180 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
181 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_L, \
182 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
183 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
184 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
185 	_L,	_L,	_L,	_L,	_L,	_L,	_L
186 #define _CTYPE_ISO_8859_10_255 _L
187 #define _CTYPE_ISO_8859_11_128_254 \
188 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
189         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
190         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
191         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
192 	_S|_B,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
193 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
194 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
195 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
196 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
197 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
198 	_U|_L,	_P,	_U|_L,	_U|_L,	_P,	_P,	_P,	_P, \
199 	_P,	_P,	_P,	0,	0,	0,	0,	_P, \
200 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_P, \
201 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_U|_L, \
202 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L,	_U|_L, \
203 	_U|_L,	_U|_L,	_U|_L,	_U|_L,	0,	0,	0
204 #define _CTYPE_ISO_8859_11_255 0
205 #define _CTYPE_ISO_8859_13_128_254 \
206 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
207         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
208         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
209         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
210 	_S|_B,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
211 	_U,	_P,	_U,	_P,	_P,	_P,	_P,	_P, \
212 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_P, \
213 	_L,	_P,	_L,	_P,	_P,	_P,	_P,	_P, \
214 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
215 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
216 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_P, \
217 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_L, \
218 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
219 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
220 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_P, \
221 	_L,	_L,	_L,	_L,	_L,	_L,	_L
222 #define _CTYPE_ISO_8859_13_255 _P
223 #define _CTYPE_ISO_8859_14_128_254 \
224 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
225         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
226         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
227         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
228 	_S|_B,	_U,	_L,	_P,	_U,	_L,	_U,	_P, \
229 	_U,	_P,	_U,	_L,	_U,	_P,	_P,	_U, \
230 	_U,	_L,	_U,	_L,	_U,	_L,	_P,	_U, \
231 	_L,	_L,	_L,	_U,	_L,	_U,	_L,	_L, \
232 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
233 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
234 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
235 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_L, \
236 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
237 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
238 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
239 	_L,	_L,	_L,	_L,	_L,	_L,	_L
240 #define _CTYPE_ISO_8859_14_255 _L
241 #define _CTYPE_ISO_8859_15_128_254 \
242 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
243         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
244         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
245         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
246         _S|_B,  _P,     _P,     _P,     _P,     _P,     _U,     _P, \
247         _L,     _P,     _P,     _P,     _P,     _P,     _P,     _P, \
248         _P,     _P,     _P,     _P,     _U,     _P,     _P,     _P, \
249         _L,     _P,     _P,     _P,     _U,     _L,     _U,     _P, \
250         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
251         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _U, \
252         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _P, \
253         _U,     _U,     _U,     _U,     _U,     _U,     _U,     _L, \
254         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
255         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _L, \
256         _L,     _L,     _L,     _L,     _L,     _L,     _L,     _P, \
257         _L,     _L,     _L,     _L,     _L,     _L,     _L
258 #define _CTYPE_ISO_8859_15_255 _L
259 #define _CTYPE_ISO_8859_16_128_254 \
260 	_C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
261         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
262         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
263         _C,     _C,     _C,     _C,     _C,     _C,     _C,     _C, \
264 	_S|_B,	_U,	_L,	_U,	_P,	_P,	_U,	_P, \
265 	_L,	_P,	_U,	_P,	_U,	_P,	_L,	_U, \
266 	_P,	_P,	_U,	_U,	_U,	_P,	_P,	_P, \
267 	_L,	_L,	_L,	_P,	_U,	_L,	_U,	_L, \
268 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
269 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
270 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U, \
271 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_L, \
272 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
273 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
274 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L, \
275 	_L,	_L,	_L,	_L,	_L,	_L,	_L
276 #define _CTYPE_ISO_8859_16_255 _L
277 
278 extern int __iso_8859_index (const char *charset_ext);
279 
280 #if defined(ALLOW_NEGATIVE_CTYPE_INDEX)
281 
282 #ifndef __CYGWIN__
283 static const
284 #endif
285 char __ctype_iso[15][128 + 256] = {
286   { _CTYPE_ISO_8859_1_128_254,
287     0,
288     _CTYPE_DATA_0_127,
289     _CTYPE_ISO_8859_1_128_254,
290     _CTYPE_ISO_8859_1_255
291   },
292   { _CTYPE_ISO_8859_2_128_254,
293     0,
294     _CTYPE_DATA_0_127,
295     _CTYPE_ISO_8859_2_128_254,
296     _CTYPE_ISO_8859_2_255
297   },
298   { _CTYPE_ISO_8859_3_128_254,
299     0,
300     _CTYPE_DATA_0_127,
301     _CTYPE_ISO_8859_3_128_254,
302     _CTYPE_ISO_8859_3_255
303   },
304   { _CTYPE_ISO_8859_4_128_254,
305     0,
306     _CTYPE_DATA_0_127,
307     _CTYPE_ISO_8859_4_128_254,
308     _CTYPE_ISO_8859_4_255
309   },
310   { _CTYPE_ISO_8859_5_128_254,
311     0,
312     _CTYPE_DATA_0_127,
313     _CTYPE_ISO_8859_5_128_254,
314     _CTYPE_ISO_8859_5_255
315   },
316   { _CTYPE_ISO_8859_6_128_254,
317     0,
318     _CTYPE_DATA_0_127,
319     _CTYPE_ISO_8859_6_128_254,
320     _CTYPE_ISO_8859_6_255
321   },
322   { _CTYPE_ISO_8859_7_128_254,
323     0,
324     _CTYPE_DATA_0_127,
325     _CTYPE_ISO_8859_7_128_254,
326     _CTYPE_ISO_8859_7_255
327   },
328   { _CTYPE_ISO_8859_8_128_254,
329     0,
330     _CTYPE_DATA_0_127,
331     _CTYPE_ISO_8859_8_128_254,
332     _CTYPE_ISO_8859_8_255
333   },
334   { _CTYPE_ISO_8859_9_128_254,
335     0,
336     _CTYPE_DATA_0_127,
337     _CTYPE_ISO_8859_9_128_254,
338     _CTYPE_ISO_8859_9_255
339   },
340   { _CTYPE_ISO_8859_10_128_254,
341     0,
342     _CTYPE_DATA_0_127,
343     _CTYPE_ISO_8859_10_128_254,
344     _CTYPE_ISO_8859_10_255
345   },
346   { _CTYPE_ISO_8859_11_128_254,
347     0,
348     _CTYPE_DATA_0_127,
349     _CTYPE_ISO_8859_11_128_254,
350     _CTYPE_ISO_8859_11_255
351   },
352   { _CTYPE_ISO_8859_13_128_254,
353     0,
354     _CTYPE_DATA_0_127,
355     _CTYPE_ISO_8859_13_128_254,
356     _CTYPE_ISO_8859_13_255
357   },
358   { _CTYPE_ISO_8859_14_128_254,
359     0,
360     _CTYPE_DATA_0_127,
361     _CTYPE_ISO_8859_14_128_254,
362     _CTYPE_ISO_8859_14_255
363   },
364   { _CTYPE_ISO_8859_15_128_254,
365     0,
366     _CTYPE_DATA_0_127,
367     _CTYPE_ISO_8859_15_128_254,
368     _CTYPE_ISO_8859_15_255
369   },
370   { _CTYPE_ISO_8859_16_128_254,
371     0,
372     _CTYPE_DATA_0_127,
373     _CTYPE_ISO_8859_16_128_254,
374     _CTYPE_ISO_8859_16_255
375   },
376 };
377 
378 #else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */
379 
380 static const char __ctype_iso[15][1 + 256] = {
381   { 0,
382     _CTYPE_DATA_0_127,
383     _CTYPE_ISO_8859_1_128_254,
384     _CTYPE_ISO_8859_1_255
385   },
386   { 0,
387     _CTYPE_DATA_0_127,
388     _CTYPE_ISO_8859_2_128_254,
389     _CTYPE_ISO_8859_2_255
390   },
391   { 0,
392     _CTYPE_DATA_0_127,
393     _CTYPE_ISO_8859_3_128_254,
394     _CTYPE_ISO_8859_3_255
395   },
396   { 0,
397     _CTYPE_DATA_0_127,
398     _CTYPE_ISO_8859_4_128_254,
399     _CTYPE_ISO_8859_4_255
400   },
401   { 0,
402     _CTYPE_DATA_0_127,
403     _CTYPE_ISO_8859_5_128_254,
404     _CTYPE_ISO_8859_5_255
405   },
406   { 0,
407     _CTYPE_DATA_0_127,
408     _CTYPE_ISO_8859_6_128_254,
409     _CTYPE_ISO_8859_6_255
410   },
411   { 0,
412     _CTYPE_DATA_0_127,
413     _CTYPE_ISO_8859_7_128_254,
414     _CTYPE_ISO_8859_7_255
415   },
416   { 0,
417     _CTYPE_DATA_0_127,
418     _CTYPE_ISO_8859_8_128_254,
419     _CTYPE_ISO_8859_8_255
420   },
421   { 0,
422     _CTYPE_DATA_0_127,
423     _CTYPE_ISO_8859_9_128_254,
424     _CTYPE_ISO_8859_9_255
425   },
426   { 0,
427     _CTYPE_DATA_0_127,
428     _CTYPE_ISO_8859_10_128_254,
429     _CTYPE_ISO_8859_10_255
430   },
431   { 0,
432     _CTYPE_DATA_0_127,
433     _CTYPE_ISO_8859_11_128_254,
434     _CTYPE_ISO_8859_11_255
435   },
436   { 0,
437     _CTYPE_DATA_0_127,
438     _CTYPE_ISO_8859_13_128_254,
439     _CTYPE_ISO_8859_13_255
440   },
441   { 0,
442     _CTYPE_DATA_0_127,
443     _CTYPE_ISO_8859_14_128_254,
444     _CTYPE_ISO_8859_14_255
445   },
446   { 0,
447     _CTYPE_DATA_0_127,
448     _CTYPE_ISO_8859_15_128_254,
449     _CTYPE_ISO_8859_15_255
450   },
451   { 0,
452     _CTYPE_DATA_0_127,
453     _CTYPE_ISO_8859_16_128_254,
454     _CTYPE_ISO_8859_16_255
455   },
456 };
457 
458 #endif /* ALLOW_NEGATIVE_CTYPE_INDEX */
459