1 /* This file was generated automatically by the Snowball to ISO C compiler */
2 /* http://snowballstem.org/ */
3 
4 #include "header.h"
5 
6 static int r_fix_conflicts(struct SN_env * z);
7 static int r_fix_gd(struct SN_env * z);
8 static int r_fix_chdz(struct SN_env * z);
9 static int r_step1(struct SN_env * z);
10 static int r_R1(struct SN_env * z);
11 static int r_step2(struct SN_env * z);
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 extern int lithuanian_UTF_8_stem(struct SN_env * z);
16 #ifdef __cplusplus
17 }
18 #endif
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 
24 extern struct SN_env * lithuanian_UTF_8_create_env(void);
25 extern void lithuanian_UTF_8_close_env(struct SN_env * z);
26 
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 static const symbol s_0_0[1] = { 'a' };
32 static const symbol s_0_1[2] = { 'i', 'a' };
33 static const symbol s_0_2[4] = { 'e', 'r', 'i', 'a' };
34 static const symbol s_0_3[4] = { 'o', 's', 'n', 'a' };
35 static const symbol s_0_4[5] = { 'i', 'o', 's', 'n', 'a' };
36 static const symbol s_0_5[5] = { 'u', 'o', 's', 'n', 'a' };
37 static const symbol s_0_6[6] = { 'i', 'u', 'o', 's', 'n', 'a' };
38 static const symbol s_0_7[4] = { 'y', 's', 'n', 'a' };
39 static const symbol s_0_8[5] = { 0xC4, 0x97, 's', 'n', 'a' };
40 static const symbol s_0_9[1] = { 'e' };
41 static const symbol s_0_10[2] = { 'i', 'e' };
42 static const symbol s_0_11[4] = { 'e', 'n', 'i', 'e' };
43 static const symbol s_0_12[4] = { 'e', 'r', 'i', 'e' };
44 static const symbol s_0_13[3] = { 'o', 'j', 'e' };
45 static const symbol s_0_14[4] = { 'i', 'o', 'j', 'e' };
46 static const symbol s_0_15[3] = { 'u', 'j', 'e' };
47 static const symbol s_0_16[4] = { 'i', 'u', 'j', 'e' };
48 static const symbol s_0_17[3] = { 'y', 'j', 'e' };
49 static const symbol s_0_18[5] = { 'e', 'n', 'y', 'j', 'e' };
50 static const symbol s_0_19[5] = { 'e', 'r', 'y', 'j', 'e' };
51 static const symbol s_0_20[4] = { 0xC4, 0x97, 'j', 'e' };
52 static const symbol s_0_21[3] = { 'a', 'm', 'e' };
53 static const symbol s_0_22[4] = { 'i', 'a', 'm', 'e' };
54 static const symbol s_0_23[4] = { 's', 'i', 'm', 'e' };
55 static const symbol s_0_24[3] = { 'o', 'm', 'e' };
56 static const symbol s_0_25[4] = { 0xC4, 0x97, 'm', 'e' };
57 static const symbol s_0_26[7] = { 't', 'u', 'm', 0xC4, 0x97, 'm', 'e' };
58 static const symbol s_0_27[3] = { 'o', 's', 'e' };
59 static const symbol s_0_28[4] = { 'i', 'o', 's', 'e' };
60 static const symbol s_0_29[4] = { 'u', 'o', 's', 'e' };
61 static const symbol s_0_30[5] = { 'i', 'u', 'o', 's', 'e' };
62 static const symbol s_0_31[3] = { 'y', 's', 'e' };
63 static const symbol s_0_32[5] = { 'e', 'n', 'y', 's', 'e' };
64 static const symbol s_0_33[5] = { 'e', 'r', 'y', 's', 'e' };
65 static const symbol s_0_34[4] = { 0xC4, 0x97, 's', 'e' };
66 static const symbol s_0_35[3] = { 'a', 't', 'e' };
67 static const symbol s_0_36[4] = { 'i', 'a', 't', 'e' };
68 static const symbol s_0_37[3] = { 'i', 't', 'e' };
69 static const symbol s_0_38[4] = { 'k', 'i', 't', 'e' };
70 static const symbol s_0_39[4] = { 's', 'i', 't', 'e' };
71 static const symbol s_0_40[3] = { 'o', 't', 'e' };
72 static const symbol s_0_41[4] = { 't', 'u', 't', 'e' };
73 static const symbol s_0_42[4] = { 0xC4, 0x97, 't', 'e' };
74 static const symbol s_0_43[7] = { 't', 'u', 'm', 0xC4, 0x97, 't', 'e' };
75 static const symbol s_0_44[1] = { 'i' };
76 static const symbol s_0_45[2] = { 'a', 'i' };
77 static const symbol s_0_46[3] = { 'i', 'a', 'i' };
78 static const symbol s_0_47[5] = { 'e', 'r', 'i', 'a', 'i' };
79 static const symbol s_0_48[2] = { 'e', 'i' };
80 static const symbol s_0_49[5] = { 't', 'u', 'm', 'e', 'i' };
81 static const symbol s_0_50[2] = { 'k', 'i' };
82 static const symbol s_0_51[3] = { 'i', 'm', 'i' };
83 static const symbol s_0_52[5] = { 'e', 'r', 'i', 'm', 'i' };
84 static const symbol s_0_53[3] = { 'u', 'm', 'i' };
85 static const symbol s_0_54[4] = { 'i', 'u', 'm', 'i' };
86 static const symbol s_0_55[2] = { 's', 'i' };
87 static const symbol s_0_56[3] = { 'a', 's', 'i' };
88 static const symbol s_0_57[4] = { 'i', 'a', 's', 'i' };
89 static const symbol s_0_58[3] = { 'e', 's', 'i' };
90 static const symbol s_0_59[4] = { 'i', 'e', 's', 'i' };
91 static const symbol s_0_60[5] = { 's', 'i', 'e', 's', 'i' };
92 static const symbol s_0_61[3] = { 'i', 's', 'i' };
93 static const symbol s_0_62[4] = { 'a', 'i', 's', 'i' };
94 static const symbol s_0_63[4] = { 'e', 'i', 's', 'i' };
95 static const symbol s_0_64[7] = { 't', 'u', 'm', 'e', 'i', 's', 'i' };
96 static const symbol s_0_65[4] = { 'u', 'i', 's', 'i' };
97 static const symbol s_0_66[3] = { 'o', 's', 'i' };
98 static const symbol s_0_67[6] = { 0xC4, 0x97, 'j', 'o', 's', 'i' };
99 static const symbol s_0_68[4] = { 'u', 'o', 's', 'i' };
100 static const symbol s_0_69[5] = { 'i', 'u', 'o', 's', 'i' };
101 static const symbol s_0_70[6] = { 's', 'i', 'u', 'o', 's', 'i' };
102 static const symbol s_0_71[3] = { 'u', 's', 'i' };
103 static const symbol s_0_72[4] = { 'a', 'u', 's', 'i' };
104 static const symbol s_0_73[7] = { 0xC4, 0x8D, 'i', 'a', 'u', 's', 'i' };
105 static const symbol s_0_74[4] = { 0xC4, 0x85, 's', 'i' };
106 static const symbol s_0_75[4] = { 0xC4, 0x97, 's', 'i' };
107 static const symbol s_0_76[4] = { 0xC5, 0xB3, 's', 'i' };
108 static const symbol s_0_77[5] = { 't', 0xC5, 0xB3, 's', 'i' };
109 static const symbol s_0_78[2] = { 't', 'i' };
110 static const symbol s_0_79[4] = { 'e', 'n', 't', 'i' };
111 static const symbol s_0_80[4] = { 'i', 'n', 't', 'i' };
112 static const symbol s_0_81[3] = { 'o', 't', 'i' };
113 static const symbol s_0_82[4] = { 'i', 'o', 't', 'i' };
114 static const symbol s_0_83[4] = { 'u', 'o', 't', 'i' };
115 static const symbol s_0_84[5] = { 'i', 'u', 'o', 't', 'i' };
116 static const symbol s_0_85[4] = { 'a', 'u', 't', 'i' };
117 static const symbol s_0_86[5] = { 'i', 'a', 'u', 't', 'i' };
118 static const symbol s_0_87[3] = { 'y', 't', 'i' };
119 static const symbol s_0_88[4] = { 0xC4, 0x97, 't', 'i' };
120 static const symbol s_0_89[7] = { 't', 'e', 'l', 0xC4, 0x97, 't', 'i' };
121 static const symbol s_0_90[6] = { 'i', 'n', 0xC4, 0x97, 't', 'i' };
122 static const symbol s_0_91[7] = { 't', 'e', 'r', 0xC4, 0x97, 't', 'i' };
123 static const symbol s_0_92[2] = { 'u', 'i' };
124 static const symbol s_0_93[3] = { 'i', 'u', 'i' };
125 static const symbol s_0_94[5] = { 'e', 'n', 'i', 'u', 'i' };
126 static const symbol s_0_95[2] = { 'o', 'j' };
127 static const symbol s_0_96[3] = { 0xC4, 0x97, 'j' };
128 static const symbol s_0_97[1] = { 'k' };
129 static const symbol s_0_98[2] = { 'a', 'm' };
130 static const symbol s_0_99[3] = { 'i', 'a', 'm' };
131 static const symbol s_0_100[3] = { 'i', 'e', 'm' };
132 static const symbol s_0_101[2] = { 'i', 'm' };
133 static const symbol s_0_102[3] = { 's', 'i', 'm' };
134 static const symbol s_0_103[2] = { 'o', 'm' };
135 static const symbol s_0_104[3] = { 't', 'u', 'm' };
136 static const symbol s_0_105[3] = { 0xC4, 0x97, 'm' };
137 static const symbol s_0_106[6] = { 't', 'u', 'm', 0xC4, 0x97, 'm' };
138 static const symbol s_0_107[2] = { 'a', 'n' };
139 static const symbol s_0_108[2] = { 'o', 'n' };
140 static const symbol s_0_109[3] = { 'i', 'o', 'n' };
141 static const symbol s_0_110[2] = { 'u', 'n' };
142 static const symbol s_0_111[3] = { 'i', 'u', 'n' };
143 static const symbol s_0_112[3] = { 0xC4, 0x97, 'n' };
144 static const symbol s_0_113[1] = { 'o' };
145 static const symbol s_0_114[2] = { 'i', 'o' };
146 static const symbol s_0_115[4] = { 'e', 'n', 'i', 'o' };
147 static const symbol s_0_116[4] = { 0xC4, 0x97, 'j', 'o' };
148 static const symbol s_0_117[2] = { 'u', 'o' };
149 static const symbol s_0_118[1] = { 's' };
150 static const symbol s_0_119[2] = { 'a', 's' };
151 static const symbol s_0_120[3] = { 'i', 'a', 's' };
152 static const symbol s_0_121[2] = { 'e', 's' };
153 static const symbol s_0_122[3] = { 'i', 'e', 's' };
154 static const symbol s_0_123[2] = { 'i', 's' };
155 static const symbol s_0_124[3] = { 'a', 'i', 's' };
156 static const symbol s_0_125[4] = { 'i', 'a', 'i', 's' };
157 static const symbol s_0_126[6] = { 't', 'u', 'm', 'e', 'i', 's' };
158 static const symbol s_0_127[4] = { 'i', 'm', 'i', 's' };
159 static const symbol s_0_128[6] = { 'e', 'n', 'i', 'm', 'i', 's' };
160 static const symbol s_0_129[4] = { 'o', 'm', 'i', 's' };
161 static const symbol s_0_130[5] = { 'i', 'o', 'm', 'i', 's' };
162 static const symbol s_0_131[4] = { 'u', 'm', 'i', 's' };
163 static const symbol s_0_132[5] = { 0xC4, 0x97, 'm', 'i', 's' };
164 static const symbol s_0_133[4] = { 'e', 'n', 'i', 's' };
165 static const symbol s_0_134[4] = { 'a', 's', 'i', 's' };
166 static const symbol s_0_135[4] = { 'y', 's', 'i', 's' };
167 static const symbol s_0_136[3] = { 'a', 'm', 's' };
168 static const symbol s_0_137[4] = { 'i', 'a', 'm', 's' };
169 static const symbol s_0_138[4] = { 'i', 'e', 'm', 's' };
170 static const symbol s_0_139[3] = { 'i', 'm', 's' };
171 static const symbol s_0_140[5] = { 'e', 'n', 'i', 'm', 's' };
172 static const symbol s_0_141[5] = { 'e', 'r', 'i', 'm', 's' };
173 static const symbol s_0_142[3] = { 'o', 'm', 's' };
174 static const symbol s_0_143[4] = { 'i', 'o', 'm', 's' };
175 static const symbol s_0_144[3] = { 'u', 'm', 's' };
176 static const symbol s_0_145[4] = { 0xC4, 0x97, 'm', 's' };
177 static const symbol s_0_146[3] = { 'e', 'n', 's' };
178 static const symbol s_0_147[2] = { 'o', 's' };
179 static const symbol s_0_148[3] = { 'i', 'o', 's' };
180 static const symbol s_0_149[3] = { 'u', 'o', 's' };
181 static const symbol s_0_150[4] = { 'i', 'u', 'o', 's' };
182 static const symbol s_0_151[3] = { 'e', 'r', 's' };
183 static const symbol s_0_152[2] = { 'u', 's' };
184 static const symbol s_0_153[3] = { 'a', 'u', 's' };
185 static const symbol s_0_154[4] = { 'i', 'a', 'u', 's' };
186 static const symbol s_0_155[3] = { 'i', 'u', 's' };
187 static const symbol s_0_156[2] = { 'y', 's' };
188 static const symbol s_0_157[4] = { 'e', 'n', 'y', 's' };
189 static const symbol s_0_158[4] = { 'e', 'r', 'y', 's' };
190 static const symbol s_0_159[3] = { 0xC4, 0x85, 's' };
191 static const symbol s_0_160[4] = { 'i', 0xC4, 0x85, 's' };
192 static const symbol s_0_161[3] = { 0xC4, 0x97, 's' };
193 static const symbol s_0_162[5] = { 'a', 'm', 0xC4, 0x97, 's' };
194 static const symbol s_0_163[6] = { 'i', 'a', 'm', 0xC4, 0x97, 's' };
195 static const symbol s_0_164[5] = { 'i', 'm', 0xC4, 0x97, 's' };
196 static const symbol s_0_165[6] = { 'k', 'i', 'm', 0xC4, 0x97, 's' };
197 static const symbol s_0_166[6] = { 's', 'i', 'm', 0xC4, 0x97, 's' };
198 static const symbol s_0_167[5] = { 'o', 'm', 0xC4, 0x97, 's' };
199 static const symbol s_0_168[6] = { 0xC4, 0x97, 'm', 0xC4, 0x97, 's' };
200 static const symbol s_0_169[9] = { 't', 'u', 'm', 0xC4, 0x97, 'm', 0xC4, 0x97, 's' };
201 static const symbol s_0_170[5] = { 'a', 't', 0xC4, 0x97, 's' };
202 static const symbol s_0_171[6] = { 'i', 'a', 't', 0xC4, 0x97, 's' };
203 static const symbol s_0_172[6] = { 's', 'i', 't', 0xC4, 0x97, 's' };
204 static const symbol s_0_173[5] = { 'o', 't', 0xC4, 0x97, 's' };
205 static const symbol s_0_174[6] = { 0xC4, 0x97, 't', 0xC4, 0x97, 's' };
206 static const symbol s_0_175[9] = { 't', 'u', 'm', 0xC4, 0x97, 't', 0xC4, 0x97, 's' };
207 static const symbol s_0_176[3] = { 0xC5, 0xAB, 's' };
208 static const symbol s_0_177[3] = { 0xC4, 0xAF, 's' };
209 static const symbol s_0_178[4] = { 't', 0xC5, 0xB3, 's' };
210 static const symbol s_0_179[2] = { 'a', 't' };
211 static const symbol s_0_180[3] = { 'i', 'a', 't' };
212 static const symbol s_0_181[2] = { 'i', 't' };
213 static const symbol s_0_182[3] = { 's', 'i', 't' };
214 static const symbol s_0_183[2] = { 'o', 't' };
215 static const symbol s_0_184[3] = { 0xC4, 0x97, 't' };
216 static const symbol s_0_185[6] = { 't', 'u', 'm', 0xC4, 0x97, 't' };
217 static const symbol s_0_186[1] = { 'u' };
218 static const symbol s_0_187[2] = { 'a', 'u' };
219 static const symbol s_0_188[3] = { 'i', 'a', 'u' };
220 static const symbol s_0_189[5] = { 0xC4, 0x8D, 'i', 'a', 'u' };
221 static const symbol s_0_190[2] = { 'i', 'u' };
222 static const symbol s_0_191[4] = { 'e', 'n', 'i', 'u' };
223 static const symbol s_0_192[3] = { 's', 'i', 'u' };
224 static const symbol s_0_193[1] = { 'y' };
225 static const symbol s_0_194[2] = { 0xC4, 0x85 };
226 static const symbol s_0_195[3] = { 'i', 0xC4, 0x85 };
227 static const symbol s_0_196[2] = { 0xC4, 0x97 };
228 static const symbol s_0_197[2] = { 0xC4, 0x99 };
229 static const symbol s_0_198[2] = { 0xC4, 0xAF };
230 static const symbol s_0_199[4] = { 'e', 'n', 0xC4, 0xAF };
231 static const symbol s_0_200[4] = { 'e', 'r', 0xC4, 0xAF };
232 static const symbol s_0_201[2] = { 0xC5, 0xB3 };
233 static const symbol s_0_202[3] = { 'i', 0xC5, 0xB3 };
234 static const symbol s_0_203[4] = { 'e', 'r', 0xC5, 0xB3 };
235 
236 static const struct among a_0[204] =
237 {
238 /*  0 */ { 1, s_0_0, -1, -1, 0},
239 /*  1 */ { 2, s_0_1, 0, -1, 0},
240 /*  2 */ { 4, s_0_2, 1, -1, 0},
241 /*  3 */ { 4, s_0_3, 0, -1, 0},
242 /*  4 */ { 5, s_0_4, 3, -1, 0},
243 /*  5 */ { 5, s_0_5, 3, -1, 0},
244 /*  6 */ { 6, s_0_6, 5, -1, 0},
245 /*  7 */ { 4, s_0_7, 0, -1, 0},
246 /*  8 */ { 5, s_0_8, 0, -1, 0},
247 /*  9 */ { 1, s_0_9, -1, -1, 0},
248 /* 10 */ { 2, s_0_10, 9, -1, 0},
249 /* 11 */ { 4, s_0_11, 10, -1, 0},
250 /* 12 */ { 4, s_0_12, 10, -1, 0},
251 /* 13 */ { 3, s_0_13, 9, -1, 0},
252 /* 14 */ { 4, s_0_14, 13, -1, 0},
253 /* 15 */ { 3, s_0_15, 9, -1, 0},
254 /* 16 */ { 4, s_0_16, 15, -1, 0},
255 /* 17 */ { 3, s_0_17, 9, -1, 0},
256 /* 18 */ { 5, s_0_18, 17, -1, 0},
257 /* 19 */ { 5, s_0_19, 17, -1, 0},
258 /* 20 */ { 4, s_0_20, 9, -1, 0},
259 /* 21 */ { 3, s_0_21, 9, -1, 0},
260 /* 22 */ { 4, s_0_22, 21, -1, 0},
261 /* 23 */ { 4, s_0_23, 9, -1, 0},
262 /* 24 */ { 3, s_0_24, 9, -1, 0},
263 /* 25 */ { 4, s_0_25, 9, -1, 0},
264 /* 26 */ { 7, s_0_26, 25, -1, 0},
265 /* 27 */ { 3, s_0_27, 9, -1, 0},
266 /* 28 */ { 4, s_0_28, 27, -1, 0},
267 /* 29 */ { 4, s_0_29, 27, -1, 0},
268 /* 30 */ { 5, s_0_30, 29, -1, 0},
269 /* 31 */ { 3, s_0_31, 9, -1, 0},
270 /* 32 */ { 5, s_0_32, 31, -1, 0},
271 /* 33 */ { 5, s_0_33, 31, -1, 0},
272 /* 34 */ { 4, s_0_34, 9, -1, 0},
273 /* 35 */ { 3, s_0_35, 9, -1, 0},
274 /* 36 */ { 4, s_0_36, 35, -1, 0},
275 /* 37 */ { 3, s_0_37, 9, -1, 0},
276 /* 38 */ { 4, s_0_38, 37, -1, 0},
277 /* 39 */ { 4, s_0_39, 37, -1, 0},
278 /* 40 */ { 3, s_0_40, 9, -1, 0},
279 /* 41 */ { 4, s_0_41, 9, -1, 0},
280 /* 42 */ { 4, s_0_42, 9, -1, 0},
281 /* 43 */ { 7, s_0_43, 42, -1, 0},
282 /* 44 */ { 1, s_0_44, -1, -1, 0},
283 /* 45 */ { 2, s_0_45, 44, -1, 0},
284 /* 46 */ { 3, s_0_46, 45, -1, 0},
285 /* 47 */ { 5, s_0_47, 46, -1, 0},
286 /* 48 */ { 2, s_0_48, 44, -1, 0},
287 /* 49 */ { 5, s_0_49, 48, -1, 0},
288 /* 50 */ { 2, s_0_50, 44, -1, 0},
289 /* 51 */ { 3, s_0_51, 44, -1, 0},
290 /* 52 */ { 5, s_0_52, 51, -1, 0},
291 /* 53 */ { 3, s_0_53, 44, -1, 0},
292 /* 54 */ { 4, s_0_54, 53, -1, 0},
293 /* 55 */ { 2, s_0_55, 44, -1, 0},
294 /* 56 */ { 3, s_0_56, 55, -1, 0},
295 /* 57 */ { 4, s_0_57, 56, -1, 0},
296 /* 58 */ { 3, s_0_58, 55, -1, 0},
297 /* 59 */ { 4, s_0_59, 58, -1, 0},
298 /* 60 */ { 5, s_0_60, 59, -1, 0},
299 /* 61 */ { 3, s_0_61, 55, -1, 0},
300 /* 62 */ { 4, s_0_62, 61, -1, 0},
301 /* 63 */ { 4, s_0_63, 61, -1, 0},
302 /* 64 */ { 7, s_0_64, 63, -1, 0},
303 /* 65 */ { 4, s_0_65, 61, -1, 0},
304 /* 66 */ { 3, s_0_66, 55, -1, 0},
305 /* 67 */ { 6, s_0_67, 66, -1, 0},
306 /* 68 */ { 4, s_0_68, 66, -1, 0},
307 /* 69 */ { 5, s_0_69, 68, -1, 0},
308 /* 70 */ { 6, s_0_70, 69, -1, 0},
309 /* 71 */ { 3, s_0_71, 55, -1, 0},
310 /* 72 */ { 4, s_0_72, 71, -1, 0},
311 /* 73 */ { 7, s_0_73, 72, -1, 0},
312 /* 74 */ { 4, s_0_74, 55, -1, 0},
313 /* 75 */ { 4, s_0_75, 55, -1, 0},
314 /* 76 */ { 4, s_0_76, 55, -1, 0},
315 /* 77 */ { 5, s_0_77, 76, -1, 0},
316 /* 78 */ { 2, s_0_78, 44, -1, 0},
317 /* 79 */ { 4, s_0_79, 78, -1, 0},
318 /* 80 */ { 4, s_0_80, 78, -1, 0},
319 /* 81 */ { 3, s_0_81, 78, -1, 0},
320 /* 82 */ { 4, s_0_82, 81, -1, 0},
321 /* 83 */ { 4, s_0_83, 81, -1, 0},
322 /* 84 */ { 5, s_0_84, 83, -1, 0},
323 /* 85 */ { 4, s_0_85, 78, -1, 0},
324 /* 86 */ { 5, s_0_86, 85, -1, 0},
325 /* 87 */ { 3, s_0_87, 78, -1, 0},
326 /* 88 */ { 4, s_0_88, 78, -1, 0},
327 /* 89 */ { 7, s_0_89, 88, -1, 0},
328 /* 90 */ { 6, s_0_90, 88, -1, 0},
329 /* 91 */ { 7, s_0_91, 88, -1, 0},
330 /* 92 */ { 2, s_0_92, 44, -1, 0},
331 /* 93 */ { 3, s_0_93, 92, -1, 0},
332 /* 94 */ { 5, s_0_94, 93, -1, 0},
333 /* 95 */ { 2, s_0_95, -1, -1, 0},
334 /* 96 */ { 3, s_0_96, -1, -1, 0},
335 /* 97 */ { 1, s_0_97, -1, -1, 0},
336 /* 98 */ { 2, s_0_98, -1, -1, 0},
337 /* 99 */ { 3, s_0_99, 98, -1, 0},
338 /*100 */ { 3, s_0_100, -1, -1, 0},
339 /*101 */ { 2, s_0_101, -1, -1, 0},
340 /*102 */ { 3, s_0_102, 101, -1, 0},
341 /*103 */ { 2, s_0_103, -1, -1, 0},
342 /*104 */ { 3, s_0_104, -1, -1, 0},
343 /*105 */ { 3, s_0_105, -1, -1, 0},
344 /*106 */ { 6, s_0_106, 105, -1, 0},
345 /*107 */ { 2, s_0_107, -1, -1, 0},
346 /*108 */ { 2, s_0_108, -1, -1, 0},
347 /*109 */ { 3, s_0_109, 108, -1, 0},
348 /*110 */ { 2, s_0_110, -1, -1, 0},
349 /*111 */ { 3, s_0_111, 110, -1, 0},
350 /*112 */ { 3, s_0_112, -1, -1, 0},
351 /*113 */ { 1, s_0_113, -1, -1, 0},
352 /*114 */ { 2, s_0_114, 113, -1, 0},
353 /*115 */ { 4, s_0_115, 114, -1, 0},
354 /*116 */ { 4, s_0_116, 113, -1, 0},
355 /*117 */ { 2, s_0_117, 113, -1, 0},
356 /*118 */ { 1, s_0_118, -1, -1, 0},
357 /*119 */ { 2, s_0_119, 118, -1, 0},
358 /*120 */ { 3, s_0_120, 119, -1, 0},
359 /*121 */ { 2, s_0_121, 118, -1, 0},
360 /*122 */ { 3, s_0_122, 121, -1, 0},
361 /*123 */ { 2, s_0_123, 118, -1, 0},
362 /*124 */ { 3, s_0_124, 123, -1, 0},
363 /*125 */ { 4, s_0_125, 124, -1, 0},
364 /*126 */ { 6, s_0_126, 123, -1, 0},
365 /*127 */ { 4, s_0_127, 123, -1, 0},
366 /*128 */ { 6, s_0_128, 127, -1, 0},
367 /*129 */ { 4, s_0_129, 123, -1, 0},
368 /*130 */ { 5, s_0_130, 129, -1, 0},
369 /*131 */ { 4, s_0_131, 123, -1, 0},
370 /*132 */ { 5, s_0_132, 123, -1, 0},
371 /*133 */ { 4, s_0_133, 123, -1, 0},
372 /*134 */ { 4, s_0_134, 123, -1, 0},
373 /*135 */ { 4, s_0_135, 123, -1, 0},
374 /*136 */ { 3, s_0_136, 118, -1, 0},
375 /*137 */ { 4, s_0_137, 136, -1, 0},
376 /*138 */ { 4, s_0_138, 118, -1, 0},
377 /*139 */ { 3, s_0_139, 118, -1, 0},
378 /*140 */ { 5, s_0_140, 139, -1, 0},
379 /*141 */ { 5, s_0_141, 139, -1, 0},
380 /*142 */ { 3, s_0_142, 118, -1, 0},
381 /*143 */ { 4, s_0_143, 142, -1, 0},
382 /*144 */ { 3, s_0_144, 118, -1, 0},
383 /*145 */ { 4, s_0_145, 118, -1, 0},
384 /*146 */ { 3, s_0_146, 118, -1, 0},
385 /*147 */ { 2, s_0_147, 118, -1, 0},
386 /*148 */ { 3, s_0_148, 147, -1, 0},
387 /*149 */ { 3, s_0_149, 147, -1, 0},
388 /*150 */ { 4, s_0_150, 149, -1, 0},
389 /*151 */ { 3, s_0_151, 118, -1, 0},
390 /*152 */ { 2, s_0_152, 118, -1, 0},
391 /*153 */ { 3, s_0_153, 152, -1, 0},
392 /*154 */ { 4, s_0_154, 153, -1, 0},
393 /*155 */ { 3, s_0_155, 152, -1, 0},
394 /*156 */ { 2, s_0_156, 118, -1, 0},
395 /*157 */ { 4, s_0_157, 156, -1, 0},
396 /*158 */ { 4, s_0_158, 156, -1, 0},
397 /*159 */ { 3, s_0_159, 118, -1, 0},
398 /*160 */ { 4, s_0_160, 159, -1, 0},
399 /*161 */ { 3, s_0_161, 118, -1, 0},
400 /*162 */ { 5, s_0_162, 161, -1, 0},
401 /*163 */ { 6, s_0_163, 162, -1, 0},
402 /*164 */ { 5, s_0_164, 161, -1, 0},
403 /*165 */ { 6, s_0_165, 164, -1, 0},
404 /*166 */ { 6, s_0_166, 164, -1, 0},
405 /*167 */ { 5, s_0_167, 161, -1, 0},
406 /*168 */ { 6, s_0_168, 161, -1, 0},
407 /*169 */ { 9, s_0_169, 168, -1, 0},
408 /*170 */ { 5, s_0_170, 161, -1, 0},
409 /*171 */ { 6, s_0_171, 170, -1, 0},
410 /*172 */ { 6, s_0_172, 161, -1, 0},
411 /*173 */ { 5, s_0_173, 161, -1, 0},
412 /*174 */ { 6, s_0_174, 161, -1, 0},
413 /*175 */ { 9, s_0_175, 174, -1, 0},
414 /*176 */ { 3, s_0_176, 118, -1, 0},
415 /*177 */ { 3, s_0_177, 118, -1, 0},
416 /*178 */ { 4, s_0_178, 118, -1, 0},
417 /*179 */ { 2, s_0_179, -1, -1, 0},
418 /*180 */ { 3, s_0_180, 179, -1, 0},
419 /*181 */ { 2, s_0_181, -1, -1, 0},
420 /*182 */ { 3, s_0_182, 181, -1, 0},
421 /*183 */ { 2, s_0_183, -1, -1, 0},
422 /*184 */ { 3, s_0_184, -1, -1, 0},
423 /*185 */ { 6, s_0_185, 184, -1, 0},
424 /*186 */ { 1, s_0_186, -1, -1, 0},
425 /*187 */ { 2, s_0_187, 186, -1, 0},
426 /*188 */ { 3, s_0_188, 187, -1, 0},
427 /*189 */ { 5, s_0_189, 188, -1, 0},
428 /*190 */ { 2, s_0_190, 186, -1, 0},
429 /*191 */ { 4, s_0_191, 190, -1, 0},
430 /*192 */ { 3, s_0_192, 190, -1, 0},
431 /*193 */ { 1, s_0_193, -1, -1, 0},
432 /*194 */ { 2, s_0_194, -1, -1, 0},
433 /*195 */ { 3, s_0_195, 194, -1, 0},
434 /*196 */ { 2, s_0_196, -1, -1, 0},
435 /*197 */ { 2, s_0_197, -1, -1, 0},
436 /*198 */ { 2, s_0_198, -1, -1, 0},
437 /*199 */ { 4, s_0_199, 198, -1, 0},
438 /*200 */ { 4, s_0_200, 198, -1, 0},
439 /*201 */ { 2, s_0_201, -1, -1, 0},
440 /*202 */ { 3, s_0_202, 201, -1, 0},
441 /*203 */ { 4, s_0_203, 201, -1, 0}
442 };
443 
444 static const symbol s_1_0[3] = { 'i', 'n', 'g' };
445 static const symbol s_1_1[2] = { 'a', 'j' };
446 static const symbol s_1_2[3] = { 'i', 'a', 'j' };
447 static const symbol s_1_3[3] = { 'i', 'e', 'j' };
448 static const symbol s_1_4[2] = { 'o', 'j' };
449 static const symbol s_1_5[3] = { 'i', 'o', 'j' };
450 static const symbol s_1_6[3] = { 'u', 'o', 'j' };
451 static const symbol s_1_7[4] = { 'i', 'u', 'o', 'j' };
452 static const symbol s_1_8[3] = { 'a', 'u', 'j' };
453 static const symbol s_1_9[3] = { 0xC4, 0x85, 'j' };
454 static const symbol s_1_10[4] = { 'i', 0xC4, 0x85, 'j' };
455 static const symbol s_1_11[3] = { 0xC4, 0x97, 'j' };
456 static const symbol s_1_12[3] = { 0xC5, 0xB3, 'j' };
457 static const symbol s_1_13[4] = { 'i', 0xC5, 0xB3, 'j' };
458 static const symbol s_1_14[2] = { 'o', 'k' };
459 static const symbol s_1_15[3] = { 'i', 'o', 'k' };
460 static const symbol s_1_16[3] = { 'i', 'u', 'k' };
461 static const symbol s_1_17[5] = { 'u', 'l', 'i', 'u', 'k' };
462 static const symbol s_1_18[6] = { 'u', 0xC4, 0x8D, 'i', 'u', 'k' };
463 static const symbol s_1_19[4] = { 'i', 0xC5, 0xA1, 'k' };
464 static const symbol s_1_20[3] = { 'i', 'u', 'l' };
465 static const symbol s_1_21[2] = { 'y', 'l' };
466 static const symbol s_1_22[3] = { 0xC4, 0x97, 'l' };
467 static const symbol s_1_23[2] = { 'a', 'm' };
468 static const symbol s_1_24[3] = { 'd', 'a', 'm' };
469 static const symbol s_1_25[3] = { 'j', 'a', 'm' };
470 static const symbol s_1_26[4] = { 'z', 'g', 'a', 'n' };
471 static const symbol s_1_27[3] = { 'a', 'i', 'n' };
472 static const symbol s_1_28[3] = { 'e', 's', 'n' };
473 static const symbol s_1_29[2] = { 'o', 'p' };
474 static const symbol s_1_30[3] = { 'i', 'o', 'p' };
475 static const symbol s_1_31[3] = { 'i', 'a', 's' };
476 static const symbol s_1_32[3] = { 'i', 'e', 's' };
477 static const symbol s_1_33[3] = { 'a', 'i', 's' };
478 static const symbol s_1_34[4] = { 'i', 'a', 'i', 's' };
479 static const symbol s_1_35[2] = { 'o', 's' };
480 static const symbol s_1_36[3] = { 'i', 'o', 's' };
481 static const symbol s_1_37[3] = { 'u', 'o', 's' };
482 static const symbol s_1_38[4] = { 'i', 'u', 'o', 's' };
483 static const symbol s_1_39[3] = { 'a', 'u', 's' };
484 static const symbol s_1_40[4] = { 'i', 'a', 'u', 's' };
485 static const symbol s_1_41[3] = { 0xC4, 0x85, 's' };
486 static const symbol s_1_42[4] = { 'i', 0xC4, 0x85, 's' };
487 static const symbol s_1_43[3] = { 0xC4, 0x99, 's' };
488 static const symbol s_1_44[7] = { 'u', 't', 0xC4, 0x97, 'a', 'i', 't' };
489 static const symbol s_1_45[3] = { 'a', 'n', 't' };
490 static const symbol s_1_46[4] = { 'i', 'a', 'n', 't' };
491 static const symbol s_1_47[5] = { 's', 'i', 'a', 'n', 't' };
492 static const symbol s_1_48[3] = { 'i', 'n', 't' };
493 static const symbol s_1_49[2] = { 'o', 't' };
494 static const symbol s_1_50[3] = { 'u', 'o', 't' };
495 static const symbol s_1_51[4] = { 'i', 'u', 'o', 't' };
496 static const symbol s_1_52[2] = { 'y', 't' };
497 static const symbol s_1_53[3] = { 0xC4, 0x97, 't' };
498 static const symbol s_1_54[5] = { 'y', 'k', 0xC5, 0xA1, 't' };
499 static const symbol s_1_55[3] = { 'i', 'a', 'u' };
500 static const symbol s_1_56[3] = { 'd', 'a', 'v' };
501 static const symbol s_1_57[2] = { 's', 'v' };
502 static const symbol s_1_58[3] = { 0xC5, 0xA1, 'v' };
503 static const symbol s_1_59[6] = { 'y', 'k', 0xC5, 0xA1, 0xC4, 0x8D };
504 static const symbol s_1_60[2] = { 0xC4, 0x99 };
505 static const symbol s_1_61[5] = { 0xC4, 0x97, 'j', 0xC4, 0x99 };
506 
507 static const struct among a_1[62] =
508 {
509 /*  0 */ { 3, s_1_0, -1, -1, 0},
510 /*  1 */ { 2, s_1_1, -1, -1, 0},
511 /*  2 */ { 3, s_1_2, 1, -1, 0},
512 /*  3 */ { 3, s_1_3, -1, -1, 0},
513 /*  4 */ { 2, s_1_4, -1, -1, 0},
514 /*  5 */ { 3, s_1_5, 4, -1, 0},
515 /*  6 */ { 3, s_1_6, 4, -1, 0},
516 /*  7 */ { 4, s_1_7, 6, -1, 0},
517 /*  8 */ { 3, s_1_8, -1, -1, 0},
518 /*  9 */ { 3, s_1_9, -1, -1, 0},
519 /* 10 */ { 4, s_1_10, 9, -1, 0},
520 /* 11 */ { 3, s_1_11, -1, -1, 0},
521 /* 12 */ { 3, s_1_12, -1, -1, 0},
522 /* 13 */ { 4, s_1_13, 12, -1, 0},
523 /* 14 */ { 2, s_1_14, -1, -1, 0},
524 /* 15 */ { 3, s_1_15, 14, -1, 0},
525 /* 16 */ { 3, s_1_16, -1, -1, 0},
526 /* 17 */ { 5, s_1_17, 16, -1, 0},
527 /* 18 */ { 6, s_1_18, 16, -1, 0},
528 /* 19 */ { 4, s_1_19, -1, -1, 0},
529 /* 20 */ { 3, s_1_20, -1, -1, 0},
530 /* 21 */ { 2, s_1_21, -1, -1, 0},
531 /* 22 */ { 3, s_1_22, -1, -1, 0},
532 /* 23 */ { 2, s_1_23, -1, -1, 0},
533 /* 24 */ { 3, s_1_24, 23, -1, 0},
534 /* 25 */ { 3, s_1_25, 23, -1, 0},
535 /* 26 */ { 4, s_1_26, -1, -1, 0},
536 /* 27 */ { 3, s_1_27, -1, -1, 0},
537 /* 28 */ { 3, s_1_28, -1, -1, 0},
538 /* 29 */ { 2, s_1_29, -1, -1, 0},
539 /* 30 */ { 3, s_1_30, 29, -1, 0},
540 /* 31 */ { 3, s_1_31, -1, -1, 0},
541 /* 32 */ { 3, s_1_32, -1, -1, 0},
542 /* 33 */ { 3, s_1_33, -1, -1, 0},
543 /* 34 */ { 4, s_1_34, 33, -1, 0},
544 /* 35 */ { 2, s_1_35, -1, -1, 0},
545 /* 36 */ { 3, s_1_36, 35, -1, 0},
546 /* 37 */ { 3, s_1_37, 35, -1, 0},
547 /* 38 */ { 4, s_1_38, 37, -1, 0},
548 /* 39 */ { 3, s_1_39, -1, -1, 0},
549 /* 40 */ { 4, s_1_40, 39, -1, 0},
550 /* 41 */ { 3, s_1_41, -1, -1, 0},
551 /* 42 */ { 4, s_1_42, 41, -1, 0},
552 /* 43 */ { 3, s_1_43, -1, -1, 0},
553 /* 44 */ { 7, s_1_44, -1, -1, 0},
554 /* 45 */ { 3, s_1_45, -1, -1, 0},
555 /* 46 */ { 4, s_1_46, 45, -1, 0},
556 /* 47 */ { 5, s_1_47, 46, -1, 0},
557 /* 48 */ { 3, s_1_48, -1, -1, 0},
558 /* 49 */ { 2, s_1_49, -1, -1, 0},
559 /* 50 */ { 3, s_1_50, 49, -1, 0},
560 /* 51 */ { 4, s_1_51, 50, -1, 0},
561 /* 52 */ { 2, s_1_52, -1, -1, 0},
562 /* 53 */ { 3, s_1_53, -1, -1, 0},
563 /* 54 */ { 5, s_1_54, -1, -1, 0},
564 /* 55 */ { 3, s_1_55, -1, -1, 0},
565 /* 56 */ { 3, s_1_56, -1, -1, 0},
566 /* 57 */ { 2, s_1_57, -1, -1, 0},
567 /* 58 */ { 3, s_1_58, -1, -1, 0},
568 /* 59 */ { 6, s_1_59, -1, -1, 0},
569 /* 60 */ { 2, s_1_60, -1, -1, 0},
570 /* 61 */ { 5, s_1_61, 60, -1, 0}
571 };
572 
573 static const symbol s_2_0[5] = { 'o', 'j', 'i', 'm', 'e' };
574 static const symbol s_2_1[6] = { 0xC4, 0x97, 'j', 'i', 'm', 'e' };
575 static const symbol s_2_2[5] = { 'a', 'v', 'i', 'm', 'e' };
576 static const symbol s_2_3[5] = { 'o', 'k', 'a', 't', 'e' };
577 static const symbol s_2_4[4] = { 'a', 'i', 't', 'e' };
578 static const symbol s_2_5[4] = { 'u', 'o', 't', 'e' };
579 static const symbol s_2_6[5] = { 'a', 's', 'i', 'u', 's' };
580 static const symbol s_2_7[7] = { 'o', 'k', 'a', 't', 0xC4, 0x97, 's' };
581 static const symbol s_2_8[6] = { 'a', 'i', 't', 0xC4, 0x97, 's' };
582 static const symbol s_2_9[6] = { 'u', 'o', 't', 0xC4, 0x97, 's' };
583 static const symbol s_2_10[4] = { 'e', 's', 'i', 'u' };
584 
585 static const struct among a_2[11] =
586 {
587 /*  0 */ { 5, s_2_0, -1, 7, 0},
588 /*  1 */ { 6, s_2_1, -1, 3, 0},
589 /*  2 */ { 5, s_2_2, -1, 6, 0},
590 /*  3 */ { 5, s_2_3, -1, 8, 0},
591 /*  4 */ { 4, s_2_4, -1, 1, 0},
592 /*  5 */ { 4, s_2_5, -1, 2, 0},
593 /*  6 */ { 5, s_2_6, -1, 5, 0},
594 /*  7 */ { 7, s_2_7, -1, 8, 0},
595 /*  8 */ { 6, s_2_8, -1, 1, 0},
596 /*  9 */ { 6, s_2_9, -1, 2, 0},
597 /* 10 */ { 4, s_2_10, -1, 4, 0}
598 };
599 
600 static const symbol s_3_0[2] = { 0xC4, 0x8D };
601 static const symbol s_3_1[3] = { 'd', 0xC5, 0xBE };
602 
603 static const struct among a_3[2] =
604 {
605 /*  0 */ { 2, s_3_0, -1, 1, 0},
606 /*  1 */ { 3, s_3_1, -1, 2, 0}
607 };
608 
609 static const symbol s_4_0[2] = { 'g', 'd' };
610 
611 static const struct among a_4[1] =
612 {
613 /*  0 */ { 2, s_4_0, -1, 1, 0}
614 };
615 
616 static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 64, 1, 0, 64, 0, 0, 0, 0, 0, 0, 0, 4, 4 };
617 
618 static const symbol s_0[] = { 'a', 'i', 't', 0xC4, 0x97 };
619 static const symbol s_1[] = { 'u', 'o', 't', 0xC4, 0x97 };
620 static const symbol s_2[] = { 0xC4, 0x97, 'j', 'i', 'm', 'a', 's' };
621 static const symbol s_3[] = { 'e', 's', 'y', 's' };
622 static const symbol s_4[] = { 'a', 's', 'y', 's' };
623 static const symbol s_5[] = { 'a', 'v', 'i', 'm', 'a', 's' };
624 static const symbol s_6[] = { 'o', 'j', 'i', 'm', 'a', 's' };
625 static const symbol s_7[] = { 'o', 'k', 'a', 't', 0xC4, 0x97 };
626 static const symbol s_8[] = { 't' };
627 static const symbol s_9[] = { 'd' };
628 static const symbol s_10[] = { 'g' };
629 
r_R1(struct SN_env * z)630 static int r_R1(struct SN_env * z) { /* backwardmode */
631     if (!(z->I[0] <= z->c)) return 0; /* $(<integer expression> <= <integer expression>), line 43 */
632     return 1;
633 }
634 
r_step1(struct SN_env * z)635 static int r_step1(struct SN_env * z) { /* backwardmode */
636 
637     {   int mlimit1; /* setlimit, line 45 */
638         if (z->c < z->I[0]) return 0;
639         mlimit1 = z->lb; z->lb = z->I[0];
640         z->ket = z->c; /* [, line 45 */
641         if (!(find_among_b(z, a_0, 204))) { z->lb = mlimit1; return 0; } /* substring, line 45 */
642         z->bra = z->c; /* ], line 45 */
643         z->lb = mlimit1;
644     }
645     {   int ret = r_R1(z); /* call R1, line 45 */
646         if (ret <= 0) return ret;
647     }
648     {   int ret = slice_del(z); /* delete, line 229 */
649         if (ret < 0) return ret;
650     }
651     return 1;
652 }
653 
r_step2(struct SN_env * z)654 static int r_step2(struct SN_env * z) { /* backwardmode */
655     while(1) { /* repeat, line 232 */
656         int m1 = z->l - z->c; (void)m1;
657 
658         {   int mlimit2; /* setlimit, line 233 */
659             if (z->c < z->I[0]) goto lab0;
660             mlimit2 = z->lb; z->lb = z->I[0];
661             z->ket = z->c; /* [, line 233 */
662             if (!(find_among_b(z, a_1, 62))) { z->lb = mlimit2; goto lab0; } /* substring, line 233 */
663             z->bra = z->c; /* ], line 233 */
664             z->lb = mlimit2;
665         }
666         {   int ret = slice_del(z); /* delete, line 303 */
667             if (ret < 0) return ret;
668         }
669         continue;
670     lab0:
671         z->c = z->l - m1;
672         break;
673     }
674     return 1;
675 }
676 
r_fix_conflicts(struct SN_env * z)677 static int r_fix_conflicts(struct SN_env * z) { /* backwardmode */
678     int among_var;
679     z->ket = z->c; /* [, line 307 */
680     if (z->c - 3 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2621472 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 307 */
681     among_var = find_among_b(z, a_2, 11);
682     if (!(among_var)) return 0;
683     z->bra = z->c; /* ], line 307 */
684     switch (among_var) { /* among, line 307 */
685         case 1:
686             {   int ret = slice_from_s(z, 5, s_0); /* <-, line 309 */
687                 if (ret < 0) return ret;
688             }
689             break;
690         case 2:
691             {   int ret = slice_from_s(z, 5, s_1); /* <-, line 314 */
692                 if (ret < 0) return ret;
693             }
694             break;
695         case 3:
696             {   int ret = slice_from_s(z, 7, s_2); /* <-, line 319 */
697                 if (ret < 0) return ret;
698             }
699             break;
700         case 4:
701             {   int ret = slice_from_s(z, 4, s_3); /* <-, line 322 */
702                 if (ret < 0) return ret;
703             }
704             break;
705         case 5:
706             {   int ret = slice_from_s(z, 4, s_4); /* <-, line 324 */
707                 if (ret < 0) return ret;
708             }
709             break;
710         case 6:
711             {   int ret = slice_from_s(z, 6, s_5); /* <-, line 327 */
712                 if (ret < 0) return ret;
713             }
714             break;
715         case 7:
716             {   int ret = slice_from_s(z, 6, s_6); /* <-, line 328 */
717                 if (ret < 0) return ret;
718             }
719             break;
720         case 8:
721             {   int ret = slice_from_s(z, 6, s_7); /* <-, line 331 */
722                 if (ret < 0) return ret;
723             }
724             break;
725     }
726     return 1;
727 }
728 
r_fix_chdz(struct SN_env * z)729 static int r_fix_chdz(struct SN_env * z) { /* backwardmode */
730     int among_var;
731     z->ket = z->c; /* [, line 338 */
732     if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 141 && z->p[z->c - 1] != 190)) return 0; /* substring, line 338 */
733     among_var = find_among_b(z, a_3, 2);
734     if (!(among_var)) return 0;
735     z->bra = z->c; /* ], line 338 */
736     switch (among_var) { /* among, line 338 */
737         case 1:
738             {   int ret = slice_from_s(z, 1, s_8); /* <-, line 339 */
739                 if (ret < 0) return ret;
740             }
741             break;
742         case 2:
743             {   int ret = slice_from_s(z, 1, s_9); /* <-, line 340 */
744                 if (ret < 0) return ret;
745             }
746             break;
747     }
748     return 1;
749 }
750 
r_fix_gd(struct SN_env * z)751 static int r_fix_gd(struct SN_env * z) { /* backwardmode */
752     z->ket = z->c; /* [, line 345 */
753     if (z->c - 1 <= z->lb || z->p[z->c - 1] != 100) return 0; /* substring, line 345 */
754     if (!(find_among_b(z, a_4, 1))) return 0;
755     z->bra = z->c; /* ], line 345 */
756     {   int ret = slice_from_s(z, 1, s_10); /* <-, line 346 */
757         if (ret < 0) return ret;
758     }
759     return 1;
760 }
761 
lithuanian_UTF_8_stem(struct SN_env * z)762 extern int lithuanian_UTF_8_stem(struct SN_env * z) { /* forwardmode */
763     z->I[0] = z->l; /* $p1 = <integer expression>, line 355 */
764     {   int c1 = z->c; /* do, line 357 */
765         {   int c2 = z->c; /* try, line 359 */
766             {   int c_test3 = z->c; /* test, line 359 */
767                 if (z->c == z->l || z->p[z->c] != 'a') { z->c = c2; goto lab1; } /* literal, line 359 */
768                 z->c++;
769                 z->c = c_test3;
770             }
771             if (!(len_utf8(z->p) > 6)) { z->c = c2; goto lab1; } /* $(<integer expression> > <integer expression>), line 359 */
772             {   int ret = skip_utf8(z->p, z->c, 0, z->l, + 1); /* hop, line 359 */
773                 if (ret < 0) { z->c = c2; goto lab1; }
774                 z->c = ret;
775             }
776         lab1:
777             ;
778         }
779         {    /* gopast */ /* grouping v, line 361 */
780             int ret = out_grouping_U(z, g_v, 97, 371, 1);
781             if (ret < 0) goto lab0;
782             z->c += ret;
783         }
784         {    /* gopast */ /* non v, line 361 */
785             int ret = in_grouping_U(z, g_v, 97, 371, 1);
786             if (ret < 0) goto lab0;
787             z->c += ret;
788         }
789         z->I[0] = z->c; /* setmark p1, line 361 */
790     lab0:
791         z->c = c1;
792     }
793     z->lb = z->c; z->c = z->l; /* backwards, line 364 */
794 
795     {   int m4 = z->l - z->c; (void)m4; /* do, line 365 */
796         {   int ret = r_fix_conflicts(z); /* call fix_conflicts, line 365 */
797             if (ret == 0) goto lab2;
798             if (ret < 0) return ret;
799         }
800     lab2:
801         z->c = z->l - m4;
802     }
803     {   int m5 = z->l - z->c; (void)m5; /* do, line 366 */
804         {   int ret = r_step1(z); /* call step1, line 366 */
805             if (ret == 0) goto lab3;
806             if (ret < 0) return ret;
807         }
808     lab3:
809         z->c = z->l - m5;
810     }
811     {   int m6 = z->l - z->c; (void)m6; /* do, line 367 */
812         {   int ret = r_fix_chdz(z); /* call fix_chdz, line 367 */
813             if (ret == 0) goto lab4;
814             if (ret < 0) return ret;
815         }
816     lab4:
817         z->c = z->l - m6;
818     }
819     {   int m7 = z->l - z->c; (void)m7; /* do, line 368 */
820         {   int ret = r_step2(z); /* call step2, line 368 */
821             if (ret == 0) goto lab5;
822             if (ret < 0) return ret;
823         }
824     lab5:
825         z->c = z->l - m7;
826     }
827     {   int m8 = z->l - z->c; (void)m8; /* do, line 369 */
828         {   int ret = r_fix_chdz(z); /* call fix_chdz, line 369 */
829             if (ret == 0) goto lab6;
830             if (ret < 0) return ret;
831         }
832     lab6:
833         z->c = z->l - m8;
834     }
835     {   int m9 = z->l - z->c; (void)m9; /* do, line 370 */
836         {   int ret = r_fix_gd(z); /* call fix_gd, line 370 */
837             if (ret == 0) goto lab7;
838             if (ret < 0) return ret;
839         }
840     lab7:
841         z->c = z->l - m9;
842     }
843     z->c = z->lb;
844     return 1;
845 }
846 
lithuanian_UTF_8_create_env(void)847 extern struct SN_env * lithuanian_UTF_8_create_env(void) { return SN_create_env(0, 1, 0); }
848 
lithuanian_UTF_8_close_env(struct SN_env * z)849 extern void lithuanian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
850 
851