YAZ 5.35.1
stem_ISO_8859_1_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_ISO_8859_1_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_ISO_8859_1_create_env (void);
36 extern void english_ISO_8859_1_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 (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 if (z->c >= z->l)
414 goto lab3;
415 z->c++; /* goto, line 29 */
416 }
417 {
418 int ret = slice_from_s (z, 1, s_4); /* <-, line 29 */
419 if (ret < 0)
420 return ret;
421 }
422 z->B[0] = 1; /* set Y_found, line 29 */
423 continue;
424 lab3:
425 z->c = c4;
426 break;
427 }
428 z->c = c3;
429 }
430 return 1;
431}
432
433static int
435{
436 z->I[0] = z->l;
437 z->I[1] = z->l;
438 {
439 int c1 = z->c; /* do, line 35 */
440 {
441 int c2 = z->c; /* or, line 41 */
442 if (z->c + 4 >= z->l || z->p[z->c + 4] >> 5 != 3
443 || !((2375680 >> (z->p[z->c + 4] & 0x1f)) & 1))
444 goto lab2;
445 if (!(find_among (z, a_0, 3)))
446 goto lab2; /* among, line 36 */
447 goto lab1;
448 lab2:
449 z->c = c2;
450 { /* gopast *//* grouping v, line 41 */
451 int ret = out_grouping (z, g_v, 97, 121, 1);
452 if (ret < 0)
453 goto lab0;
454 z->c += ret;
455 }
456 { /* gopast *//* non v, line 41 */
457 int ret = in_grouping (z, g_v, 97, 121, 1);
458 if (ret < 0)
459 goto lab0;
460 z->c += ret;
461 }
462 }
463 lab1:
464 z->I[0] = z->c; /* setmark p1, line 42 */
465 { /* gopast *//* grouping v, line 43 */
466 int ret = out_grouping (z, g_v, 97, 121, 1);
467 if (ret < 0)
468 goto lab0;
469 z->c += ret;
470 }
471 { /* gopast *//* non v, line 43 */
472 int ret = in_grouping (z, g_v, 97, 121, 1);
473 if (ret < 0)
474 goto lab0;
475 z->c += ret;
476 }
477 z->I[1] = z->c; /* setmark p2, line 43 */
478 lab0:
479 z->c = c1;
480 }
481 return 1;
482}
483
484static int
485r_shortv (struct SN_env *z)
486{
487 {
488 int m1 = z->l - z->c;
489 (void) m1; /* or, line 51 */
490 if (out_grouping_b (z, g_v_WXY, 89, 121, 0))
491 goto lab1;
492 if (in_grouping_b (z, g_v, 97, 121, 0))
493 goto lab1;
494 if (out_grouping_b (z, g_v, 97, 121, 0))
495 goto lab1;
496 goto lab0;
497 lab1:
498 z->c = z->l - m1;
499 if (out_grouping_b (z, g_v, 97, 121, 0))
500 return 0;
501 if (in_grouping_b (z, g_v, 97, 121, 0))
502 return 0;
503 if (z->c > z->lb)
504 return 0; /* atlimit, line 52 */
505 }
506lab0:
507 return 1;
508}
509
510static int
511r_R1 (struct SN_env *z)
512{
513 if (!(z->I[0] <= z->c))
514 return 0;
515 return 1;
516}
517
518static int
519r_R2 (struct SN_env *z)
520{
521 if (!(z->I[1] <= z->c))
522 return 0;
523 return 1;
524}
525
526static int
527r_Step_1a (struct SN_env *z)
528{
529 int among_var;
530 {
531 int m_keep = z->l - z->c; /* (void) m_keep; *//* try, line 59 */
532 z->ket = z->c; /* [, line 60 */
533 if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115))
534 {
535 z->c = z->l - m_keep;
536 goto lab0;
537 }
538 among_var = find_among_b (z, a_1, 3); /* substring, line 60 */
539 if (!(among_var))
540 {
541 z->c = z->l - m_keep;
542 goto lab0;
543 }
544 z->bra = z->c; /* ], line 60 */
545 switch (among_var)
546 {
547 case 0:
548 {
549 z->c = z->l - m_keep;
550 goto lab0;
551 }
552 case 1:
553 {
554 int ret = slice_del (z); /* delete, line 62 */
555 if (ret < 0)
556 return ret;
557 }
558 break;
559 }
560 lab0:
561 ;
562 }
563 z->ket = z->c; /* [, line 65 */
564 if (z->c <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 115))
565 return 0;
566 among_var = find_among_b (z, a_2, 6); /* substring, line 65 */
567 if (!(among_var))
568 return 0;
569 z->bra = z->c; /* ], line 65 */
570 switch (among_var)
571 {
572 case 0:
573 return 0;
574 case 1:
575 {
576 int ret = slice_from_s (z, 2, s_5); /* <-, line 66 */
577 if (ret < 0)
578 return ret;
579 }
580 break;
581 case 2:
582 {
583 int m1 = z->l - z->c;
584 (void) m1; /* or, line 68 */
585 {
586 int ret = z->c - 2;
587 if (z->lb > ret || ret > z->l)
588 goto lab2;
589 z->c = ret; /* hop, line 68 */
590 }
591 {
592 int ret = slice_from_s (z, 1, s_6); /* <-, line 68 */
593 if (ret < 0)
594 return ret;
595 }
596 goto lab1;
597 lab2:
598 z->c = z->l - m1;
599 {
600 int ret = slice_from_s (z, 2, s_7); /* <-, line 68 */
601 if (ret < 0)
602 return ret;
603 }
604 }
605 lab1:
606 break;
607 case 3:
608 if (z->c <= z->lb)
609 return 0;
610 z->c--; /* next, line 69 */
611 { /* gopast *//* grouping v, line 69 */
612 int ret = out_grouping_b (z, g_v, 97, 121, 1);
613 if (ret < 0)
614 return 0;
615 z->c -= ret;
616 }
617 {
618 int ret = slice_del (z); /* delete, line 69 */
619 if (ret < 0)
620 return ret;
621 }
622 break;
623 }
624 return 1;
625}
626
627static int
628r_Step_1b (struct SN_env *z)
629{
630 int among_var;
631 z->ket = z->c; /* [, line 75 */
632 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
633 || !((33554576 >> (z->p[z->c - 1] & 0x1f)) & 1))
634 return 0;
635 among_var = find_among_b (z, a_4, 6); /* substring, line 75 */
636 if (!(among_var))
637 return 0;
638 z->bra = z->c; /* ], line 75 */
639 switch (among_var)
640 {
641 case 0:
642 return 0;
643 case 1:
644 {
645 int ret = r_R1 (z);
646 if (ret == 0)
647 return 0; /* call R1, line 77 */
648 if (ret < 0)
649 return ret;
650 }
651 {
652 int ret = slice_from_s (z, 2, s_8); /* <-, line 77 */
653 if (ret < 0)
654 return ret;
655 }
656 break;
657 case 2:
658 {
659 int m_test = z->l - z->c; /* test, line 80 */
660 { /* gopast *//* grouping v, line 80 */
661 int ret = out_grouping_b (z, g_v, 97, 121, 1);
662 if (ret < 0)
663 return 0;
664 z->c -= ret;
665 }
666 z->c = z->l - m_test;
667 }
668 {
669 int ret = slice_del (z); /* delete, line 80 */
670 if (ret < 0)
671 return ret;
672 }
673 {
674 int m_test = z->l - z->c; /* test, line 81 */
675 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
676 || !((68514004 >> (z->p[z->c - 1] & 0x1f)) & 1))
677 among_var = 3;
678 else
679 among_var = find_among_b (z, a_3, 13); /* substring, line 81 */
680 if (!(among_var))
681 return 0;
682 z->c = z->l - m_test;
683 }
684 switch (among_var)
685 {
686 case 0:
687 return 0;
688 case 1:
689 {
690 int c_keep = z->c;
691 int ret = insert_s (z, z->c, z->c, 1, s_9); /* <+, line 83 */
692 z->c = c_keep;
693 if (ret < 0)
694 return ret;
695 }
696 break;
697 case 2:
698 z->ket = z->c; /* [, line 86 */
699 if (z->c <= z->lb)
700 return 0;
701 z->c--; /* next, line 86 */
702 z->bra = z->c; /* ], line 86 */
703 {
704 int ret = slice_del (z); /* delete, line 86 */
705 if (ret < 0)
706 return ret;
707 }
708 break;
709 case 3:
710 if (z->c != z->I[0])
711 return 0; /* atmark, line 87 */
712 {
713 int m_test = z->l - z->c; /* test, line 87 */
714 {
715 int ret = r_shortv (z);
716 if (ret == 0)
717 return 0; /* call shortv, line 87 */
718 if (ret < 0)
719 return ret;
720 }
721 z->c = z->l - m_test;
722 }
723 {
724 int c_keep = z->c;
725 int ret = insert_s (z, z->c, z->c, 1, s_10); /* <+, line 87 */
726 z->c = c_keep;
727 if (ret < 0)
728 return ret;
729 }
730 break;
731 }
732 break;
733 }
734 return 1;
735}
736
737static int
738r_Step_1c (struct SN_env *z)
739{
740 z->ket = z->c; /* [, line 94 */
741 {
742 int m1 = z->l - z->c;
743 (void) m1; /* or, line 94 */
744 if (!(eq_s_b (z, 1, s_11)))
745 goto lab1;
746 goto lab0;
747 lab1:
748 z->c = z->l - m1;
749 if (!(eq_s_b (z, 1, s_12)))
750 return 0;
751 }
752lab0:
753 z->bra = z->c; /* ], line 94 */
754 if (out_grouping_b (z, g_v, 97, 121, 0))
755 return 0;
756 {
757 int m2 = z->l - z->c;
758 (void) m2; /* not, line 95 */
759 if (z->c > z->lb)
760 goto lab2; /* atlimit, line 95 */
761 return 0;
762 lab2:
763 z->c = z->l - m2;
764 }
765 {
766 int ret = slice_from_s (z, 1, s_13); /* <-, line 96 */
767 if (ret < 0)
768 return ret;
769 }
770 return 1;
771}
772
773static int
774r_Step_2 (struct SN_env *z)
775{
776 int among_var;
777 z->ket = z->c; /* [, line 100 */
778 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
779 || !((815616 >> (z->p[z->c - 1] & 0x1f)) & 1))
780 return 0;
781 among_var = find_among_b (z, a_5, 24); /* substring, line 100 */
782 if (!(among_var))
783 return 0;
784 z->bra = z->c; /* ], line 100 */
785 {
786 int ret = r_R1 (z);
787 if (ret == 0)
788 return 0; /* call R1, line 100 */
789 if (ret < 0)
790 return ret;
791 }
792 switch (among_var)
793 {
794 case 0:
795 return 0;
796 case 1:
797 {
798 int ret = slice_from_s (z, 4, s_14); /* <-, line 101 */
799 if (ret < 0)
800 return ret;
801 }
802 break;
803 case 2:
804 {
805 int ret = slice_from_s (z, 4, s_15); /* <-, line 102 */
806 if (ret < 0)
807 return ret;
808 }
809 break;
810 case 3:
811 {
812 int ret = slice_from_s (z, 4, s_16); /* <-, line 103 */
813 if (ret < 0)
814 return ret;
815 }
816 break;
817 case 4:
818 {
819 int ret = slice_from_s (z, 4, s_17); /* <-, line 104 */
820 if (ret < 0)
821 return ret;
822 }
823 break;
824 case 5:
825 {
826 int ret = slice_from_s (z, 3, s_18); /* <-, line 105 */
827 if (ret < 0)
828 return ret;
829 }
830 break;
831 case 6:
832 {
833 int ret = slice_from_s (z, 3, s_19); /* <-, line 107 */
834 if (ret < 0)
835 return ret;
836 }
837 break;
838 case 7:
839 {
840 int ret = slice_from_s (z, 3, s_20); /* <-, line 109 */
841 if (ret < 0)
842 return ret;
843 }
844 break;
845 case 8:
846 {
847 int ret = slice_from_s (z, 2, s_21); /* <-, line 111 */
848 if (ret < 0)
849 return ret;
850 }
851 break;
852 case 9:
853 {
854 int ret = slice_from_s (z, 3, s_22); /* <-, line 112 */
855 if (ret < 0)
856 return ret;
857 }
858 break;
859 case 10:
860 {
861 int ret = slice_from_s (z, 3, s_23); /* <-, line 114 */
862 if (ret < 0)
863 return ret;
864 }
865 break;
866 case 11:
867 {
868 int ret = slice_from_s (z, 3, s_24); /* <-, line 116 */
869 if (ret < 0)
870 return ret;
871 }
872 break;
873 case 12:
874 {
875 int ret = slice_from_s (z, 3, s_25); /* <-, line 118 */
876 if (ret < 0)
877 return ret;
878 }
879 break;
880 case 13:
881 if (!(eq_s_b (z, 1, s_26)))
882 return 0;
883 {
884 int ret = slice_from_s (z, 2, s_27); /* <-, line 119 */
885 if (ret < 0)
886 return ret;
887 }
888 break;
889 case 14:
890 {
891 int ret = slice_from_s (z, 3, s_28); /* <-, line 120 */
892 if (ret < 0)
893 return ret;
894 }
895 break;
896 case 15:
897 {
898 int ret = slice_from_s (z, 4, s_29); /* <-, line 121 */
899 if (ret < 0)
900 return ret;
901 }
902 break;
903 case 16:
904 if (in_grouping_b (z, g_valid_LI, 99, 116, 0))
905 return 0;
906 {
907 int ret = slice_del (z); /* delete, line 122 */
908 if (ret < 0)
909 return ret;
910 }
911 break;
912 }
913 return 1;
914}
915
916static int
917r_Step_3 (struct SN_env *z)
918{
919 int among_var;
920 z->ket = z->c; /* [, line 127 */
921 if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3
922 || !((528928 >> (z->p[z->c - 1] & 0x1f)) & 1))
923 return 0;
924 among_var = find_among_b (z, a_6, 9); /* substring, line 127 */
925 if (!(among_var))
926 return 0;
927 z->bra = z->c; /* ], line 127 */
928 {
929 int ret = r_R1 (z);
930 if (ret == 0)
931 return 0; /* call R1, line 127 */
932 if (ret < 0)
933 return ret;
934 }
935 switch (among_var)
936 {
937 case 0:
938 return 0;
939 case 1:
940 {
941 int ret = slice_from_s (z, 4, s_30); /* <-, line 128 */
942 if (ret < 0)
943 return ret;
944 }
945 break;
946 case 2:
947 {
948 int ret = slice_from_s (z, 3, s_31); /* <-, line 129 */
949 if (ret < 0)
950 return ret;
951 }
952 break;
953 case 3:
954 {
955 int ret = slice_from_s (z, 2, s_32); /* <-, line 130 */
956 if (ret < 0)
957 return ret;
958 }
959 break;
960 case 4:
961 {
962 int ret = slice_from_s (z, 2, s_33); /* <-, line 132 */
963 if (ret < 0)
964 return ret;
965 }
966 break;
967 case 5:
968 {
969 int ret = slice_del (z); /* delete, line 134 */
970 if (ret < 0)
971 return ret;
972 }
973 break;
974 case 6:
975 {
976 int ret = r_R2 (z);
977 if (ret == 0)
978 return 0; /* call R2, line 136 */
979 if (ret < 0)
980 return ret;
981 }
982 {
983 int ret = slice_del (z); /* delete, line 136 */
984 if (ret < 0)
985 return ret;
986 }
987 break;
988 }
989 return 1;
990}
991
992static int
993r_Step_4 (struct SN_env *z)
994{
995 int among_var;
996 z->ket = z->c; /* [, line 141 */
997 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
998 || !((1864232 >> (z->p[z->c - 1] & 0x1f)) & 1))
999 return 0;
1000 among_var = find_among_b (z, a_7, 18); /* substring, line 141 */
1001 if (!(among_var))
1002 return 0;
1003 z->bra = z->c; /* ], line 141 */
1004 {
1005 int ret = r_R2 (z);
1006 if (ret == 0)
1007 return 0; /* call R2, line 141 */
1008 if (ret < 0)
1009 return ret;
1010 }
1011 switch (among_var)
1012 {
1013 case 0:
1014 return 0;
1015 case 1:
1016 {
1017 int ret = slice_del (z); /* delete, line 144 */
1018 if (ret < 0)
1019 return ret;
1020 }
1021 break;
1022 case 2:
1023 {
1024 int m1 = z->l - z->c;
1025 (void) m1; /* or, line 145 */
1026 if (!(eq_s_b (z, 1, s_34)))
1027 goto lab1;
1028 goto lab0;
1029 lab1:
1030 z->c = z->l - m1;
1031 if (!(eq_s_b (z, 1, s_35)))
1032 return 0;
1033 }
1034 lab0:
1035 {
1036 int ret = slice_del (z); /* delete, line 145 */
1037 if (ret < 0)
1038 return ret;
1039 }
1040 break;
1041 }
1042 return 1;
1043}
1044
1045static int
1046r_Step_5 (struct SN_env *z)
1047{
1048 int among_var;
1049 z->ket = z->c; /* [, line 150 */
1050 if (z->c <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108))
1051 return 0;
1052 among_var = find_among_b (z, a_8, 2); /* substring, line 150 */
1053 if (!(among_var))
1054 return 0;
1055 z->bra = z->c; /* ], line 150 */
1056 switch (among_var)
1057 {
1058 case 0:
1059 return 0;
1060 case 1:
1061 {
1062 int m1 = z->l - z->c;
1063 (void) m1; /* or, line 151 */
1064 {
1065 int ret = r_R2 (z);
1066 if (ret == 0)
1067 goto lab1; /* call R2, line 151 */
1068 if (ret < 0)
1069 return ret;
1070 }
1071 goto lab0;
1072 lab1:
1073 z->c = z->l - m1;
1074 {
1075 int ret = r_R1 (z);
1076 if (ret == 0)
1077 return 0; /* call R1, line 151 */
1078 if (ret < 0)
1079 return ret;
1080 }
1081 {
1082 int m2 = z->l - z->c;
1083 (void) m2; /* not, line 151 */
1084 {
1085 int ret = r_shortv (z);
1086 if (ret == 0)
1087 goto lab2; /* call shortv, line 151 */
1088 if (ret < 0)
1089 return ret;
1090 }
1091 return 0;
1092 lab2:
1093 z->c = z->l - m2;
1094 }
1095 }
1096 lab0:
1097 {
1098 int ret = slice_del (z); /* delete, line 151 */
1099 if (ret < 0)
1100 return ret;
1101 }
1102 break;
1103 case 2:
1104 {
1105 int ret = r_R2 (z);
1106 if (ret == 0)
1107 return 0; /* call R2, line 152 */
1108 if (ret < 0)
1109 return ret;
1110 }
1111 if (!(eq_s_b (z, 1, s_36)))
1112 return 0;
1113 {
1114 int ret = slice_del (z); /* delete, line 152 */
1115 if (ret < 0)
1116 return ret;
1117 }
1118 break;
1119 }
1120 return 1;
1121}
1122
1123static int
1125{
1126 z->ket = z->c; /* [, line 158 */
1127 if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 103))
1128 return 0;
1129 if (!(find_among_b (z, a_9, 8)))
1130 return 0; /* substring, line 158 */
1131 z->bra = z->c; /* ], line 158 */
1132 if (z->c > z->lb)
1133 return 0; /* atlimit, line 158 */
1134 return 1;
1135}
1136
1137static int
1139{
1140 int among_var;
1141 z->bra = z->c; /* [, line 170 */
1142 if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3
1143 || !((42750482 >> (z->p[z->c + 2] & 0x1f)) & 1))
1144 return 0;
1145 among_var = find_among (z, a_10, 18); /* substring, line 170 */
1146 if (!(among_var))
1147 return 0;
1148 z->ket = z->c; /* ], line 170 */
1149 if (z->c < z->l)
1150 return 0; /* atlimit, line 170 */
1151 switch (among_var)
1152 {
1153 case 0:
1154 return 0;
1155 case 1:
1156 {
1157 int ret = slice_from_s (z, 3, s_37); /* <-, line 174 */
1158 if (ret < 0)
1159 return ret;
1160 }
1161 break;
1162 case 2:
1163 {
1164 int ret = slice_from_s (z, 3, s_38); /* <-, line 175 */
1165 if (ret < 0)
1166 return ret;
1167 }
1168 break;
1169 case 3:
1170 {
1171 int ret = slice_from_s (z, 3, s_39); /* <-, line 176 */
1172 if (ret < 0)
1173 return ret;
1174 }
1175 break;
1176 case 4:
1177 {
1178 int ret = slice_from_s (z, 3, s_40); /* <-, line 177 */
1179 if (ret < 0)
1180 return ret;
1181 }
1182 break;
1183 case 5:
1184 {
1185 int ret = slice_from_s (z, 3, s_41); /* <-, line 178 */
1186 if (ret < 0)
1187 return ret;
1188 }
1189 break;
1190 case 6:
1191 {
1192 int ret = slice_from_s (z, 3, s_42); /* <-, line 182 */
1193 if (ret < 0)
1194 return ret;
1195 }
1196 break;
1197 case 7:
1198 {
1199 int ret = slice_from_s (z, 5, s_43); /* <-, line 183 */
1200 if (ret < 0)
1201 return ret;
1202 }
1203 break;
1204 case 8:
1205 {
1206 int ret = slice_from_s (z, 4, s_44); /* <-, line 184 */
1207 if (ret < 0)
1208 return ret;
1209 }
1210 break;
1211 case 9:
1212 {
1213 int ret = slice_from_s (z, 5, s_45); /* <-, line 185 */
1214 if (ret < 0)
1215 return ret;
1216 }
1217 break;
1218 case 10:
1219 {
1220 int ret = slice_from_s (z, 4, s_46); /* <-, line 186 */
1221 if (ret < 0)
1222 return ret;
1223 }
1224 break;
1225 case 11:
1226 {
1227 int ret = slice_from_s (z, 5, s_47); /* <-, line 187 */
1228 if (ret < 0)
1229 return ret;
1230 }
1231 break;
1232 }
1233 return 1;
1234}
1235
1236static int
1238{
1239 if (!(z->B[0]))
1240 return 0; /* Boolean test Y_found, line 203 */
1241 while (1)
1242 { /* repeat, line 203 */
1243 int c1 = z->c;
1244 while (1)
1245 { /* goto, line 203 */
1246 int c2 = z->c;
1247 z->bra = z->c; /* [, line 203 */
1248 if (!(eq_s (z, 1, s_48)))
1249 goto lab1;
1250 z->ket = z->c; /* ], line 203 */
1251 z->c = c2;
1252 break;
1253 lab1:
1254 z->c = c2;
1255 if (z->c >= z->l)
1256 goto lab0;
1257 z->c++; /* goto, line 203 */
1258 }
1259 {
1260 int ret = slice_from_s (z, 1, s_49); /* <-, line 203 */
1261 if (ret < 0)
1262 return ret;
1263 }
1264 continue;
1265 lab0:
1266 z->c = c1;
1267 break;
1268 }
1269 return 1;
1270}
1271
1272extern int
1274{
1275 {
1276 int c1 = z->c; /* or, line 207 */
1277 {
1278 int ret = r_exception1 (z);
1279 if (ret == 0)
1280 goto lab1; /* call exception1, line 207 */
1281 if (ret < 0)
1282 return ret;
1283 }
1284 goto lab0;
1285 lab1:
1286 z->c = c1;
1287 {
1288 int c2 = z->c; /* not, line 208 */
1289 {
1290 int ret = z->c + 3;
1291 if (0 > ret || ret > z->l)
1292 goto lab3;
1293 z->c = ret; /* hop, line 208 */
1294 }
1295 goto lab2;
1296 lab3:
1297 z->c = c2;
1298 }
1299 goto lab0;
1300 lab2:
1301 z->c = c1;
1302 {
1303 int c3 = z->c; /* do, line 209 */
1304 {
1305 int ret = r_prelude (z);
1306 if (ret == 0)
1307 goto lab4; /* call prelude, line 209 */
1308 if (ret < 0)
1309 return ret;
1310 }
1311 lab4:
1312 z->c = c3;
1313 }
1314 {
1315 int c4 = z->c; /* do, line 210 */
1316 {
1317 int ret = r_mark_regions (z);
1318 if (ret == 0)
1319 goto lab5; /* call mark_regions, line 210 */
1320 if (ret < 0)
1321 return ret;
1322 }
1323 lab5:
1324 z->c = c4;
1325 }
1326 z->lb = z->c;
1327 z->c = z->l; /* backwards, line 211 */
1328
1329 {
1330 int m5 = z->l - z->c;
1331 (void) m5; /* do, line 213 */
1332 {
1333 int ret = r_Step_1a (z);
1334 if (ret == 0)
1335 goto lab6; /* call Step_1a, line 213 */
1336 if (ret < 0)
1337 return ret;
1338 }
1339 lab6:
1340 z->c = z->l - m5;
1341 }
1342 {
1343 int m6 = z->l - z->c;
1344 (void) m6; /* or, line 215 */
1345 {
1346 int ret = r_exception2 (z);
1347 if (ret == 0)
1348 goto lab8; /* call exception2, line 215 */
1349 if (ret < 0)
1350 return ret;
1351 }
1352 goto lab7;
1353 lab8:
1354 z->c = z->l - m6;
1355 {
1356 int m7 = z->l - z->c;
1357 (void) m7; /* do, line 217 */
1358 {
1359 int ret = r_Step_1b (z);
1360 if (ret == 0)
1361 goto lab9; /* call Step_1b, line 217 */
1362 if (ret < 0)
1363 return ret;
1364 }
1365 lab9:
1366 z->c = z->l - m7;
1367 }
1368 {
1369 int m8 = z->l - z->c;
1370 (void) m8; /* do, line 218 */
1371 {
1372 int ret = r_Step_1c (z);
1373 if (ret == 0)
1374 goto lab10; /* call Step_1c, line 218 */
1375 if (ret < 0)
1376 return ret;
1377 }
1378 lab10:
1379 z->c = z->l - m8;
1380 }
1381 {
1382 int m9 = z->l - z->c;
1383 (void) m9; /* do, line 220 */
1384 {
1385 int ret = r_Step_2 (z);
1386 if (ret == 0)
1387 goto lab11; /* call Step_2, line 220 */
1388 if (ret < 0)
1389 return ret;
1390 }
1391 lab11:
1392 z->c = z->l - m9;
1393 }
1394 {
1395 int m10 = z->l - z->c;
1396 (void) m10; /* do, line 221 */
1397 {
1398 int ret = r_Step_3 (z);
1399 if (ret == 0)
1400 goto lab12; /* call Step_3, line 221 */
1401 if (ret < 0)
1402 return ret;
1403 }
1404 lab12:
1405 z->c = z->l - m10;
1406 }
1407 {
1408 int m11 = z->l - z->c;
1409 (void) m11; /* do, line 222 */
1410 {
1411 int ret = r_Step_4 (z);
1412 if (ret == 0)
1413 goto lab13; /* call Step_4, line 222 */
1414 if (ret < 0)
1415 return ret;
1416 }
1417 lab13:
1418 z->c = z->l - m11;
1419 }
1420 {
1421 int m12 = z->l - z->c;
1422 (void) m12; /* do, line 224 */
1423 {
1424 int ret = r_Step_5 (z);
1425 if (ret == 0)
1426 goto lab14; /* call Step_5, line 224 */
1427 if (ret < 0)
1428 return ret;
1429 }
1430 lab14:
1431 z->c = z->l - m12;
1432 }
1433 }
1434 lab7:
1435 z->c = z->lb;
1436 {
1437 int c13 = z->c; /* do, line 227 */
1438 {
1439 int ret = r_postlude (z);
1440 if (ret == 0)
1441 goto lab15; /* call postlude, line 227 */
1442 if (ret < 0)
1443 return ret;
1444 }
1445 lab15:
1446 z->c = c13;
1447 }
1448 }
1449lab0:
1450 return 1;
1451}
1452
1453extern struct SN_env *
1455{
1456 return SN_create_env (0, 2, 1);
1457}
1458
1459extern void
1461{
1462 SN_close_env (z, 0);
1463}
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 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(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:206
int eq_s(struct SN_env *z, int s_size, const symbol *s)
Definition utilities.c:280
int out_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:262
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition utilities.c:290
int out_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:244
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
int in_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:225
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]
struct SN_env * english_ISO_8859_1_create_env(void)
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]
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]
void english_ISO_8859_1_close_env(struct SN_env *z)
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]
static const symbol s_10[]
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]
int english_ISO_8859_1_stem(struct SN_env *z)
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