Initial import into git.
[galago.git] / cpp / galago / contrib / libstemmer_c / src_c / stem_UTF_8_english.c
blob4a620e286d192874647cb76f3367b728e456ddef
2 /* This file was generated automatically by the Snowball to ANSI C compiler */
4 #include "../runtime/header.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 extern int english_UTF_8_stem(struct SN_env * z);
10 #ifdef __cplusplus
12 #endif
13 static int r_exception2(struct SN_env * z);
14 static int r_exception1(struct SN_env * z);
15 static int r_Step_5(struct SN_env * z);
16 static int r_Step_4(struct SN_env * z);
17 static int r_Step_3(struct SN_env * z);
18 static int r_Step_2(struct SN_env * z);
19 static int r_Step_1c(struct SN_env * z);
20 static int r_Step_1b(struct SN_env * z);
21 static int r_Step_1a(struct SN_env * z);
22 static int r_R2(struct SN_env * z);
23 static int r_R1(struct SN_env * z);
24 static int r_shortv(struct SN_env * z);
25 static int r_mark_regions(struct SN_env * z);
26 static int r_postlude(struct SN_env * z);
27 static int r_prelude(struct SN_env * z);
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
33 extern struct SN_env * english_UTF_8_create_env(void);
34 extern void english_UTF_8_close_env(struct SN_env * z);
37 #ifdef __cplusplus
39 #endif
40 static const symbol s_0_0[5] = { 'a', 'r', 's', 'e', 'n' };
41 static const symbol s_0_1[6] = { 'c', 'o', 'm', 'm', 'u', 'n' };
42 static const symbol s_0_2[5] = { 'g', 'e', 'n', 'e', 'r' };
44 static const struct among a_0[3] =
46 /* 0 */ { 5, s_0_0, -1, -1, 0},
47 /* 1 */ { 6, s_0_1, -1, -1, 0},
48 /* 2 */ { 5, s_0_2, -1, -1, 0}
51 static const symbol s_1_0[1] = { '\'' };
52 static const symbol s_1_1[3] = { '\'', 's', '\'' };
53 static const symbol s_1_2[2] = { '\'', 's' };
55 static const struct among a_1[3] =
57 /* 0 */ { 1, s_1_0, -1, 1, 0},
58 /* 1 */ { 3, s_1_1, 0, 1, 0},
59 /* 2 */ { 2, s_1_2, -1, 1, 0}
62 static const symbol s_2_0[3] = { 'i', 'e', 'd' };
63 static const symbol s_2_1[1] = { 's' };
64 static const symbol s_2_2[3] = { 'i', 'e', 's' };
65 static const symbol s_2_3[4] = { 's', 's', 'e', 's' };
66 static const symbol s_2_4[2] = { 's', 's' };
67 static const symbol s_2_5[2] = { 'u', 's' };
69 static const struct among a_2[6] =
71 /* 0 */ { 3, s_2_0, -1, 2, 0},
72 /* 1 */ { 1, s_2_1, -1, 3, 0},
73 /* 2 */ { 3, s_2_2, 1, 2, 0},
74 /* 3 */ { 4, s_2_3, 1, 1, 0},
75 /* 4 */ { 2, s_2_4, 1, -1, 0},
76 /* 5 */ { 2, s_2_5, 1, -1, 0}
79 static const symbol s_3_1[2] = { 'b', 'b' };
80 static const symbol s_3_2[2] = { 'd', 'd' };
81 static const symbol s_3_3[2] = { 'f', 'f' };
82 static const symbol s_3_4[2] = { 'g', 'g' };
83 static const symbol s_3_5[2] = { 'b', 'l' };
84 static const symbol s_3_6[2] = { 'm', 'm' };
85 static const symbol s_3_7[2] = { 'n', 'n' };
86 static const symbol s_3_8[2] = { 'p', 'p' };
87 static const symbol s_3_9[2] = { 'r', 'r' };
88 static const symbol s_3_10[2] = { 'a', 't' };
89 static const symbol s_3_11[2] = { 't', 't' };
90 static const symbol s_3_12[2] = { 'i', 'z' };
92 static const struct among a_3[13] =
94 /* 0 */ { 0, 0, -1, 3, 0},
95 /* 1 */ { 2, s_3_1, 0, 2, 0},
96 /* 2 */ { 2, s_3_2, 0, 2, 0},
97 /* 3 */ { 2, s_3_3, 0, 2, 0},
98 /* 4 */ { 2, s_3_4, 0, 2, 0},
99 /* 5 */ { 2, s_3_5, 0, 1, 0},
100 /* 6 */ { 2, s_3_6, 0, 2, 0},
101 /* 7 */ { 2, s_3_7, 0, 2, 0},
102 /* 8 */ { 2, s_3_8, 0, 2, 0},
103 /* 9 */ { 2, s_3_9, 0, 2, 0},
104 /* 10 */ { 2, s_3_10, 0, 1, 0},
105 /* 11 */ { 2, s_3_11, 0, 2, 0},
106 /* 12 */ { 2, s_3_12, 0, 1, 0}
109 static const symbol s_4_0[2] = { 'e', 'd' };
110 static const symbol s_4_1[3] = { 'e', 'e', 'd' };
111 static const symbol s_4_2[3] = { 'i', 'n', 'g' };
112 static const symbol s_4_3[4] = { 'e', 'd', 'l', 'y' };
113 static const symbol s_4_4[5] = { 'e', 'e', 'd', 'l', 'y' };
114 static const symbol s_4_5[5] = { 'i', 'n', 'g', 'l', 'y' };
116 static const struct among a_4[6] =
118 /* 0 */ { 2, s_4_0, -1, 2, 0},
119 /* 1 */ { 3, s_4_1, 0, 1, 0},
120 /* 2 */ { 3, s_4_2, -1, 2, 0},
121 /* 3 */ { 4, s_4_3, -1, 2, 0},
122 /* 4 */ { 5, s_4_4, 3, 1, 0},
123 /* 5 */ { 5, s_4_5, -1, 2, 0}
126 static const symbol s_5_0[4] = { 'a', 'n', 'c', 'i' };
127 static const symbol s_5_1[4] = { 'e', 'n', 'c', 'i' };
128 static const symbol s_5_2[3] = { 'o', 'g', 'i' };
129 static const symbol s_5_3[2] = { 'l', 'i' };
130 static const symbol s_5_4[3] = { 'b', 'l', 'i' };
131 static const symbol s_5_5[4] = { 'a', 'b', 'l', 'i' };
132 static const symbol s_5_6[4] = { 'a', 'l', 'l', 'i' };
133 static const symbol s_5_7[5] = { 'f', 'u', 'l', 'l', 'i' };
134 static const symbol s_5_8[6] = { 'l', 'e', 's', 's', 'l', 'i' };
135 static const symbol s_5_9[5] = { 'o', 'u', 's', 'l', 'i' };
136 static const symbol s_5_10[5] = { 'e', 'n', 't', 'l', 'i' };
137 static const symbol s_5_11[5] = { 'a', 'l', 'i', 't', 'i' };
138 static const symbol s_5_12[6] = { 'b', 'i', 'l', 'i', 't', 'i' };
139 static const symbol s_5_13[5] = { 'i', 'v', 'i', 't', 'i' };
140 static const symbol s_5_14[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
141 static const symbol s_5_15[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
142 static const symbol s_5_16[5] = { 'a', 'l', 'i', 's', 'm' };
143 static const symbol s_5_17[5] = { 'a', 't', 'i', 'o', 'n' };
144 static const symbol s_5_18[7] = { 'i', 'z', 'a', 't', 'i', 'o', 'n' };
145 static const symbol s_5_19[4] = { 'i', 'z', 'e', 'r' };
146 static const symbol s_5_20[4] = { 'a', 't', 'o', 'r' };
147 static const symbol s_5_21[7] = { 'i', 'v', 'e', 'n', 'e', 's', 's' };
148 static const symbol s_5_22[7] = { 'f', 'u', 'l', 'n', 'e', 's', 's' };
149 static const symbol s_5_23[7] = { 'o', 'u', 's', 'n', 'e', 's', 's' };
151 static const struct among a_5[24] =
153 /* 0 */ { 4, s_5_0, -1, 3, 0},
154 /* 1 */ { 4, s_5_1, -1, 2, 0},
155 /* 2 */ { 3, s_5_2, -1, 13, 0},
156 /* 3 */ { 2, s_5_3, -1, 16, 0},
157 /* 4 */ { 3, s_5_4, 3, 12, 0},
158 /* 5 */ { 4, s_5_5, 4, 4, 0},
159 /* 6 */ { 4, s_5_6, 3, 8, 0},
160 /* 7 */ { 5, s_5_7, 3, 14, 0},
161 /* 8 */ { 6, s_5_8, 3, 15, 0},
162 /* 9 */ { 5, s_5_9, 3, 10, 0},
163 /* 10 */ { 5, s_5_10, 3, 5, 0},
164 /* 11 */ { 5, s_5_11, -1, 8, 0},
165 /* 12 */ { 6, s_5_12, -1, 12, 0},
166 /* 13 */ { 5, s_5_13, -1, 11, 0},
167 /* 14 */ { 6, s_5_14, -1, 1, 0},
168 /* 15 */ { 7, s_5_15, 14, 7, 0},
169 /* 16 */ { 5, s_5_16, -1, 8, 0},
170 /* 17 */ { 5, s_5_17, -1, 7, 0},
171 /* 18 */ { 7, s_5_18, 17, 6, 0},
172 /* 19 */ { 4, s_5_19, -1, 6, 0},
173 /* 20 */ { 4, s_5_20, -1, 7, 0},
174 /* 21 */ { 7, s_5_21, -1, 11, 0},
175 /* 22 */ { 7, s_5_22, -1, 9, 0},
176 /* 23 */ { 7, s_5_23, -1, 10, 0}
179 static const symbol s_6_0[5] = { 'i', 'c', 'a', 't', 'e' };
180 static const symbol s_6_1[5] = { 'a', 't', 'i', 'v', 'e' };
181 static const symbol s_6_2[5] = { 'a', 'l', 'i', 'z', 'e' };
182 static const symbol s_6_3[5] = { 'i', 'c', 'i', 't', 'i' };
183 static const symbol s_6_4[4] = { 'i', 'c', 'a', 'l' };
184 static const symbol s_6_5[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
185 static const symbol s_6_6[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
186 static const symbol s_6_7[3] = { 'f', 'u', 'l' };
187 static const symbol s_6_8[4] = { 'n', 'e', 's', 's' };
189 static const struct among a_6[9] =
191 /* 0 */ { 5, s_6_0, -1, 4, 0},
192 /* 1 */ { 5, s_6_1, -1, 6, 0},
193 /* 2 */ { 5, s_6_2, -1, 3, 0},
194 /* 3 */ { 5, s_6_3, -1, 4, 0},
195 /* 4 */ { 4, s_6_4, -1, 4, 0},
196 /* 5 */ { 6, s_6_5, -1, 1, 0},
197 /* 6 */ { 7, s_6_6, 5, 2, 0},
198 /* 7 */ { 3, s_6_7, -1, 5, 0},
199 /* 8 */ { 4, s_6_8, -1, 5, 0}
202 static const symbol s_7_0[2] = { 'i', 'c' };
203 static const symbol s_7_1[4] = { 'a', 'n', 'c', 'e' };
204 static const symbol s_7_2[4] = { 'e', 'n', 'c', 'e' };
205 static const symbol s_7_3[4] = { 'a', 'b', 'l', 'e' };
206 static const symbol s_7_4[4] = { 'i', 'b', 'l', 'e' };
207 static const symbol s_7_5[3] = { 'a', 't', 'e' };
208 static const symbol s_7_6[3] = { 'i', 'v', 'e' };
209 static const symbol s_7_7[3] = { 'i', 'z', 'e' };
210 static const symbol s_7_8[3] = { 'i', 't', 'i' };
211 static const symbol s_7_9[2] = { 'a', 'l' };
212 static const symbol s_7_10[3] = { 'i', 's', 'm' };
213 static const symbol s_7_11[3] = { 'i', 'o', 'n' };
214 static const symbol s_7_12[2] = { 'e', 'r' };
215 static const symbol s_7_13[3] = { 'o', 'u', 's' };
216 static const symbol s_7_14[3] = { 'a', 'n', 't' };
217 static const symbol s_7_15[3] = { 'e', 'n', 't' };
218 static const symbol s_7_16[4] = { 'm', 'e', 'n', 't' };
219 static const symbol s_7_17[5] = { 'e', 'm', 'e', 'n', 't' };
221 static const struct among a_7[18] =
223 /* 0 */ { 2, s_7_0, -1, 1, 0},
224 /* 1 */ { 4, s_7_1, -1, 1, 0},
225 /* 2 */ { 4, s_7_2, -1, 1, 0},
226 /* 3 */ { 4, s_7_3, -1, 1, 0},
227 /* 4 */ { 4, s_7_4, -1, 1, 0},
228 /* 5 */ { 3, s_7_5, -1, 1, 0},
229 /* 6 */ { 3, s_7_6, -1, 1, 0},
230 /* 7 */ { 3, s_7_7, -1, 1, 0},
231 /* 8 */ { 3, s_7_8, -1, 1, 0},
232 /* 9 */ { 2, s_7_9, -1, 1, 0},
233 /* 10 */ { 3, s_7_10, -1, 1, 0},
234 /* 11 */ { 3, s_7_11, -1, 2, 0},
235 /* 12 */ { 2, s_7_12, -1, 1, 0},
236 /* 13 */ { 3, s_7_13, -1, 1, 0},
237 /* 14 */ { 3, s_7_14, -1, 1, 0},
238 /* 15 */ { 3, s_7_15, -1, 1, 0},
239 /* 16 */ { 4, s_7_16, 15, 1, 0},
240 /* 17 */ { 5, s_7_17, 16, 1, 0}
243 static const symbol s_8_0[1] = { 'e' };
244 static const symbol s_8_1[1] = { 'l' };
246 static const struct among a_8[2] =
248 /* 0 */ { 1, s_8_0, -1, 1, 0},
249 /* 1 */ { 1, s_8_1, -1, 2, 0}
252 static const symbol s_9_0[7] = { 's', 'u', 'c', 'c', 'e', 'e', 'd' };
253 static const symbol s_9_1[7] = { 'p', 'r', 'o', 'c', 'e', 'e', 'd' };
254 static const symbol s_9_2[6] = { 'e', 'x', 'c', 'e', 'e', 'd' };
255 static const symbol s_9_3[7] = { 'c', 'a', 'n', 'n', 'i', 'n', 'g' };
256 static const symbol s_9_4[6] = { 'i', 'n', 'n', 'i', 'n', 'g' };
257 static const symbol s_9_5[7] = { 'e', 'a', 'r', 'r', 'i', 'n', 'g' };
258 static const symbol s_9_6[7] = { 'h', 'e', 'r', 'r', 'i', 'n', 'g' };
259 static const symbol s_9_7[6] = { 'o', 'u', 't', 'i', 'n', 'g' };
261 static const struct among a_9[8] =
263 /* 0 */ { 7, s_9_0, -1, -1, 0},
264 /* 1 */ { 7, s_9_1, -1, -1, 0},
265 /* 2 */ { 6, s_9_2, -1, -1, 0},
266 /* 3 */ { 7, s_9_3, -1, -1, 0},
267 /* 4 */ { 6, s_9_4, -1, -1, 0},
268 /* 5 */ { 7, s_9_5, -1, -1, 0},
269 /* 6 */ { 7, s_9_6, -1, -1, 0},
270 /* 7 */ { 6, s_9_7, -1, -1, 0}
273 static const symbol s_10_0[5] = { 'a', 'n', 'd', 'e', 's' };
274 static const symbol s_10_1[5] = { 'a', 't', 'l', 'a', 's' };
275 static const symbol s_10_2[4] = { 'b', 'i', 'a', 's' };
276 static const symbol s_10_3[6] = { 'c', 'o', 's', 'm', 'o', 's' };
277 static const symbol s_10_4[5] = { 'd', 'y', 'i', 'n', 'g' };
278 static const symbol s_10_5[5] = { 'e', 'a', 'r', 'l', 'y' };
279 static const symbol s_10_6[6] = { 'g', 'e', 'n', 't', 'l', 'y' };
280 static const symbol s_10_7[4] = { 'h', 'o', 'w', 'e' };
281 static const symbol s_10_8[4] = { 'i', 'd', 'l', 'y' };
282 static const symbol s_10_9[5] = { 'l', 'y', 'i', 'n', 'g' };
283 static const symbol s_10_10[4] = { 'n', 'e', 'w', 's' };
284 static const symbol s_10_11[4] = { 'o', 'n', 'l', 'y' };
285 static const symbol s_10_12[6] = { 's', 'i', 'n', 'g', 'l', 'y' };
286 static const symbol s_10_13[5] = { 's', 'k', 'i', 'e', 's' };
287 static const symbol s_10_14[4] = { 's', 'k', 'i', 's' };
288 static const symbol s_10_15[3] = { 's', 'k', 'y' };
289 static const symbol s_10_16[5] = { 't', 'y', 'i', 'n', 'g' };
290 static const symbol s_10_17[4] = { 'u', 'g', 'l', 'y' };
292 static const struct among a_10[18] =
294 /* 0 */ { 5, s_10_0, -1, -1, 0},
295 /* 1 */ { 5, s_10_1, -1, -1, 0},
296 /* 2 */ { 4, s_10_2, -1, -1, 0},
297 /* 3 */ { 6, s_10_3, -1, -1, 0},
298 /* 4 */ { 5, s_10_4, -1, 3, 0},
299 /* 5 */ { 5, s_10_5, -1, 9, 0},
300 /* 6 */ { 6, s_10_6, -1, 7, 0},
301 /* 7 */ { 4, s_10_7, -1, -1, 0},
302 /* 8 */ { 4, s_10_8, -1, 6, 0},
303 /* 9 */ { 5, s_10_9, -1, 4, 0},
304 /* 10 */ { 4, s_10_10, -1, -1, 0},
305 /* 11 */ { 4, s_10_11, -1, 10, 0},
306 /* 12 */ { 6, s_10_12, -1, 11, 0},
307 /* 13 */ { 5, s_10_13, -1, 2, 0},
308 /* 14 */ { 4, s_10_14, -1, 1, 0},
309 /* 15 */ { 3, s_10_15, -1, -1, 0},
310 /* 16 */ { 5, s_10_16, -1, 5, 0},
311 /* 17 */ { 4, s_10_17, -1, 8, 0}
314 static const unsigned char g_v[] = { 17, 65, 16, 1 };
316 static const unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 };
318 static const unsigned char g_valid_LI[] = { 55, 141, 2 };
320 static const symbol s_0[] = { '\'' };
321 static const symbol s_1[] = { 'y' };
322 static const symbol s_2[] = { 'Y' };
323 static const symbol s_3[] = { 'y' };
324 static const symbol s_4[] = { 'Y' };
325 static const symbol s_5[] = { 's', 's' };
326 static const symbol s_6[] = { 'i' };
327 static const symbol s_7[] = { 'i', 'e' };
328 static const symbol s_8[] = { 'e', 'e' };
329 static const symbol s_9[] = { 'e' };
330 static const symbol s_10[] = { 'e' };
331 static const symbol s_11[] = { 'y' };
332 static const symbol s_12[] = { 'Y' };
333 static const symbol s_13[] = { 'i' };
334 static const symbol s_14[] = { 't', 'i', 'o', 'n' };
335 static const symbol s_15[] = { 'e', 'n', 'c', 'e' };
336 static const symbol s_16[] = { 'a', 'n', 'c', 'e' };
337 static const symbol s_17[] = { 'a', 'b', 'l', 'e' };
338 static const symbol s_18[] = { 'e', 'n', 't' };
339 static const symbol s_19[] = { 'i', 'z', 'e' };
340 static const symbol s_20[] = { 'a', 't', 'e' };
341 static const symbol s_21[] = { 'a', 'l' };
342 static const symbol s_22[] = { 'f', 'u', 'l' };
343 static const symbol s_23[] = { 'o', 'u', 's' };
344 static const symbol s_24[] = { 'i', 'v', 'e' };
345 static const symbol s_25[] = { 'b', 'l', 'e' };
346 static const symbol s_26[] = { 'l' };
347 static const symbol s_27[] = { 'o', 'g' };
348 static const symbol s_28[] = { 'f', 'u', 'l' };
349 static const symbol s_29[] = { 'l', 'e', 's', 's' };
350 static const symbol s_30[] = { 't', 'i', 'o', 'n' };
351 static const symbol s_31[] = { 'a', 't', 'e' };
352 static const symbol s_32[] = { 'a', 'l' };
353 static const symbol s_33[] = { 'i', 'c' };
354 static const symbol s_34[] = { 's' };
355 static const symbol s_35[] = { 't' };
356 static const symbol s_36[] = { 'l' };
357 static const symbol s_37[] = { 's', 'k', 'i' };
358 static const symbol s_38[] = { 's', 'k', 'y' };
359 static const symbol s_39[] = { 'd', 'i', 'e' };
360 static const symbol s_40[] = { 'l', 'i', 'e' };
361 static const symbol s_41[] = { 't', 'i', 'e' };
362 static const symbol s_42[] = { 'i', 'd', 'l' };
363 static const symbol s_43[] = { 'g', 'e', 'n', 't', 'l' };
364 static const symbol s_44[] = { 'u', 'g', 'l', 'i' };
365 static const symbol s_45[] = { 'e', 'a', 'r', 'l', 'i' };
366 static const symbol s_46[] = { 'o', 'n', 'l', 'i' };
367 static const symbol s_47[] = { 's', 'i', 'n', 'g', 'l' };
368 static const symbol s_48[] = { 'Y' };
369 static const symbol s_49[] = { 'y' };
371 static int r_prelude(struct SN_env * z) {
372 z->B[0] = 0; /* unset Y_found, line 26 */
373 { int c = z->c; /* do, line 27 */
374 z->bra = z->c; /* [, line 27 */
375 if (!(eq_s(z, 1, s_0))) goto lab0;
376 z->ket = z->c; /* ], line 27 */
377 { int ret;
378 ret = slice_del(z); /* delete, line 27 */
379 if (ret < 0) return ret;
381 lab0:
382 z->c = c;
384 { int c = z->c; /* do, line 28 */
385 z->bra = z->c; /* [, line 28 */
386 if (!(eq_s(z, 1, s_1))) goto lab1;
387 z->ket = z->c; /* ], line 28 */
388 { int ret;
389 ret = slice_from_s(z, 1, s_2); /* <-, line 28 */
390 if (ret < 0) return ret;
392 z->B[0] = 1; /* set Y_found, line 28 */
393 lab1:
394 z->c = c;
396 { int c = z->c; /* do, line 29 */
397 while(1) { /* repeat, line 29 */
398 int c = z->c;
399 while(1) { /* goto, line 29 */
400 int c = z->c;
401 if (!(in_grouping_U(z, g_v, 97, 121))) goto lab4;
402 z->bra = z->c; /* [, line 29 */
403 if (!(eq_s(z, 1, s_3))) goto lab4;
404 z->ket = z->c; /* ], line 29 */
405 z->c = c;
406 break;
407 lab4:
408 z->c = c;
409 { int c = skip_utf8(z->p, z->c, 0, z->l, 1);
410 if (c < 0) goto lab3;
411 z->c = c; /* goto, line 29 */
414 { int ret;
415 ret = slice_from_s(z, 1, s_4); /* <-, line 29 */
416 if (ret < 0) return ret;
418 z->B[0] = 1; /* set Y_found, line 29 */
419 continue;
420 lab3:
421 z->c = c;
422 break;
424 z->c = c;
426 return 1;
429 static int r_mark_regions(struct SN_env * z) {
430 z->I[0] = z->l;
431 z->I[1] = z->l;
432 { int c = z->c; /* do, line 35 */
433 { int c = z->c; /* or, line 41 */
434 if (z->c + 4 >= z->l || z->p[z->c + 4] >> 5 != 3 || !((2375680 >> (z->p[z->c + 4] & 0x1f)) & 1)) goto lab2;
435 if (!(find_among(z, a_0, 3))) goto lab2; /* among, line 36 */
436 goto lab1;
437 lab2:
438 z->c = c;
439 while(1) { /* gopast, line 41 */
440 if (!(in_grouping_U(z, g_v, 97, 121))) goto lab3;
441 break;
442 lab3:
443 { int c = skip_utf8(z->p, z->c, 0, z->l, 1);
444 if (c < 0) goto lab0;
445 z->c = c; /* gopast, line 41 */
448 while(1) { /* gopast, line 41 */
449 if (!(out_grouping_U(z, g_v, 97, 121))) goto lab4;
450 break;
451 lab4:
452 { int c = skip_utf8(z->p, z->c, 0, z->l, 1);
453 if (c < 0) goto lab0;
454 z->c = c; /* gopast, line 41 */
458 lab1:
459 z->I[0] = z->c; /* setmark p1, line 42 */
460 while(1) { /* gopast, line 43 */
461 if (!(in_grouping_U(z, g_v, 97, 121))) goto lab5;
462 break;
463 lab5:
464 { int c = skip_utf8(z->p, z->c, 0, z->l, 1);
465 if (c < 0) goto lab0;
466 z->c = c; /* gopast, line 43 */
469 while(1) { /* gopast, line 43 */
470 if (!(out_grouping_U(z, g_v, 97, 121))) goto lab6;
471 break;
472 lab6:
473 { int c = skip_utf8(z->p, z->c, 0, z->l, 1);
474 if (c < 0) goto lab0;
475 z->c = c; /* gopast, line 43 */
478 z->I[1] = z->c; /* setmark p2, line 43 */
479 lab0:
480 z->c = c;
482 return 1;
485 static int r_shortv(struct SN_env * z) {
486 { int m = z->l - z->c; (void) m; /* or, line 51 */
487 if (!(out_grouping_b_U(z, g_v_WXY, 89, 121))) goto lab1;
488 if (!(in_grouping_b_U(z, g_v, 97, 121))) goto lab1;
489 if (!(out_grouping_b_U(z, g_v, 97, 121))) goto lab1;
490 goto lab0;
491 lab1:
492 z->c = z->l - m;
493 if (!(out_grouping_b_U(z, g_v, 97, 121))) return 0;
494 if (!(in_grouping_b_U(z, g_v, 97, 121))) return 0;
495 if (z->c > z->lb) return 0; /* atlimit, line 52 */
497 lab0:
498 return 1;
501 static int r_R1(struct SN_env * z) {
502 if (!(z->I[0] <= z->c)) return 0;
503 return 1;
506 static int r_R2(struct SN_env * z) {
507 if (!(z->I[1] <= z->c)) return 0;
508 return 1;
511 static int r_Step_1a(struct SN_env * z) {
512 int among_var;
513 { int m = z->l - z->c; (void) m; /* try, line 59 */
514 z->ket = z->c; /* [, line 60 */
515 if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115)) { z->c = z->l - m; goto lab0; }
516 among_var = find_among_b(z, a_1, 3); /* substring, line 60 */
517 if (!(among_var)) { z->c = z->l - m; goto lab0; }
518 z->bra = z->c; /* ], line 60 */
519 switch(among_var) {
520 case 0: { z->c = z->l - m; goto lab0; }
521 case 1:
522 { int ret;
523 ret = slice_del(z); /* delete, line 62 */
524 if (ret < 0) return ret;
526 break;
528 lab0:
531 z->ket = z->c; /* [, line 65 */
532 if (z->c <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 115)) return 0;
533 among_var = find_among_b(z, a_2, 6); /* substring, line 65 */
534 if (!(among_var)) return 0;
535 z->bra = z->c; /* ], line 65 */
536 switch(among_var) {
537 case 0: return 0;
538 case 1:
539 { int ret;
540 ret = slice_from_s(z, 2, s_5); /* <-, line 66 */
541 if (ret < 0) return ret;
543 break;
544 case 2:
545 { int m = z->l - z->c; (void) m; /* or, line 68 */
546 { int c = skip_utf8(z->p, z->c, z->lb, z->l, - 2);
547 if (c < 0) goto lab2;
548 z->c = c; /* hop, line 68 */
550 { int ret;
551 ret = slice_from_s(z, 1, s_6); /* <-, line 68 */
552 if (ret < 0) return ret;
554 goto lab1;
555 lab2:
556 z->c = z->l - m;
557 { int ret;
558 ret = slice_from_s(z, 2, s_7); /* <-, line 68 */
559 if (ret < 0) return ret;
562 lab1:
563 break;
564 case 3:
565 { int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
566 if (c < 0) return 0;
567 z->c = c; /* next, line 69 */
569 while(1) { /* gopast, line 69 */
570 if (!(in_grouping_b_U(z, g_v, 97, 121))) goto lab3;
571 break;
572 lab3:
573 { int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
574 if (c < 0) return 0;
575 z->c = c; /* gopast, line 69 */
578 { int ret;
579 ret = slice_del(z); /* delete, line 69 */
580 if (ret < 0) return ret;
582 break;
584 return 1;
587 static int r_Step_1b(struct SN_env * z) {
588 int among_var;
589 z->ket = z->c; /* [, line 75 */
590 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((33554576 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
591 among_var = find_among_b(z, a_4, 6); /* substring, line 75 */
592 if (!(among_var)) return 0;
593 z->bra = z->c; /* ], line 75 */
594 switch(among_var) {
595 case 0: return 0;
596 case 1:
597 { int ret = r_R1(z);
598 if (ret == 0) return 0; /* call R1, line 77 */
599 if (ret < 0) return ret;
601 { int ret;
602 ret = slice_from_s(z, 2, s_8); /* <-, line 77 */
603 if (ret < 0) return ret;
605 break;
606 case 2:
607 { int m_test = z->l - z->c; /* test, line 80 */
608 while(1) { /* gopast, line 80 */
609 if (!(in_grouping_b_U(z, g_v, 97, 121))) goto lab0;
610 break;
611 lab0:
612 { int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
613 if (c < 0) return 0;
614 z->c = c; /* gopast, line 80 */
617 z->c = z->l - m_test;
619 { int ret;
620 ret = slice_del(z); /* delete, line 80 */
621 if (ret < 0) return ret;
623 { int m_test = z->l - z->c; /* test, line 81 */
624 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68514004 >> (z->p[z->c - 1] & 0x1f)) & 1)) among_var = 3; else
625 among_var = find_among_b(z, a_3, 13); /* substring, line 81 */
626 if (!(among_var)) return 0;
627 z->c = z->l - m_test;
629 switch(among_var) {
630 case 0: return 0;
631 case 1:
632 { int ret;
633 { int c = z->c;
634 ret = insert_s(z, z->c, z->c, 1, s_9); /* <+, line 83 */
635 z->c = c;
637 if (ret < 0) return ret;
639 break;
640 case 2:
641 z->ket = z->c; /* [, line 86 */
642 { int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
643 if (c < 0) return 0;
644 z->c = c; /* next, line 86 */
646 z->bra = z->c; /* ], line 86 */
647 { int ret;
648 ret = slice_del(z); /* delete, line 86 */
649 if (ret < 0) return ret;
651 break;
652 case 3:
653 if (z->c != z->I[0]) return 0; /* atmark, line 87 */
654 { int m_test = z->l - z->c; /* test, line 87 */
655 { int ret = r_shortv(z);
656 if (ret == 0) return 0; /* call shortv, line 87 */
657 if (ret < 0) return ret;
659 z->c = z->l - m_test;
661 { int ret;
662 { int c = z->c;
663 ret = insert_s(z, z->c, z->c, 1, s_10); /* <+, line 87 */
664 z->c = c;
666 if (ret < 0) return ret;
668 break;
670 break;
672 return 1;
675 static int r_Step_1c(struct SN_env * z) {
676 z->ket = z->c; /* [, line 94 */
677 { int m = z->l - z->c; (void) m; /* or, line 94 */
678 if (!(eq_s_b(z, 1, s_11))) goto lab1;
679 goto lab0;
680 lab1:
681 z->c = z->l - m;
682 if (!(eq_s_b(z, 1, s_12))) return 0;
684 lab0:
685 z->bra = z->c; /* ], line 94 */
686 if (!(out_grouping_b_U(z, g_v, 97, 121))) return 0;
687 { int m = z->l - z->c; (void) m; /* not, line 95 */
688 if (z->c > z->lb) goto lab2; /* atlimit, line 95 */
689 return 0;
690 lab2:
691 z->c = z->l - m;
693 { int ret;
694 ret = slice_from_s(z, 1, s_13); /* <-, line 96 */
695 if (ret < 0) return ret;
697 return 1;
700 static int r_Step_2(struct SN_env * z) {
701 int among_var;
702 z->ket = z->c; /* [, line 100 */
703 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((815616 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
704 among_var = find_among_b(z, a_5, 24); /* substring, line 100 */
705 if (!(among_var)) return 0;
706 z->bra = z->c; /* ], line 100 */
707 { int ret = r_R1(z);
708 if (ret == 0) return 0; /* call R1, line 100 */
709 if (ret < 0) return ret;
711 switch(among_var) {
712 case 0: return 0;
713 case 1:
714 { int ret;
715 ret = slice_from_s(z, 4, s_14); /* <-, line 101 */
716 if (ret < 0) return ret;
718 break;
719 case 2:
720 { int ret;
721 ret = slice_from_s(z, 4, s_15); /* <-, line 102 */
722 if (ret < 0) return ret;
724 break;
725 case 3:
726 { int ret;
727 ret = slice_from_s(z, 4, s_16); /* <-, line 103 */
728 if (ret < 0) return ret;
730 break;
731 case 4:
732 { int ret;
733 ret = slice_from_s(z, 4, s_17); /* <-, line 104 */
734 if (ret < 0) return ret;
736 break;
737 case 5:
738 { int ret;
739 ret = slice_from_s(z, 3, s_18); /* <-, line 105 */
740 if (ret < 0) return ret;
742 break;
743 case 6:
744 { int ret;
745 ret = slice_from_s(z, 3, s_19); /* <-, line 107 */
746 if (ret < 0) return ret;
748 break;
749 case 7:
750 { int ret;
751 ret = slice_from_s(z, 3, s_20); /* <-, line 109 */
752 if (ret < 0) return ret;
754 break;
755 case 8:
756 { int ret;
757 ret = slice_from_s(z, 2, s_21); /* <-, line 111 */
758 if (ret < 0) return ret;
760 break;
761 case 9:
762 { int ret;
763 ret = slice_from_s(z, 3, s_22); /* <-, line 112 */
764 if (ret < 0) return ret;
766 break;
767 case 10:
768 { int ret;
769 ret = slice_from_s(z, 3, s_23); /* <-, line 114 */
770 if (ret < 0) return ret;
772 break;
773 case 11:
774 { int ret;
775 ret = slice_from_s(z, 3, s_24); /* <-, line 116 */
776 if (ret < 0) return ret;
778 break;
779 case 12:
780 { int ret;
781 ret = slice_from_s(z, 3, s_25); /* <-, line 118 */
782 if (ret < 0) return ret;
784 break;
785 case 13:
786 if (!(eq_s_b(z, 1, s_26))) return 0;
787 { int ret;
788 ret = slice_from_s(z, 2, s_27); /* <-, line 119 */
789 if (ret < 0) return ret;
791 break;
792 case 14:
793 { int ret;
794 ret = slice_from_s(z, 3, s_28); /* <-, line 120 */
795 if (ret < 0) return ret;
797 break;
798 case 15:
799 { int ret;
800 ret = slice_from_s(z, 4, s_29); /* <-, line 121 */
801 if (ret < 0) return ret;
803 break;
804 case 16:
805 if (!(in_grouping_b_U(z, g_valid_LI, 99, 116))) return 0;
806 { int ret;
807 ret = slice_del(z); /* delete, line 122 */
808 if (ret < 0) return ret;
810 break;
812 return 1;
815 static int r_Step_3(struct SN_env * z) {
816 int among_var;
817 z->ket = z->c; /* [, line 127 */
818 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((528928 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
819 among_var = find_among_b(z, a_6, 9); /* substring, line 127 */
820 if (!(among_var)) return 0;
821 z->bra = z->c; /* ], line 127 */
822 { int ret = r_R1(z);
823 if (ret == 0) return 0; /* call R1, line 127 */
824 if (ret < 0) return ret;
826 switch(among_var) {
827 case 0: return 0;
828 case 1:
829 { int ret;
830 ret = slice_from_s(z, 4, s_30); /* <-, line 128 */
831 if (ret < 0) return ret;
833 break;
834 case 2:
835 { int ret;
836 ret = slice_from_s(z, 3, s_31); /* <-, line 129 */
837 if (ret < 0) return ret;
839 break;
840 case 3:
841 { int ret;
842 ret = slice_from_s(z, 2, s_32); /* <-, line 130 */
843 if (ret < 0) return ret;
845 break;
846 case 4:
847 { int ret;
848 ret = slice_from_s(z, 2, s_33); /* <-, line 132 */
849 if (ret < 0) return ret;
851 break;
852 case 5:
853 { int ret;
854 ret = slice_del(z); /* delete, line 134 */
855 if (ret < 0) return ret;
857 break;
858 case 6:
859 { int ret = r_R2(z);
860 if (ret == 0) return 0; /* call R2, line 136 */
861 if (ret < 0) return ret;
863 { int ret;
864 ret = slice_del(z); /* delete, line 136 */
865 if (ret < 0) return ret;
867 break;
869 return 1;
872 static int r_Step_4(struct SN_env * z) {
873 int among_var;
874 z->ket = z->c; /* [, line 141 */
875 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1864232 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
876 among_var = find_among_b(z, a_7, 18); /* substring, line 141 */
877 if (!(among_var)) return 0;
878 z->bra = z->c; /* ], line 141 */
879 { int ret = r_R2(z);
880 if (ret == 0) return 0; /* call R2, line 141 */
881 if (ret < 0) return ret;
883 switch(among_var) {
884 case 0: return 0;
885 case 1:
886 { int ret;
887 ret = slice_del(z); /* delete, line 144 */
888 if (ret < 0) return ret;
890 break;
891 case 2:
892 { int m = z->l - z->c; (void) m; /* or, line 145 */
893 if (!(eq_s_b(z, 1, s_34))) goto lab1;
894 goto lab0;
895 lab1:
896 z->c = z->l - m;
897 if (!(eq_s_b(z, 1, s_35))) return 0;
899 lab0:
900 { int ret;
901 ret = slice_del(z); /* delete, line 145 */
902 if (ret < 0) return ret;
904 break;
906 return 1;
909 static int r_Step_5(struct SN_env * z) {
910 int among_var;
911 z->ket = z->c; /* [, line 150 */
912 if (z->c <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108)) return 0;
913 among_var = find_among_b(z, a_8, 2); /* substring, line 150 */
914 if (!(among_var)) return 0;
915 z->bra = z->c; /* ], line 150 */
916 switch(among_var) {
917 case 0: return 0;
918 case 1:
919 { int m = z->l - z->c; (void) m; /* or, line 151 */
920 { int ret = r_R2(z);
921 if (ret == 0) goto lab1; /* call R2, line 151 */
922 if (ret < 0) return ret;
924 goto lab0;
925 lab1:
926 z->c = z->l - m;
927 { int ret = r_R1(z);
928 if (ret == 0) return 0; /* call R1, line 151 */
929 if (ret < 0) return ret;
931 { int m = z->l - z->c; (void) m; /* not, line 151 */
932 { int ret = r_shortv(z);
933 if (ret == 0) goto lab2; /* call shortv, line 151 */
934 if (ret < 0) return ret;
936 return 0;
937 lab2:
938 z->c = z->l - m;
941 lab0:
942 { int ret;
943 ret = slice_del(z); /* delete, line 151 */
944 if (ret < 0) return ret;
946 break;
947 case 2:
948 { int ret = r_R2(z);
949 if (ret == 0) return 0; /* call R2, line 152 */
950 if (ret < 0) return ret;
952 if (!(eq_s_b(z, 1, s_36))) return 0;
953 { int ret;
954 ret = slice_del(z); /* delete, line 152 */
955 if (ret < 0) return ret;
957 break;
959 return 1;
962 static int r_exception2(struct SN_env * z) {
963 z->ket = z->c; /* [, line 158 */
964 if (z->c <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 103)) return 0;
965 if (!(find_among_b(z, a_9, 8))) return 0; /* substring, line 158 */
966 z->bra = z->c; /* ], line 158 */
967 if (z->c > z->lb) return 0; /* atlimit, line 158 */
968 return 1;
971 static int r_exception1(struct SN_env * z) {
972 int among_var;
973 z->bra = z->c; /* [, line 170 */
974 if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((42750482 >> (z->p[z->c + 2] & 0x1f)) & 1)) return 0;
975 among_var = find_among(z, a_10, 18); /* substring, line 170 */
976 if (!(among_var)) return 0;
977 z->ket = z->c; /* ], line 170 */
978 if (z->c < z->l) return 0; /* atlimit, line 170 */
979 switch(among_var) {
980 case 0: return 0;
981 case 1:
982 { int ret;
983 ret = slice_from_s(z, 3, s_37); /* <-, line 174 */
984 if (ret < 0) return ret;
986 break;
987 case 2:
988 { int ret;
989 ret = slice_from_s(z, 3, s_38); /* <-, line 175 */
990 if (ret < 0) return ret;
992 break;
993 case 3:
994 { int ret;
995 ret = slice_from_s(z, 3, s_39); /* <-, line 176 */
996 if (ret < 0) return ret;
998 break;
999 case 4:
1000 { int ret;
1001 ret = slice_from_s(z, 3, s_40); /* <-, line 177 */
1002 if (ret < 0) return ret;
1004 break;
1005 case 5:
1006 { int ret;
1007 ret = slice_from_s(z, 3, s_41); /* <-, line 178 */
1008 if (ret < 0) return ret;
1010 break;
1011 case 6:
1012 { int ret;
1013 ret = slice_from_s(z, 3, s_42); /* <-, line 182 */
1014 if (ret < 0) return ret;
1016 break;
1017 case 7:
1018 { int ret;
1019 ret = slice_from_s(z, 5, s_43); /* <-, line 183 */
1020 if (ret < 0) return ret;
1022 break;
1023 case 8:
1024 { int ret;
1025 ret = slice_from_s(z, 4, s_44); /* <-, line 184 */
1026 if (ret < 0) return ret;
1028 break;
1029 case 9:
1030 { int ret;
1031 ret = slice_from_s(z, 5, s_45); /* <-, line 185 */
1032 if (ret < 0) return ret;
1034 break;
1035 case 10:
1036 { int ret;
1037 ret = slice_from_s(z, 4, s_46); /* <-, line 186 */
1038 if (ret < 0) return ret;
1040 break;
1041 case 11:
1042 { int ret;
1043 ret = slice_from_s(z, 5, s_47); /* <-, line 187 */
1044 if (ret < 0) return ret;
1046 break;
1048 return 1;
1051 static int r_postlude(struct SN_env * z) {
1052 if (!(z->B[0])) return 0; /* Boolean test Y_found, line 203 */
1053 while(1) { /* repeat, line 203 */
1054 int c = z->c;
1055 while(1) { /* goto, line 203 */
1056 int c = z->c;
1057 z->bra = z->c; /* [, line 203 */
1058 if (!(eq_s(z, 1, s_48))) goto lab1;
1059 z->ket = z->c; /* ], line 203 */
1060 z->c = c;
1061 break;
1062 lab1:
1063 z->c = c;
1064 { int c = skip_utf8(z->p, z->c, 0, z->l, 1);
1065 if (c < 0) goto lab0;
1066 z->c = c; /* goto, line 203 */
1069 { int ret;
1070 ret = slice_from_s(z, 1, s_49); /* <-, line 203 */
1071 if (ret < 0) return ret;
1073 continue;
1074 lab0:
1075 z->c = c;
1076 break;
1078 return 1;
1081 extern int english_UTF_8_stem(struct SN_env * z) {
1082 { int c = z->c; /* or, line 207 */
1083 { int ret = r_exception1(z);
1084 if (ret == 0) goto lab1; /* call exception1, line 207 */
1085 if (ret < 0) return ret;
1087 goto lab0;
1088 lab1:
1089 z->c = c;
1090 { int c = z->c; /* not, line 208 */
1091 { int c = skip_utf8(z->p, z->c, 0, z->l, + 3);
1092 if (c < 0) goto lab3;
1093 z->c = c; /* hop, line 208 */
1095 goto lab2;
1096 lab3:
1097 z->c = c;
1099 goto lab0;
1100 lab2:
1101 z->c = c;
1102 { int c = z->c; /* do, line 209 */
1103 { int ret = r_prelude(z);
1104 if (ret == 0) goto lab4; /* call prelude, line 209 */
1105 if (ret < 0) return ret;
1107 lab4:
1108 z->c = c;
1110 { int c = z->c; /* do, line 210 */
1111 { int ret = r_mark_regions(z);
1112 if (ret == 0) goto lab5; /* call mark_regions, line 210 */
1113 if (ret < 0) return ret;
1115 lab5:
1116 z->c = c;
1118 z->lb = z->c; z->c = z->l; /* backwards, line 211 */
1120 { int m = z->l - z->c; (void) m; /* do, line 213 */
1121 { int ret = r_Step_1a(z);
1122 if (ret == 0) goto lab6; /* call Step_1a, line 213 */
1123 if (ret < 0) return ret;
1125 lab6:
1126 z->c = z->l - m;
1128 { int m = z->l - z->c; (void) m; /* or, line 215 */
1129 { int ret = r_exception2(z);
1130 if (ret == 0) goto lab8; /* call exception2, line 215 */
1131 if (ret < 0) return ret;
1133 goto lab7;
1134 lab8:
1135 z->c = z->l - m;
1136 { int m = z->l - z->c; (void) m; /* do, line 217 */
1137 { int ret = r_Step_1b(z);
1138 if (ret == 0) goto lab9; /* call Step_1b, line 217 */
1139 if (ret < 0) return ret;
1141 lab9:
1142 z->c = z->l - m;
1144 { int m = z->l - z->c; (void) m; /* do, line 218 */
1145 { int ret = r_Step_1c(z);
1146 if (ret == 0) goto lab10; /* call Step_1c, line 218 */
1147 if (ret < 0) return ret;
1149 lab10:
1150 z->c = z->l - m;
1152 { int m = z->l - z->c; (void) m; /* do, line 220 */
1153 { int ret = r_Step_2(z);
1154 if (ret == 0) goto lab11; /* call Step_2, line 220 */
1155 if (ret < 0) return ret;
1157 lab11:
1158 z->c = z->l - m;
1160 { int m = z->l - z->c; (void) m; /* do, line 221 */
1161 { int ret = r_Step_3(z);
1162 if (ret == 0) goto lab12; /* call Step_3, line 221 */
1163 if (ret < 0) return ret;
1165 lab12:
1166 z->c = z->l - m;
1168 { int m = z->l - z->c; (void) m; /* do, line 222 */
1169 { int ret = r_Step_4(z);
1170 if (ret == 0) goto lab13; /* call Step_4, line 222 */
1171 if (ret < 0) return ret;
1173 lab13:
1174 z->c = z->l - m;
1176 { int m = z->l - z->c; (void) m; /* do, line 224 */
1177 { int ret = r_Step_5(z);
1178 if (ret == 0) goto lab14; /* call Step_5, line 224 */
1179 if (ret < 0) return ret;
1181 lab14:
1182 z->c = z->l - m;
1185 lab7:
1186 z->c = z->lb;
1187 { int c = z->c; /* do, line 227 */
1188 { int ret = r_postlude(z);
1189 if (ret == 0) goto lab15; /* call postlude, line 227 */
1190 if (ret < 0) return ret;
1192 lab15:
1193 z->c = c;
1196 lab0:
1197 return 1;
1200 extern struct SN_env * english_UTF_8_create_env(void) { return SN_create_env(0, 2, 1); }
1202 extern void english_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }