YAZ 5.35.1
stem_UTF_8_english.c
Go to the documentation of this file.
1
2/* This file was generated automatically by the Snowball to ANSI C compiler */
3
4#include "../runtime/header.h"
5
6#ifdef __cplusplus
7extern "C"
8{
9#endif
10 extern int english_UTF_8_stem (struct SN_env *z);
11#ifdef __cplusplus
12}
13#endif
14static int r_exception2 (struct SN_env *z);
15static int r_exception1 (struct SN_env *z);
16static int r_Step_5 (struct SN_env *z);
17static int r_Step_4 (struct SN_env *z);
18static int r_Step_3 (struct SN_env *z);
19static int r_Step_2 (struct SN_env *z);
20static int r_Step_1c (struct SN_env *z);
21static int r_Step_1b (struct SN_env *z);
22static int r_Step_1a (struct SN_env *z);
23static int r_R2 (struct SN_env *z);
24static int r_R1 (struct SN_env *z);
25static int r_shortv (struct SN_env *z);
26static int r_mark_regions (struct SN_env *z);
27static int r_postlude (struct SN_env *z);
28static int r_prelude (struct SN_env *z);
29#ifdef __cplusplus
30extern "C"
31{
32#endif
33
34
35 extern struct SN_env *english_UTF_8_create_env (void);
36 extern void english_UTF_8_close_env (struct SN_env *z);
37
38
39#ifdef __cplusplus
40}
41#endif
42static const symbol s_0_0[5] = { 'a', 'r', 's', 'e', 'n' };
43static const symbol s_0_1[6] = { 'c', 'o', 'm', 'm', 'u', 'n' };
44static const symbol s_0_2[5] = { 'g', 'e', 'n', 'e', 'r' };
45
46static const struct among a_0[3] = {
47/* 0 */ {5, s_0_0, -1, -1, 0},
48/* 1 */ {6, s_0_1, -1, -1, 0},
49/* 2 */ {5, s_0_2, -1, -1, 0}
50};
51
52static const symbol s_1_0[1] = { '\'' };
53static const symbol s_1_1[3] = { '\'', 's', '\'' };
54static const symbol s_1_2[2] = { '\'', 's' };
55
56static 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}
60};
61
62static const symbol s_2_0[3] = { 'i', 'e', 'd' };
63static const symbol s_2_1[1] = { 's' };
64static const symbol s_2_2[3] = { 'i', 'e', 's' };
65static const symbol s_2_3[4] = { 's', 's', 'e', 's' };
66static const symbol s_2_4[2] = { 's', 's' };
67static const symbol s_2_5[2] = { 'u', 's' };
68
69static const struct among a_2[6] = {
70/* 0 */ {3, s_2_0, -1, 2, 0},
71/* 1 */ {1, s_2_1, -1, 3, 0},
72/* 2 */ {3, s_2_2, 1, 2, 0},
73/* 3 */ {4, s_2_3, 1, 1, 0},
74/* 4 */ {2, s_2_4, 1, -1, 0},
75/* 5 */ {2, s_2_5, 1, -1, 0}
76};
77
78static const symbol s_3_1[2] = { 'b', 'b' };
79static const symbol s_3_2[2] = { 'd', 'd' };
80static const symbol s_3_3[2] = { 'f', 'f' };
81static const symbol s_3_4[2] = { 'g', 'g' };
82static const symbol s_3_5[2] = { 'b', 'l' };
83static const symbol s_3_6[2] = { 'm', 'm' };
84static const symbol s_3_7[2] = { 'n', 'n' };
85static const symbol s_3_8[2] = { 'p', 'p' };
86static const symbol s_3_9[2] = { 'r', 'r' };
87static const symbol s_3_10[2] = { 'a', 't' };
88static const symbol s_3_11[2] = { 't', 't' };
89static const symbol s_3_12[2] = { 'i', 'z' };
90
91static const struct among a_3[13] = {
92/* 0 */ {0, 0, -1, 3, 0},
93/* 1 */ {2, s_3_1, 0, 2, 0},
94/* 2 */ {2, s_3_2, 0, 2, 0},
95/* 3 */ {2, s_3_3, 0, 2, 0},
96/* 4 */ {2, s_3_4, 0, 2, 0},
97/* 5 */ {2, s_3_5, 0, 1, 0},
98/* 6 */ {2, s_3_6, 0, 2, 0},
99/* 7 */ {2, s_3_7, 0, 2, 0},
100/* 8 */ {2, s_3_8, 0, 2, 0},
101/* 9 */ {2, s_3_9, 0, 2, 0},
102/* 10 */ {2, s_3_10, 0, 1, 0},
103/* 11 */ {2, s_3_11, 0, 2, 0},
104/* 12 */ {2, s_3_12, 0, 1, 0}
105};
106
107static const symbol s_4_0[2] = { 'e', 'd' };
108static const symbol s_4_1[3] = { 'e', 'e', 'd' };
109static const symbol s_4_2[3] = { 'i', 'n', 'g' };
110static const symbol s_4_3[4] = { 'e', 'd', 'l', 'y' };
111static const symbol s_4_4[5] = { 'e', 'e', 'd', 'l', 'y' };
112static const symbol s_4_5[5] = { 'i', 'n', 'g', 'l', 'y' };
113
114static const struct among a_4[6] = {
115/* 0 */ {2, s_4_0, -1, 2, 0},
116/* 1 */ {3, s_4_1, 0, 1, 0},
117/* 2 */ {3, s_4_2, -1, 2, 0},
118/* 3 */ {4, s_4_3, -1, 2, 0},
119/* 4 */ {5, s_4_4, 3, 1, 0},
120/* 5 */ {5, s_4_5, -1, 2, 0}
121};
122
123static const symbol s_5_0[4] = { 'a', 'n', 'c', 'i' };
124static const symbol s_5_1[4] = { 'e', 'n', 'c', 'i' };
125static const symbol s_5_2[3] = { 'o', 'g', 'i' };
126static const symbol s_5_3[2] = { 'l', 'i' };
127static const symbol s_5_4[3] = { 'b', 'l', 'i' };
128static const symbol s_5_5[4] = { 'a', 'b', 'l', 'i' };
129static const symbol s_5_6[4] = { 'a', 'l', 'l', 'i' };
130static const symbol s_5_7[5] = { 'f', 'u', 'l', 'l', 'i' };
131static const symbol s_5_8[6] = { 'l', 'e', 's', 's', 'l', 'i' };
132static const symbol s_5_9[5] = { 'o', 'u', 's', 'l', 'i' };
133static const symbol s_5_10[5] = { 'e', 'n', 't', 'l', 'i' };
134static const symbol s_5_11[5] = { 'a', 'l', 'i', 't', 'i' };
135static const symbol s_5_12[6] = { 'b', 'i', 'l', 'i', 't', 'i' };
136static const symbol s_5_13[5] = { 'i', 'v', 'i', 't', 'i' };
137static const symbol s_5_14[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
138static const symbol s_5_15[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
139static const symbol s_5_16[5] = { 'a', 'l', 'i', 's', 'm' };
140static const symbol s_5_17[5] = { 'a', 't', 'i', 'o', 'n' };
141static const symbol s_5_18[7] = { 'i', 'z', 'a', 't', 'i', 'o', 'n' };
142static const symbol s_5_19[4] = { 'i', 'z', 'e', 'r' };
143static const symbol s_5_20[4] = { 'a', 't', 'o', 'r' };
144static const symbol s_5_21[7] = { 'i', 'v', 'e', 'n', 'e', 's', 's' };
145static const symbol s_5_22[7] = { 'f', 'u', 'l', 'n', 'e', 's', 's' };
146static const symbol s_5_23[7] = { 'o', 'u', 's', 'n', 'e', 's', 's' };
147
148static const struct among a_5[24] = {
149/* 0 */ {4, s_5_0, -1, 3, 0},
150/* 1 */ {4, s_5_1, -1, 2, 0},
151/* 2 */ {3, s_5_2, -1, 13, 0},
152/* 3 */ {2, s_5_3, -1, 16, 0},
153/* 4 */ {3, s_5_4, 3, 12, 0},
154/* 5 */ {4, s_5_5, 4, 4, 0},
155/* 6 */ {4, s_5_6, 3, 8, 0},
156/* 7 */ {5, s_5_7, 3, 14, 0},
157/* 8 */ {6, s_5_8, 3, 15, 0},
158/* 9 */ {5, s_5_9, 3, 10, 0},
159/* 10 */ {5, s_5_10, 3, 5, 0},
160/* 11 */ {5, s_5_11, -1, 8, 0},
161/* 12 */ {6, s_5_12, -1, 12, 0},
162/* 13 */ {5, s_5_13, -1, 11, 0},
163/* 14 */ {6, s_5_14, -1, 1, 0},
164/* 15 */ {7, s_5_15, 14, 7, 0},
165/* 16 */ {5, s_5_16, -1, 8, 0},
166/* 17 */ {5, s_5_17, -1, 7, 0},
167/* 18 */ {7, s_5_18, 17, 6, 0},
168/* 19 */ {4, s_5_19, -1, 6, 0},
169/* 20 */ {4, s_5_20, -1, 7, 0},
170/* 21 */ {7, s_5_21, -1, 11, 0},
171/* 22 */ {7, s_5_22, -1, 9, 0},
172/* 23 */ {7, s_5_23, -1, 10, 0}
173};
174
175static const symbol s_6_0[5] = { 'i', 'c', 'a', 't', 'e' };
176static const symbol s_6_1[5] = { 'a', 't', 'i', 'v', 'e' };
177static const symbol s_6_2[5] = { 'a', 'l', 'i', 'z', 'e' };
178static const symbol s_6_3[5] = { 'i', 'c', 'i', 't', 'i' };
179static const symbol s_6_4[4] = { 'i', 'c', 'a', 'l' };
180static const symbol s_6_5[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
181static const symbol s_6_6[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
182static const symbol s_6_7[3] = { 'f', 'u', 'l' };
183static const symbol s_6_8[4] = { 'n', 'e', 's', 's' };
184
185static const struct among a_6[9] = {
186/* 0 */ {5, s_6_0, -1, 4, 0},
187/* 1 */ {5, s_6_1, -1, 6, 0},
188/* 2 */ {5, s_6_2, -1, 3, 0},
189/* 3 */ {5, s_6_3, -1, 4, 0},
190/* 4 */ {4, s_6_4, -1, 4, 0},
191/* 5 */ {6, s_6_5, -1, 1, 0},
192/* 6 */ {7, s_6_6, 5, 2, 0},
193/* 7 */ {3, s_6_7, -1, 5, 0},
194/* 8 */ {4, s_6_8, -1, 5, 0}
195};
196
197static const symbol s_7_0[2] = { 'i', 'c' };
198static const symbol s_7_1[4] = { 'a', 'n', 'c', 'e' };
199static const symbol s_7_2[4] = { 'e', 'n', 'c', 'e' };
200static const symbol s_7_3[4] = { 'a', 'b', 'l', 'e' };
201static const symbol s_7_4[4] = { 'i', 'b', 'l', 'e' };
202static const symbol s_7_5[3] = { 'a', 't', 'e' };
203static const symbol s_7_6[3] = { 'i', 'v', 'e' };
204static const symbol s_7_7[3] = { 'i', 'z', 'e' };
205static const symbol s_7_8[3] = { 'i', 't', 'i' };
206static const symbol s_7_9[2] = { 'a', 'l' };
207static const symbol s_7_10[3] = { 'i', 's', 'm' };
208static const symbol s_7_11[3] = { 'i', 'o', 'n' };
209static const symbol s_7_12[2] = { 'e', 'r' };
210static const symbol s_7_13[3] = { 'o', 'u', 's' };
211static const symbol s_7_14[3] = { 'a', 'n', 't' };
212static const symbol s_7_15[3] = { 'e', 'n', 't' };
213static const symbol s_7_16[4] = { 'm', 'e', 'n', 't' };
214static const symbol s_7_17[5] = { 'e', 'm', 'e', 'n', 't' };
215
216static const struct among a_7[18] = {
217/* 0 */ {2, s_7_0, -1, 1, 0},
218/* 1 */ {4, s_7_1, -1, 1, 0},
219/* 2 */ {4, s_7_2, -1, 1, 0},
220/* 3 */ {4, s_7_3, -1, 1, 0},
221/* 4 */ {4, s_7_4, -1, 1, 0},
222/* 5 */ {3, s_7_5, -1, 1, 0},
223/* 6 */ {3, s_7_6, -1, 1, 0},
224/* 7 */ {3, s_7_7, -1, 1, 0},
225/* 8 */ {3, s_7_8, -1, 1, 0},
226/* 9 */ {2, s_7_9, -1, 1, 0},
227/* 10 */ {3, s_7_10, -1, 1, 0},
228/* 11 */ {3, s_7_11, -1, 2, 0},
229/* 12 */ {2, s_7_12, -1, 1, 0},
230/* 13 */ {3, s_7_13, -1, 1, 0},
231/* 14 */ {3, s_7_14, -1, 1, 0},
232/* 15 */ {3, s_7_15, -1, 1, 0},
233/* 16 */ {4, s_7_16, 15, 1, 0},
234/* 17 */ {5, s_7_17, 16, 1, 0}
235};
236
237static const symbol s_8_0[1] = { 'e' };
238static const symbol s_8_1[1] = { 'l' };
239
240static const struct among a_8[2] = {
241/* 0 */ {1, s_8_0, -1, 1, 0},
242/* 1 */ {1, s_8_1, -1, 2, 0}
243};
244
245static const symbol s_9_0[7] = { 's', 'u', 'c', 'c', 'e', 'e', 'd' };
246static const symbol s_9_1[7] = { 'p', 'r', 'o', 'c', 'e', 'e', 'd' };
247static const symbol s_9_2[6] = { 'e', 'x', 'c', 'e', 'e', 'd' };
248static const symbol s_9_3[7] = { 'c', 'a', 'n', 'n', 'i', 'n', 'g' };
249static const symbol s_9_4[6] = { 'i', 'n', 'n', 'i', 'n', 'g' };
250static const symbol s_9_5[7] = { 'e', 'a', 'r', 'r', 'i', 'n', 'g' };
251static const symbol s_9_6[7] = { 'h', 'e', 'r', 'r', 'i', 'n', 'g' };
252static const symbol s_9_7[6] = { 'o', 'u', 't', 'i', 'n', 'g' };
253
254static const struct among a_9[8] = {
255/* 0 */ {7, s_9_0, -1, -1, 0},
256/* 1 */ {7, s_9_1, -1, -1, 0},
257/* 2 */ {6, s_9_2, -1, -1, 0},
258/* 3 */ {7, s_9_3, -1, -1, 0},
259/* 4 */ {6, s_9_4, -1, -1, 0},
260/* 5 */ {7, s_9_5, -1, -1, 0},
261/* 6 */ {7, s_9_6, -1, -1, 0},
262/* 7 */ {6, s_9_7, -1, -1, 0}
263};
264
265static const symbol s_10_0[5] = { 'a', 'n', 'd', 'e', 's' };
266static const symbol s_10_1[5] = { 'a', 't', 'l', 'a', 's' };
267static const symbol s_10_2[4] = { 'b', 'i', 'a', 's' };
268static const symbol s_10_3[6] = { 'c', 'o', 's', 'm', 'o', 's' };
269static const symbol s_10_4[5] = { 'd', 'y', 'i', 'n', 'g' };
270static const symbol s_10_5[5] = { 'e', 'a', 'r', 'l', 'y' };
271static const symbol s_10_6[6] = { 'g', 'e', 'n', 't', 'l', 'y' };
272static const symbol s_10_7[4] = { 'h', 'o', 'w', 'e' };
273static const symbol s_10_8[4] = { 'i', 'd', 'l', 'y' };
274static const symbol s_10_9[5] = { 'l', 'y', 'i', 'n', 'g' };
275static const symbol s_10_10[4] = { 'n', 'e', 'w', 's' };
276static const symbol s_10_11[4] = { 'o', 'n', 'l', 'y' };
277static const symbol s_10_12[6] = { 's', 'i', 'n', 'g', 'l', 'y' };
278static const symbol s_10_13[5] = { 's', 'k', 'i', 'e', 's' };
279static const symbol s_10_14[4] = { 's', 'k', 'i', 's' };
280static const symbol s_10_15[3] = { 's', 'k', 'y' };
281static const symbol s_10_16[5] = { 't', 'y', 'i', 'n', 'g' };
282static const symbol s_10_17[4] = { 'u', 'g', 'l', 'y' };
283
284static const struct among a_10[18] = {
285/* 0 */ {5, s_10_0, -1, -1, 0},
286/* 1 */ {5, s_10_1, -1, -1, 0},
287/* 2 */ {4, s_10_2, -1, -1, 0},
288/* 3 */ {6, s_10_3, -1, -1, 0},
289/* 4 */ {5, s_10_4, -1, 3, 0},
290/* 5 */ {5, s_10_5, -1, 9, 0},
291/* 6 */ {6, s_10_6, -1, 7, 0},
292/* 7 */ {4, s_10_7, -1, -1, 0},
293/* 8 */ {4, s_10_8, -1, 6, 0},
294/* 9 */ {5, s_10_9, -1, 4, 0},
295/* 10 */ {4, s_10_10, -1, -1, 0},
296/* 11 */ {4, s_10_11, -1, 10, 0},
297/* 12 */ {6, s_10_12, -1, 11, 0},
298/* 13 */ {5, s_10_13, -1, 2, 0},
299/* 14 */ {4, s_10_14, -1, 1, 0},
300/* 15 */ {3, s_10_15, -1, -1, 0},
301/* 16 */ {5, s_10_16, -1, 5, 0},
302/* 17 */ {4, s_10_17, -1, 8, 0}
303};
304
305static const unsigned char g_v[] = { 17, 65, 16, 1 };
306
307static const unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 };
308
309static const unsigned char g_valid_LI[] = { 55, 141, 2 };
310
311static const symbol s_0[] = { '\'' };
312static const symbol s_1[] = { 'y' };
313static const symbol s_2[] = { 'Y' };
314static const symbol s_3[] = { 'y' };
315static const symbol s_4[] = { 'Y' };
316static const symbol s_5[] = { 's', 's' };
317static const symbol s_6[] = { 'i' };
318static const symbol s_7[] = { 'i', 'e' };
319static const symbol s_8[] = { 'e', 'e' };
320static const symbol s_9[] = { 'e' };
321static const symbol s_10[] = { 'e' };
322static const symbol s_11[] = { 'y' };
323static const symbol s_12[] = { 'Y' };
324static const symbol s_13[] = { 'i' };
325static const symbol s_14[] = { 't', 'i', 'o', 'n' };
326static const symbol s_15[] = { 'e', 'n', 'c', 'e' };
327static const symbol s_16[] = { 'a', 'n', 'c', 'e' };
328static const symbol s_17[] = { 'a', 'b', 'l', 'e' };
329static const symbol s_18[] = { 'e', 'n', 't' };
330static const symbol s_19[] = { 'i', 'z', 'e' };
331static const symbol s_20[] = { 'a', 't', 'e' };
332static const symbol s_21[] = { 'a', 'l' };
333static const symbol s_22[] = { 'f', 'u', 'l' };
334static const symbol s_23[] = { 'o', 'u', 's' };
335static const symbol s_24[] = { 'i', 'v', 'e' };
336static const symbol s_25[] = { 'b', 'l', 'e' };
337static const symbol s_26[] = { 'l' };
338static const symbol s_27[] = { 'o', 'g' };
339static const symbol s_28[] = { 'f', 'u', 'l' };
340static const symbol s_29[] = { 'l', 'e', 's', 's' };
341static const symbol s_30[] = { 't', 'i', 'o', 'n' };
342static const symbol s_31[] = { 'a', 't', 'e' };
343static const symbol s_32[] = { 'a', 'l' };
344static const symbol s_33[] = { 'i', 'c' };
345static const symbol s_34[] = { 's' };
346static const symbol s_35[] = { 't' };
347static const symbol s_36[] = { 'l' };
348static const symbol s_37[] = { 's', 'k', 'i' };
349static const symbol s_38[] = { 's', 'k', 'y' };
350static const symbol s_39[] = { 'd', 'i', 'e' };
351static const symbol s_40[] = { 'l', 'i', 'e' };
352static const symbol s_41[] = { 't', 'i', 'e' };
353static const symbol s_42[] = { 'i', 'd', 'l' };
354static const symbol s_43[] = { 'g', 'e', 'n', 't', 'l' };
355static const symbol s_44[] = { 'u', 'g', 'l', 'i' };
356static const symbol s_45[] = { 'e', 'a', 'r', 'l', 'i' };
357static const symbol s_46[] = { 'o', 'n', 'l', 'i' };
358static const symbol s_47[] = { 's', 'i', 'n', 'g', 'l' };
359static const symbol s_48[] = { 'Y' };
360static const symbol s_49[] = { 'y' };
361
362static int
363r_prelude (struct SN_env *z)
364{
365 z->B[0] = 0; /* unset Y_found, line 26 */
366 {
367 int c1 = z->c; /* do, line 27 */
368 z->bra = z->c; /* [, line 27 */
369 if (!(eq_s (z, 1, s_0)))
370 goto lab0;
371 z->ket = z->c; /* ], line 27 */
372 {
373 int ret = slice_del (z); /* delete, line 27 */
374 if (ret < 0)
375 return ret;
376 }
377 lab0:
378 z->c = c1;
379 }
380 {
381 int c2 = z->c; /* do, line 28 */
382 z->bra = z->c; /* [, line 28 */
383 if (!(eq_s (z, 1, s_1)))
384 goto lab1;
385 z->ket = z->c; /* ], line 28 */
386 {
387 int ret = slice_from_s (z, 1, s_2); /* <-, line 28 */
388 if (ret < 0)
389 return ret;
390 }
391 z->B[0] = 1; /* set Y_found, line 28 */
392 lab1:
393 z->c = c2;
394 }
395 {
396 int c3 = z->c; /* do, line 29 */
397 while (1)
398 { /* repeat, line 29 */
399 int c4 = z->c;
400 while (1)
401 { /* goto, line 29 */
402 int c5 = z->c;
403 if (in_grouping_U (z, g_v, 97, 121, 0))
404 goto lab4;
405 z->bra = z->c; /* [, line 29 */
406 if (!(eq_s (z, 1, s_3)))
407 goto lab4;
408 z->ket = z->c; /* ], line 29 */
409 z->c = c5;
410 break;
411 lab4:
412 z->c = c5;
413 {
414 int ret = skip_utf8 (z->p, z->c, 0, z->l, 1);
415 if (ret < 0)
416 goto lab3;
417 z->c = ret; /* goto, line 29 */
418 }
419 }
420 {
421 int ret = slice_from_s (z, 1, s_4); /* <-, line 29 */
422 if (ret < 0)
423 return ret;
424 }
425 z->B[0] = 1; /* set Y_found, line 29 */
426 continue;
427 lab3:
428 z->c = c4;
429 break;
430 }
431 z->c = c3;
432 }
433 return 1;
434}
435
436static int
438{
439 z->I[0] = z->l;
440 z->I[1] = z->l;
441 {
442 int c1 = z->c; /* do, line 35 */
443 {
444 int c2 = z->c; /* or, line 41 */
445 if (z->c + 4 >= z->l || z->p[z->c + 4] >> 5 != 3
446 || !((2375680 >> (z->p[z->c + 4] & 0x1f)) & 1))
447 goto lab2;
448 if (!(find_among (z, a_0, 3)))
449 goto lab2; /* among, line 36 */
450 goto lab1;
451 lab2:
452 z->c = c2;
453 { /* gopast *//* grouping v, line 41 */
454 int ret = out_grouping_U (z, g_v, 97, 121, 1);
455 if (ret < 0)
456 goto lab0;
457 z->c += ret;
458 }
459 { /* gopast *//* non v, line 41 */
460 int ret = in_grouping_U (z, g_v, 97, 121, 1);
461 if (ret < 0)
462 goto lab0;
463 z->c += ret;
464 }
465 }
466 lab1:
467 z->I[0] = z->c; /* setmark p1, line 42 */
468 { /* gopast *//* grouping v, line 43 */
469 int ret = out_grouping_U (z, g_v, 97, 121, 1);
470 if (ret < 0)
471 goto lab0;
472 z->c += ret;
473 }
474 { /* gopast *//* non v, line 43 */
475 int ret = in_grouping_U (z, g_v, 97, 121, 1);
476 if (ret < 0)
477 goto lab0;
478 z->c += ret;
479 }
480 z->I[1] = z->c; /* setmark p2, line 43 */
481 lab0:
482 z->c = c1;
483 }
484 return 1;
485}
486
487static int
488r_shortv (struct SN_env *z)
489{
490 {
491 int m1 = z->l - z->c;
492 (void) m1; /* or, line 51 */
493 if (out_grouping_b_U (z, g_v_WXY, 89, 121, 0))
494 goto lab1;
495 if (in_grouping_b_U (z, g_v, 97, 121, 0))
496 goto lab1;
497 if (out_grouping_b_U (z, g_v, 97, 121, 0))
498 goto lab1;
499 goto lab0;
500 lab1:
501 z->c = z->l - m1;
502 if (out_grouping_b_U (z, g_v, 97, 121, 0))
503 return 0;
504 if (in_grouping_b_U (z, g_v, 97, 121, 0))
505 return 0;
506 if (z->c > z->lb)
507 return 0; /* atlimit, line 52 */
508 }
509lab0:
510 return 1;
511}
512
513static int
514r_R1 (struct SN_env *z)
515{
516 if (!(z->I[0] <= z->c))
517 return 0;
518 return 1;
519}
520
521static int
522r_R2 (struct SN_env *z)
523{
524 if (!(z->I[1] <= z->c))
525 return 0;
526 return 1;
527}
528
529static int
530r_Step_1a (struct SN_env *z)
531{
532 int among_var;
533 {
534 int m_keep = z->l - z->c; /* (void) m_keep; *//* try, line 59 */
535 z->ket = z->c; /* [, line 60 */
536 if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115))
537 {
538 z->c = z->l - m_keep;
539 goto lab0;
540 }
541 among_var = find_among_b (z, a_1, 3); /* substring, line 60 */
542 if (!(among_var))
543 {
544 z->c = z->l - m_keep;
545 goto lab0;
546 }
547 z->bra = z->c; /* ], line 60 */
548 switch (among_var)
549 {
550 case 0:
551 {
552 z->c = z->l - m_keep;
553 goto lab0;
554 }
555 case 1:
556 {
557 int ret = slice_del (z); /* delete, line 62 */
558 if (ret < 0)
559 return ret;
560 }
561 break;
562 }
563 lab0:
564 ;
565 }
566 z->ket = z->c; /* [, line 65 */
567 if (z->c <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 115))
568 return 0;
569 among_var = find_among_b (z, a_2, 6); /* substring, line 65 */
570 if (!(among_var))
571 return 0;
572 z->bra = z->c; /* ], line 65 */
573 switch (among_var)
574 {
575 case 0:
576 return 0;
577 case 1:
578 {
579 int ret = slice_from_s (z, 2, s_5); /* <-, line 66 */
580 if (ret < 0)
581 return ret;
582 }
583 break;
584 case 2:
585 {
586 int m1 = z->l - z->c;
587 (void) m1; /* or, line 68 */
588 {
589 int ret = skip_utf8 (z->p, z->c, z->lb, z->l, -2);
590 if (ret < 0)
591 goto lab2;
592 z->c = ret; /* hop, line 68 */
593 }
594 {
595 int ret = slice_from_s (z, 1, s_6); /* <-, line 68 */
596 if (ret < 0)
597 return ret;
598 }
599 goto lab1;
600 lab2:
601 z->c = z->l - m1;
602 {
603 int ret = slice_from_s (z, 2, s_7); /* <-, line 68 */
604 if (ret < 0)
605 return ret;
606 }
607 }
608 lab1:
609 break;
610 case 3:
611 {
612 int ret = skip_utf8 (z->p, z->c, z->lb, 0, -1);
613 if (ret < 0)
614 return 0;
615 z->c = ret; /* next, line 69 */
616 }
617 { /* gopast *//* grouping v, line 69 */
618 int ret = out_grouping_b_U (z, g_v, 97, 121, 1);
619 if (ret < 0)
620 return 0;
621 z->c -= ret;
622 }
623 {
624 int ret = slice_del (z); /* delete, line 69 */
625 if (ret < 0)
626 return ret;
627 }
628 break;
629 }
630 return 1;
631}
632
633static int
634r_Step_1b (struct SN_env *z)
635{
636 int among_var;
637 z->ket = z->c; /* [, line 75 */
638 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
639 || !((33554576 >> (z->p[z->c - 1] & 0x1f)) & 1))
640 return 0;
641 among_var = find_among_b (z, a_4, 6); /* substring, line 75 */
642 if (!(among_var))
643 return 0;
644 z->bra = z->c; /* ], line 75 */
645 switch (among_var)
646 {
647 case 0:
648 return 0;
649 case 1:
650 {
651 int ret = r_R1 (z);
652 if (ret == 0)
653 return 0; /* call R1, line 77 */
654 if (ret < 0)
655 return ret;
656 }
657 {
658 int ret = slice_from_s (z, 2, s_8); /* <-, line 77 */
659 if (ret < 0)
660 return ret;
661 }
662 break;
663 case 2:
664 {
665 int m_test = z->l - z->c; /* test, line 80 */
666 { /* gopast *//* grouping v, line 80 */
667 int ret = out_grouping_b_U (z, g_v, 97, 121, 1);
668 if (ret < 0)
669 return 0;
670 z->c -= ret;
671 }
672 z->c = z->l - m_test;
673 }
674 {
675 int ret = slice_del (z); /* delete, line 80 */
676 if (ret < 0)
677 return ret;
678 }
679 {
680 int m_test = z->l - z->c; /* test, line 81 */
681 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
682 || !((68514004 >> (z->p[z->c - 1] & 0x1f)) & 1))
683 among_var = 3;
684 else
685 among_var = find_among_b (z, a_3, 13); /* substring, line 81 */
686 if (!(among_var))
687 return 0;
688 z->c = z->l - m_test;
689 }
690 switch (among_var)
691 {
692 case 0:
693 return 0;
694 case 1:
695 {
696 int c_keep = z->c;
697 int ret = insert_s (z, z->c, z->c, 1, s_9); /* <+, line 83 */
698 z->c = c_keep;
699 if (ret < 0)
700 return ret;
701 }
702 break;
703 case 2:
704 z->ket = z->c; /* [, line 86 */
705 {
706 int ret = skip_utf8 (z->p, z->c, z->lb, 0, -1);
707 if (ret < 0)
708 return 0;
709 z->c = ret; /* next, line 86 */
710 }
711 z->bra = z->c; /* ], line 86 */
712 {
713 int ret = slice_del (z); /* delete, line 86 */
714 if (ret < 0)
715 return ret;
716 }
717 break;
718 case 3:
719 if (z->c != z->I[0])
720 return 0; /* atmark, line 87 */
721 {
722 int m_test = z->l - z->c; /* test, line 87 */
723 {
724 int ret = r_shortv (z);
725 if (ret == 0)
726 return 0; /* call shortv, line 87 */
727 if (ret < 0)
728 return ret;
729 }
730 z->c = z->l - m_test;
731 }
732 {
733 int c_keep = z->c;
734 int ret = insert_s (z, z->c, z->c, 1, s_10); /* <+, line 87 */
735 z->c = c_keep;
736 if (ret < 0)
737 return ret;
738 }
739 break;
740 }
741 break;
742 }
743 return 1;
744}
745
746static int
747r_Step_1c (struct SN_env *z)
748{
749 z->ket = z->c; /* [, line 94 */
750 {
751 int m1 = z->l - z->c;
752 (void) m1; /* or, line 94 */
753 if (!(eq_s_b (z, 1, s_11)))
754 goto lab1;
755 goto lab0;
756 lab1:
757 z->c = z->l - m1;
758 if (!(eq_s_b (z, 1, s_12)))
759 return 0;
760 }
761lab0:
762 z->bra = z->c; /* ], line 94 */
763 if (out_grouping_b_U (z, g_v, 97, 121, 0))
764 return 0;
765 {
766 int m2 = z->l - z->c;
767 (void) m2; /* not, line 95 */
768 if (z->c > z->lb)
769 goto lab2; /* atlimit, line 95 */
770 return 0;
771 lab2:
772 z->c = z->l - m2;
773 }
774 {
775 int ret = slice_from_s (z, 1, s_13); /* <-, line 96 */
776 if (ret < 0)
777 return ret;
778 }
779 return 1;
780}
781
782static int
783r_Step_2 (struct SN_env *z)
784{
785 int among_var;
786 z->ket = z->c; /* [, line 100 */
787 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
788 || !((815616 >> (z->p[z->c - 1] & 0x1f)) & 1))
789 return 0;
790 among_var = find_among_b (z, a_5, 24); /* substring, line 100 */
791 if (!(among_var))
792 return 0;
793 z->bra = z->c; /* ], line 100 */
794 {
795 int ret = r_R1 (z);
796 if (ret == 0)
797 return 0; /* call R1, line 100 */
798 if (ret < 0)
799 return ret;
800 }
801 switch (among_var)
802 {
803 case 0:
804 return 0;
805 case 1:
806 {
807 int ret = slice_from_s (z, 4, s_14); /* <-, line 101 */
808 if (ret < 0)
809 return ret;
810 }
811 break;
812 case 2:
813 {
814 int ret = slice_from_s (z, 4, s_15); /* <-, line 102 */
815 if (ret < 0)
816 return ret;
817 }
818 break;
819 case 3:
820 {
821 int ret = slice_from_s (z, 4, s_16); /* <-, line 103 */
822 if (ret < 0)
823 return ret;
824 }
825 break;
826 case 4:
827 {
828 int ret = slice_from_s (z, 4, s_17); /* <-, line 104 */
829 if (ret < 0)
830 return ret;
831 }
832 break;
833 case 5:
834 {
835 int ret = slice_from_s (z, 3, s_18); /* <-, line 105 */
836 if (ret < 0)
837 return ret;
838 }
839 break;
840 case 6:
841 {
842 int ret = slice_from_s (z, 3, s_19); /* <-, line 107 */
843 if (ret < 0)
844 return ret;
845 }
846 break;
847 case 7:
848 {
849 int ret = slice_from_s (z, 3, s_20); /* <-, line 109 */
850 if (ret < 0)
851 return ret;
852 }
853 break;
854 case 8:
855 {
856 int ret = slice_from_s (z, 2, s_21); /* <-, line 111 */
857 if (ret < 0)
858 return ret;
859 }
860 break;
861 case 9:
862 {
863 int ret = slice_from_s (z, 3, s_22); /* <-, line 112 */
864 if (ret < 0)
865 return ret;
866 }
867 break;
868 case 10:
869 {
870 int ret = slice_from_s (z, 3, s_23); /* <-, line 114 */
871 if (ret < 0)
872 return ret;
873 }
874 break;
875 case 11:
876 {
877 int ret = slice_from_s (z, 3, s_24); /* <-, line 116 */
878 if (ret < 0)
879 return ret;
880 }
881 break;
882 case 12:
883 {
884 int ret = slice_from_s (z, 3, s_25); /* <-, line 118 */
885 if (ret < 0)
886 return ret;
887 }
888 break;
889 case 13:
890 if (!(eq_s_b (z, 1, s_26)))
891 return 0;
892 {
893 int ret = slice_from_s (z, 2, s_27); /* <-, line 119 */
894 if (ret < 0)
895 return ret;
896 }
897 break;
898 case 14:
899 {
900 int ret = slice_from_s (z, 3, s_28); /* <-, line 120 */
901 if (ret < 0)
902 return ret;
903 }
904 break;
905 case 15:
906 {
907 int ret = slice_from_s (z, 4, s_29); /* <-, line 121 */
908 if (ret < 0)
909 return ret;
910 }
911 break;
912 case 16:
913 if (in_grouping_b_U (z, g_valid_LI, 99, 116, 0))
914 return 0;
915 {
916 int ret = slice_del (z); /* delete, line 122 */
917 if (ret < 0)
918 return ret;
919 }
920 break;
921 }
922 return 1;
923}
924
925static int
926r_Step_3 (struct SN_env *z)
927{
928 int among_var;
929 z->ket = z->c; /* [, line 127 */
930 if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3
931 || !((528928 >> (z->p[z->c - 1] & 0x1f)) & 1))
932 return 0;
933 among_var = find_among_b (z, a_6, 9); /* substring, line 127 */
934 if (!(among_var))
935 return 0;
936 z->bra = z->c; /* ], line 127 */
937 {
938 int ret = r_R1 (z);
939 if (ret == 0)
940 return 0; /* call R1, line 127 */
941 if (ret < 0)
942 return ret;
943 }
944 switch (among_var)
945 {
946 case 0:
947 return 0;
948 case 1:
949 {
950 int ret = slice_from_s (z, 4, s_30); /* <-, line 128 */
951 if (ret < 0)
952 return ret;
953 }
954 break;
955 case 2:
956 {
957 int ret = slice_from_s (z, 3, s_31); /* <-, line 129 */
958 if (ret < 0)
959 return ret;
960 }
961 break;
962 case 3:
963 {
964 int ret = slice_from_s (z, 2, s_32); /* <-, line 130 */
965 if (ret < 0)
966 return ret;
967 }
968 break;
969 case 4:
970 {
971 int ret = slice_from_s (z, 2, s_33); /* <-, line 132 */
972 if (ret < 0)
973 return ret;
974 }
975 break;
976 case 5:
977 {
978 int ret = slice_del (z); /* delete, line 134 */
979 if (ret < 0)
980 return ret;
981 }
982 break;
983 case 6:
984 {
985 int ret = r_R2 (z);
986 if (ret == 0)
987 return 0; /* call R2, line 136 */
988 if (ret < 0)
989 return ret;
990 }
991 {
992 int ret = slice_del (z); /* delete, line 136 */
993 if (ret < 0)
994 return ret;
995 }
996 break;
997 }
998 return 1;
999}
1000
1001static int
1002r_Step_4 (struct SN_env *z)
1003{
1004 int among_var;
1005 z->ket = z->c; /* [, line 141 */
1006 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
1007 || !((1864232 >> (z->p[z->c - 1] & 0x1f)) & 1))
1008 return 0;
1009 among_var = find_among_b (z, a_7, 18); /* substring, line 141 */
1010 if (!(among_var))
1011 return 0;
1012 z->bra = z->c; /* ], line 141 */
1013 {
1014 int ret = r_R2 (z);
1015 if (ret == 0)
1016 return 0; /* call R2, line 141 */
1017 if (ret < 0)
1018 return ret;
1019 }
1020 switch (among_var)
1021 {
1022 case 0:
1023 return 0;
1024 case 1:
1025 {
1026 int ret = slice_del (z); /* delete, line 144 */
1027 if (ret < 0)
1028 return ret;
1029 }
1030 break;
1031 case 2:
1032 {
1033 int m1 = z->l - z->c;
1034 (void) m1; /* or, line 145 */
1035 if (!(eq_s_b (z, 1, s_34)))
1036 goto lab1;
1037 goto lab0;
1038 lab1:
1039 z->c = z->l - m1;
1040 if (!(eq_s_b (z, 1, s_35)))
1041 return 0;
1042 }
1043 lab0:
1044 {
1045 int ret = slice_del (z); /* delete, line 145 */
1046 if (ret < 0)
1047 return ret;
1048 }
1049 break;
1050 }
1051 return 1;
1052}
1053
1054static int
1055r_Step_5 (struct SN_env *z)
1056{
1057 int among_var;
1058 z->ket = z->c; /* [, line 150 */
1059 if (z->c <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108))
1060 return 0;
1061 among_var = find_among_b (z, a_8, 2); /* substring, line 150 */
1062 if (!(among_var))
1063 return 0;
1064 z->bra = z->c; /* ], line 150 */
1065 switch (among_var)
1066 {
1067 case 0:
1068 return 0;
1069 case 1:
1070 {
1071 int m1 = z->l - z->c;
1072 (void) m1; /* or, line 151 */
1073 {
1074 int ret = r_R2 (z);
1075 if (ret == 0)
1076 goto lab1; /* call R2, line 151 */
1077 if (ret < 0)
1078 return ret;
1079 }
1080 goto lab0;
1081 lab1:
1082 z->c = z->l - m1;
1083 {
1084 int ret = r_R1 (z);
1085 if (ret == 0)
1086 return 0; /* call R1, line 151 */
1087 if (ret < 0)
1088 return ret;
1089 }
1090 {
1091 int m2 = z->l - z->c;
1092 (void) m2; /* not, line 151 */
1093 {
1094 int ret = r_shortv (z);
1095 if (ret == 0)
1096 goto lab2; /* call shortv, line 151 */
1097 if (ret < 0)
1098 return ret;
1099 }
1100 return 0;
1101 lab2:
1102 z->c = z->l - m2;
1103 }
1104 }
1105 lab0:
1106 {
1107 int ret = slice_del (z); /* delete, line 151 */
1108 if (ret < 0)
1109 return ret;
1110 }
1111 break;
1112 case 2:
1113 {
1114 int ret = r_R2 (z);
1115 if (ret == 0)
1116 return 0; /* call R2, line 152 */
1117 if (ret < 0)
1118 return ret;
1119 }
1120 if (!(eq_s_b (z, 1, s_36)))
1121 return 0;
1122 {
1123 int ret = slice_del (z); /* delete, line 152 */
1124 if (ret < 0)
1125 return ret;
1126 }
1127 break;
1128 }
1129 return 1;
1130}
1131
1132static int
1134{
1135 z->ket = z->c; /* [, line 158 */
1136 if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 103))
1137 return 0;
1138 if (!(find_among_b (z, a_9, 8)))
1139 return 0; /* substring, line 158 */
1140 z->bra = z->c; /* ], line 158 */
1141 if (z->c > z->lb)
1142 return 0; /* atlimit, line 158 */
1143 return 1;
1144}
1145
1146static int
1148{
1149 int among_var;
1150 z->bra = z->c; /* [, line 170 */
1151 if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3
1152 || !((42750482 >> (z->p[z->c + 2] & 0x1f)) & 1))
1153 return 0;
1154 among_var = find_among (z, a_10, 18); /* substring, line 170 */
1155 if (!(among_var))
1156 return 0;
1157 z->ket = z->c; /* ], line 170 */
1158 if (z->c < z->l)
1159 return 0; /* atlimit, line 170 */
1160 switch (among_var)
1161 {
1162 case 0:
1163 return 0;
1164 case 1:
1165 {
1166 int ret = slice_from_s (z, 3, s_37); /* <-, line 174 */
1167 if (ret < 0)
1168 return ret;
1169 }
1170 break;
1171 case 2:
1172 {
1173 int ret = slice_from_s (z, 3, s_38); /* <-, line 175 */
1174 if (ret < 0)
1175 return ret;
1176 }
1177 break;
1178 case 3:
1179 {
1180 int ret = slice_from_s (z, 3, s_39); /* <-, line 176 */
1181 if (ret < 0)
1182 return ret;
1183 }
1184 break;
1185 case 4:
1186 {
1187 int ret = slice_from_s (z, 3, s_40); /* <-, line 177 */
1188 if (ret < 0)
1189 return ret;
1190 }
1191 break;
1192 case 5:
1193 {
1194 int ret = slice_from_s (z, 3, s_41); /* <-, line 178 */
1195 if (ret < 0)
1196 return ret;
1197 }
1198 break;
1199 case 6:
1200 {
1201 int ret = slice_from_s (z, 3, s_42); /* <-, line 182 */
1202 if (ret < 0)
1203 return ret;
1204 }
1205 break;
1206 case 7:
1207 {
1208 int ret = slice_from_s (z, 5, s_43); /* <-, line 183 */
1209 if (ret < 0)
1210 return ret;
1211 }
1212 break;
1213 case 8:
1214 {
1215 int ret = slice_from_s (z, 4, s_44); /* <-, line 184 */
1216 if (ret < 0)
1217 return ret;
1218 }
1219 break;
1220 case 9:
1221 {
1222 int ret = slice_from_s (z, 5, s_45); /* <-, line 185 */
1223 if (ret < 0)
1224 return ret;
1225 }
1226 break;
1227 case 10:
1228 {
1229 int ret = slice_from_s (z, 4, s_46); /* <-, line 186 */
1230 if (ret < 0)
1231 return ret;
1232 }
1233 break;
1234 case 11:
1235 {
1236 int ret = slice_from_s (z, 5, s_47); /* <-, line 187 */
1237 if (ret < 0)
1238 return ret;
1239 }
1240 break;
1241 }
1242 return 1;
1243}
1244
1245static int
1247{
1248 if (!(z->B[0]))
1249 return 0; /* Boolean test Y_found, line 203 */
1250 while (1)
1251 { /* repeat, line 203 */
1252 int c1 = z->c;
1253 while (1)
1254 { /* goto, line 203 */
1255 int c2 = z->c;
1256 z->bra = z->c; /* [, line 203 */
1257 if (!(eq_s (z, 1, s_48)))
1258 goto lab1;
1259 z->ket = z->c; /* ], line 203 */
1260 z->c = c2;
1261 break;
1262 lab1:
1263 z->c = c2;
1264 {
1265 int ret = skip_utf8 (z->p, z->c, 0, z->l, 1);
1266 if (ret < 0)
1267 goto lab0;
1268 z->c = ret; /* goto, line 203 */
1269 }
1270 }
1271 {
1272 int ret = slice_from_s (z, 1, s_49); /* <-, line 203 */
1273 if (ret < 0)
1274 return ret;
1275 }
1276 continue;
1277 lab0:
1278 z->c = c1;
1279 break;
1280 }
1281 return 1;
1282}
1283
1284extern int
1286{
1287 {
1288 int c1 = z->c; /* or, line 207 */
1289 {
1290 int ret = r_exception1 (z);
1291 if (ret == 0)
1292 goto lab1; /* call exception1, line 207 */
1293 if (ret < 0)
1294 return ret;
1295 }
1296 goto lab0;
1297 lab1:
1298 z->c = c1;
1299 {
1300 int c2 = z->c; /* not, line 208 */
1301 {
1302 int ret = skip_utf8 (z->p, z->c, 0, z->l, +3);
1303 if (ret < 0)
1304 goto lab3;
1305 z->c = ret; /* hop, line 208 */
1306 }
1307 goto lab2;
1308 lab3:
1309 z->c = c2;
1310 }
1311 goto lab0;
1312 lab2:
1313 z->c = c1;
1314 {
1315 int c3 = z->c; /* do, line 209 */
1316 {
1317 int ret = r_prelude (z);
1318 if (ret == 0)
1319 goto lab4; /* call prelude, line 209 */
1320 if (ret < 0)
1321 return ret;
1322 }
1323 lab4:
1324 z->c = c3;
1325 }
1326 {
1327 int c4 = z->c; /* do, line 210 */
1328 {
1329 int ret = r_mark_regions (z);
1330 if (ret == 0)
1331 goto lab5; /* call mark_regions, line 210 */
1332 if (ret < 0)
1333 return ret;
1334 }
1335 lab5:
1336 z->c = c4;
1337 }
1338 z->lb = z->c;
1339 z->c = z->l; /* backwards, line 211 */
1340
1341 {
1342 int m5 = z->l - z->c;
1343 (void) m5; /* do, line 213 */
1344 {
1345 int ret = r_Step_1a (z);
1346 if (ret == 0)
1347 goto lab6; /* call Step_1a, line 213 */
1348 if (ret < 0)
1349 return ret;
1350 }
1351 lab6:
1352 z->c = z->l - m5;
1353 }
1354 {
1355 int m6 = z->l - z->c;
1356 (void) m6; /* or, line 215 */
1357 {
1358 int ret = r_exception2 (z);
1359 if (ret == 0)
1360 goto lab8; /* call exception2, line 215 */
1361 if (ret < 0)
1362 return ret;
1363 }
1364 goto lab7;
1365 lab8:
1366 z->c = z->l - m6;
1367 {
1368 int m7 = z->l - z->c;
1369 (void) m7; /* do, line 217 */
1370 {
1371 int ret = r_Step_1b (z);
1372 if (ret == 0)
1373 goto lab9; /* call Step_1b, line 217 */
1374 if (ret < 0)
1375 return ret;
1376 }
1377 lab9:
1378 z->c = z->l - m7;
1379 }
1380 {
1381 int m8 = z->l - z->c;
1382 (void) m8; /* do, line 218 */
1383 {
1384 int ret = r_Step_1c (z);
1385 if (ret == 0)
1386 goto lab10; /* call Step_1c, line 218 */
1387 if (ret < 0)
1388 return ret;
1389 }
1390 lab10:
1391 z->c = z->l - m8;
1392 }
1393 {
1394 int m9 = z->l - z->c;
1395 (void) m9; /* do, line 220 */
1396 {
1397 int ret = r_Step_2 (z);
1398 if (ret == 0)
1399 goto lab11; /* call Step_2, line 220 */
1400 if (ret < 0)
1401 return ret;
1402 }
1403 lab11:
1404 z->c = z->l - m9;
1405 }
1406 {
1407 int m10 = z->l - z->c;
1408 (void) m10; /* do, line 221 */
1409 {
1410 int ret = r_Step_3 (z);
1411 if (ret == 0)
1412 goto lab12; /* call Step_3, line 221 */
1413 if (ret < 0)
1414 return ret;
1415 }
1416 lab12:
1417 z->c = z->l - m10;
1418 }
1419 {
1420 int m11 = z->l - z->c;
1421 (void) m11; /* do, line 222 */
1422 {
1423 int ret = r_Step_4 (z);
1424 if (ret == 0)
1425 goto lab13; /* call Step_4, line 222 */
1426 if (ret < 0)
1427 return ret;
1428 }
1429 lab13:
1430 z->c = z->l - m11;
1431 }
1432 {
1433 int m12 = z->l - z->c;
1434 (void) m12; /* do, line 224 */
1435 {
1436 int ret = r_Step_5 (z);
1437 if (ret == 0)
1438 goto lab14; /* call Step_5, line 224 */
1439 if (ret < 0)
1440 return ret;
1441 }
1442 lab14:
1443 z->c = z->l - m12;
1444 }
1445 }
1446 lab7:
1447 z->c = z->lb;
1448 {
1449 int c13 = z->c; /* do, line 227 */
1450 {
1451 int ret = r_postlude (z);
1452 if (ret == 0)
1453 goto lab15; /* call postlude, line 227 */
1454 if (ret < 0)
1455 return ret;
1456 }
1457 lab15:
1458 z->c = c13;
1459 }
1460 }
1461lab0:
1462 return 1;
1463}
1464
1465extern struct SN_env *
1467{
1468 return SN_create_env (0, 2, 1);
1469}
1470
1471extern void
1473{
1474 SN_close_env (z, 0);
1475}
struct SN_env * SN_create_env(int S_size, int I_size, int B_size)
Definition api.c:6
void SN_close_env(struct SN_env *z, int S_size)
Definition api.c:50
unsigned char symbol
Definition api.h:2
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition utilities.c:400
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:170
int insert_s(struct SN_env *z, int bra, int ket, int s_size, const symbol *s)
Definition utilities.c:579
int slice_del(struct SN_env *z)
Definition utilities.c:573
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:134
int eq_s(struct SN_env *z, int s_size, const symbol *s)
Definition utilities.c:280
int skip_utf8(const symbol *p, int c, int lb, int l, int n)
Definition utilities.c:42
int in_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:152
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition utilities.c:290
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:187
int find_among(struct SN_env *z, const struct among *v, int v_size)
Definition utilities.c:312
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition utilities.c:559
static const symbol s_25[]
static const symbol s_2[]
static const symbol s_10_1[5]
static const symbol s_0_0[5]
static const struct among a_10[18]
static const symbol s_2_5[2]
static const symbol s_10_4[5]
static const symbol s_4[]
static const symbol s_48[]
static const symbol s_5_23[7]
static const symbol s_8_1[1]
static const symbol s_4_1[3]
static const symbol s_5_6[4]
static const symbol s_42[]
static const symbol s_9_3[7]
static const symbol s_7_7[3]
static const symbol s_30[]
static const symbol s_38[]
static const symbol s_9_0[7]
static int r_Step_3(struct SN_env *z)
static const symbol s_1_2[2]
static const symbol s_5_16[5]
static const symbol s_5_3[2]
static int r_Step_5(struct SN_env *z)
static const symbol s_3_4[2]
static const symbol s_4_3[4]
static const symbol s_3_1[2]
static const symbol s_5_0[4]
static const struct among a_7[18]
static const symbol s_10_5[5]
static const symbol s_4_5[5]
static const symbol s_7_14[3]
static const symbol s_29[]
static const symbol s_5_21[7]
static const symbol s_9_2[6]
static const struct among a_2[6]
static const symbol s_6_6[7]
static const symbol s_3_6[2]
static const symbol s_7_8[3]
static int r_exception1(struct SN_env *z)
static const symbol s_10_12[6]
static const symbol s_7_9[2]
static const symbol s_27[]
static const struct among a_4[6]
static const struct among a_0[3]
static const symbol s_7_11[3]
static const symbol s_5_10[5]
struct SN_env * english_UTF_8_create_env(void)
static const symbol s_6[]
static const symbol s_10_17[4]
static const symbol s_7_1[4]
static const struct among a_6[9]
static const symbol s_10_16[5]
static const symbol s_21[]
static const symbol s_3[]
static const symbol s_5_12[6]
static const symbol s_10_6[6]
static const symbol s_5_11[5]
static const symbol s_37[]
static const symbol s_7_12[2]
static const symbol s_5_17[5]
static const symbol s_7_0[2]
static const symbol s_49[]
static int r_R2(struct SN_env *z)
static const symbol s_7[]
static const symbol s_32[]
static const symbol s_5_22[7]
static const symbol s_47[]
static const symbol s_13[]
static const symbol s_6_5[6]
static const symbol s_7_13[3]
static const symbol s_5_13[5]
static const symbol s_5_9[5]
static const symbol s_7_5[3]
static const symbol s_6_2[5]
static const symbol s_20[]
static const symbol s_6_4[4]
static const symbol s_10_10[4]
static const symbol s_35[]
static const symbol s_7_3[4]
static const symbol s_6_8[4]
static const symbol s_19[]
static const symbol s_23[]
static const symbol s_3_7[2]
static const unsigned char g_valid_LI[]
static const symbol s_24[]
static const symbol s_9_5[7]
static int r_Step_1c(struct SN_env *z)
static const symbol s_6_1[5]
static const symbol s_6_3[5]
static const unsigned char g_v_WXY[]
static const symbol s_2_0[3]
static const symbol s_3_3[2]
static const symbol s_5_15[7]
static const symbol s_6_7[3]
static const symbol s_5_4[3]
static int r_R1(struct SN_env *z)
static const symbol s_7_2[4]
static const symbol s_5_7[5]
static const symbol s_16[]
static int r_postlude(struct SN_env *z)
static const symbol s_14[]
static const symbol s_3_9[2]
static const symbol s_5_19[4]
static const symbol s_22[]
static const symbol s_9_4[6]
static const symbol s_7_10[3]
static const symbol s_7_16[4]
static const symbol s_7_15[3]
static const symbol s_7_4[4]
static const symbol s_9_7[6]
static int r_prelude(struct SN_env *z)
static const symbol s_10_8[4]
static const symbol s_45[]
static const symbol s_6_0[5]
void english_UTF_8_close_env(struct SN_env *z)
static const symbol s_10[]
int english_UTF_8_stem(struct SN_env *z)
static const symbol s_3_5[2]
static const struct among a_5[24]
static const symbol s_5_8[6]
static const struct among a_1[3]
static const symbol s_2_4[2]
static const struct among a_9[8]
static const symbol s_1[]
static const symbol s_10_9[5]
static int r_exception2(struct SN_env *z)
static const symbol s_5_5[4]
static const symbol s_39[]
static int r_Step_1a(struct SN_env *z)
static int r_shortv(struct SN_env *z)
static const symbol s_10_0[5]
static const symbol s_10_7[4]
static const symbol s_9_6[7]
static const symbol s_10_11[4]
static const symbol s_31[]
static const symbol s_4_0[2]
static const symbol s_1_0[1]
static const symbol s_2_2[3]
static int r_mark_regions(struct SN_env *z)
static const symbol s_10_13[5]
static const symbol s_11[]
static const symbol s_12[]
static const symbol s_36[]
static const symbol s_2_1[1]
static const symbol s_2_3[4]
static const symbol s_10_3[6]
static const symbol s_33[]
static const symbol s_41[]
static int r_Step_4(struct SN_env *z)
static int r_Step_2(struct SN_env *z)
static const symbol s_10_14[4]
static const symbol s_3_8[2]
static const symbol s_10_2[4]
static const symbol s_7_17[5]
static const symbol s_1_1[3]
static const symbol s_18[]
static const symbol s_0_1[6]
static const symbol s_17[]
static const symbol s_40[]
static const symbol s_5_2[3]
static const symbol s_44[]
static int r_Step_1b(struct SN_env *z)
static const symbol s_43[]
static const struct among a_3[13]
static const symbol s_7_6[3]
static const symbol s_28[]
static const symbol s_46[]
static const symbol s_5_14[6]
static const symbol s_4_4[5]
static const unsigned char g_v[]
static const symbol s_10_15[3]
static const symbol s_3_11[2]
static const symbol s_8[]
static const symbol s_9[]
static const symbol s_9_1[7]
static const symbol s_3_10[2]
static const symbol s_3_2[2]
static const symbol s_0_2[5]
static const symbol s_5[]
static const symbol s_8_0[1]
static const symbol s_15[]
static const symbol s_5_20[4]
static const symbol s_5_18[7]
static const symbol s_3_12[2]
static const symbol s_4_2[3]
static const symbol s_26[]
static const symbol s_5_1[4]
static const symbol s_0[]
static const struct among a_8[2]
static const symbol s_34[]
Definition api.h:14
unsigned char * B
Definition api.h:19
int lb
Definition api.h:16
symbol * p
Definition api.h:15
int * I
Definition api.h:18
int ket
Definition api.h:16
int c
Definition api.h:16
int bra
Definition api.h:16
int l
Definition api.h:16
Definition header.h:16