7#include "snowball_runtime.h"
44static const symbol s_0_6[5] = { 0xD7, 0xDB, 0xC9, 0xD3, 0xD8 };
45static const symbol s_0_7[6] = { 0xC9, 0xD7, 0xDB, 0xC9, 0xD3, 0xD8 };
46static const symbol s_0_8[6] = { 0xD9, 0xD7, 0xDB, 0xC9, 0xD3, 0xD8 };
126{ 3,
s_2_3, -1, 2, 0},
127{ 3,
s_2_4, -2, 2, 0},
129{ 2,
s_2_6, -1, 1, 0},
188{ 2,
s_4_1, -1, 2, 0},
190{ 3,
s_4_3, -1, 2, 0},
191{ 3,
s_4_4, -2, 2, 0},
193{ 3,
s_4_6, -1, 2, 0},
273{ 2,
s_5_1, -1, 1, 0},
274{ 2,
s_5_2, -2, 1, 0},
277{ 2,
s_5_5, -1, 1, 0},
278{ 2,
s_5_6, -2, 1, 0},
281{ 3,
s_5_9, -1, 1, 0},
328static const unsigned char g_v[] = { 35, 130, 34, 18 };
337 if (ret < 0)
goto lab0;
343 if (ret < 0)
goto lab0;
348 if (ret < 0)
goto lab0;
353 if (ret < 0)
goto lab0;
370 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 6 || !((25166336 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
372 if (!among_var)
return 0;
377 int v_1 = z->
l - z->
c;
378 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xC1)
goto lab0;
383 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xD1)
return 0;
388 if (ret < 0)
return ret;
394 if (ret < 0)
return ret;
403 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 6 || !((2271009 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
408 if (ret < 0)
return ret;
417 if (ret <= 0)
return ret;
420 int v_1 = z->
l - z->
c;
422 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 6 || !((671113216 >> (z->
p[z->
c - 1] & 0x1f)) & 1)) { z->
c = z->
l - v_1;
goto lab0; }
424 if (!among_var) { z->
c = z->
l - v_1;
goto lab0; }
429 int v_2 = z->
l - z->
c;
430 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xC1)
goto lab1;
435 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xD1) { z->
c = z->
l - v_1;
goto lab0; }
440 if (ret < 0)
return ret;
446 if (ret < 0)
return ret;
458 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 209 && z->
p[z->
c - 1] != 216))
return 0;
463 if (ret < 0)
return ret;
471 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 6 || !((51443235 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
473 if (!among_var)
return 0;
478 int v_1 = z->
l - z->
c;
479 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xC1)
goto lab0;
484 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xD1)
return 0;
489 if (ret < 0)
return ret;
495 if (ret < 0)
return ret;
504 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 6 || !((60991267 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
509 if (ret < 0)
return ret;
516 if (z->
c - 2 <= z->
lb || (z->
p[z->
c - 1] != 212 && z->
p[z->
c - 1] != 216))
return 0;
521 if (ret <= 0)
return ret;
525 if (ret < 0)
return ret;
533 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 6 || !((151011360 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
535 if (!among_var)
return 0;
541 if (ret < 0)
return ret;
544 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xCE)
return 0;
547 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xCE)
return 0;
551 if (ret < 0)
return ret;
555 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 0xCE)
return 0;
559 if (ret < 0)
return ret;
565 if (ret < 0)
return ret;
580 if (z->
c == z->
l || z->
p[z->
c] != 0xA3)
goto lab2;
587 if (z->
c >= z->
l)
goto lab1;
592 if (ret < 0)
return ret;
603 if (ret < 0)
return ret;
605 z->
lb = z->
c; z->
c = z->
l;
608 if (z->
c < ((
SN_local *)z)->i_pV)
return 0;
611 int v_5 = z->l - z->c;
613 int v_6 = z->l - z->c;
616 if (ret == 0)
goto lab4;
617 if (ret < 0)
return ret;
623 int v_7 = z->l - z->c;
626 if (ret == 0) { z->c = z->l - v_7;
goto lab5; }
627 if (ret < 0)
return ret;
633 int v_8 = z->l - z->c;
636 if (ret == 0)
goto lab6;
637 if (ret < 0)
return ret;
644 if (ret == 0)
goto lab7;
645 if (ret < 0)
return ret;
652 if (ret == 0)
goto lab3;
653 if (ret < 0)
return ret;
661 int v_9 = z->l - z->c;
663 if (z->c <= z->lb || z->p[z->c - 1] != 0xC9) { z->c = z->l - v_9;
goto lab8; }
668 if (ret < 0)
return ret;
674 int v_10 = z->l - z->c;
677 if (ret < 0)
return ret;
682 int v_11 = z->l - z->c;
685 if (ret < 0)
return ret;
void SN_delete_env(struct SN_env *z)
struct SN_env * SN_new_env(int alloc_size)
static const symbol s_4_3[3]
static const symbol s_0_2[4]
static const symbol s_1_5[2]
static const symbol s_1_19[2]
static const symbol s_4_37[2]
static const symbol s_4_22[2]
static const symbol s_1_13[2]
static const struct among a_7[4]
static const symbol s_5_30[2]
static const symbol s_0_4[2]
static int r_adjective(struct SN_env *z)
static const struct among a_3[2]
static const symbol s_2_2[2]
static const symbol s_4_18[1]
static const symbol s_1_24[3]
static const symbol s_4_32[2]
static const symbol s_0_5[2]
static const symbol s_1_11[3]
static const symbol s_1_10[3]
static const symbol s_1_9[2]
static const symbol s_5_35[1]
static const symbol s_5_28[1]
static int r_tidy_up(struct SN_env *z)
static const symbol s_1_6[2]
static const symbol s_1_23[2]
static const symbol s_4_29[2]
static const symbol s_4_15[1]
static const symbol s_5_12[2]
static const symbol s_0_8[6]
static const symbol s_5_18[3]
static const symbol s_1_2[2]
static const symbol s_0_6[5]
static const symbol s_3_1[2]
static const symbol s_7_2[1]
static const symbol s_5_27[1]
static const symbol s_1_18[2]
static const symbol s_5_11[2]
static const symbol s_2_3[3]
static const symbol s_5_9[3]
static const symbol s_4_1[2]
static const symbol s_2_0[2]
static const symbol s_4_9[3]
static const symbol s_5_6[2]
static const symbol s_5_16[1]
static const symbol s_1_3[2]
static int r_adjectival(struct SN_env *z)
static const symbol s_1_0[2]
static const symbol s_7_1[1]
static const symbol s_5_17[2]
static int r_verb(struct SN_env *z)
void russian_KOI8_R_close_env(struct SN_env *z)
static const symbol s_3_0[2]
static const symbol s_2_5[1]
static const symbol s_5_4[1]
static const symbol s_1_15[2]
static const symbol s_4_35[3]
static int r_R2(struct SN_env *z)
static const symbol s_5_24[2]
static const struct among a_5[36]
static const symbol s_5_31[1]
static const symbol s_5_8[2]
static const symbol s_1_7[2]
static const struct among a_6[2]
static const symbol s_4_36[2]
static const symbol s_4_30[3]
static const struct among a_2[8]
static const symbol s_5_33[2]
static const symbol s_1_1[2]
static const symbol s_0_0[3]
static const symbol s_4_21[2]
static const symbol s_5_21[2]
static const symbol s_5_22[2]
static const symbol s_4_4[3]
static const symbol s_5_3[1]
static const symbol s_4_6[3]
static int r_derivational(struct SN_env *z)
static const symbol s_1_21[3]
static const symbol s_2_7[3]
static const symbol s_5_7[2]
int russian_KOI8_R_stem(struct SN_env *z)
static const symbol s_4_24[1]
static const symbol s_4_16[2]
static const symbol s_5_14[3]
static const symbol s_4_17[2]
static const struct among a_1[26]
static const symbol s_4_42[3]
static const symbol s_5_23[3]
static int r_perfective_gerund(struct SN_env *z)
static const symbol s_4_43[3]
static const symbol s_4_40[3]
static const symbol s_1_17[2]
static const symbol s_2_4[3]
static const symbol s_4_12[2]
static const struct among a_0[9]
static const symbol s_4_33[3]
static const symbol s_5_25[2]
static const symbol s_4_26[2]
static const symbol s_4_8[3]
static const symbol s_5_20[2]
static const symbol s_4_2[2]
static const symbol s_4_45[3]
static const symbol s_1_14[2]
static const symbol s_4_0[1]
static const symbol s_4_39[2]
static const symbol s_4_19[2]
static const symbol s_4_23[2]
static const symbol s_0_7[6]
static const symbol s_1_8[2]
static const symbol s_5_2[2]
static const symbol s_5_0[1]
static const symbol s_7_0[4]
static const symbol s_1_4[2]
static const symbol s_4_11[4]
static const symbol s_4_25[2]
static const struct among a_4[46]
static const symbol s_4_44[2]
static const symbol s_4_14[3]
static int r_mark_regions(struct SN_env *z)
static const symbol s_7_3[3]
static const symbol s_0_3[1]
static const symbol s_6_0[3]
static const symbol s_5_29[2]
static const symbol s_5_32[2]
static const symbol s_4_13[3]
static const symbol s_5_1[2]
static const symbol s_4_34[2]
static const symbol s_6_1[4]
static const symbol s_1_16[2]
static const symbol s_5_34[1]
static const symbol s_1_25[3]
static const symbol s_4_41[3]
static const symbol s_5_5[2]
static const symbol s_5_13[3]
static const symbol s_4_27[3]
static const symbol s_2_6[2]
static const symbol s_2_1[2]
static const symbol s_5_26[3]
static const unsigned char g_v[]
static const symbol s_1_22[2]
static const symbol s_1_20[3]
static const symbol s_4_7[3]
static int r_reflexive(struct SN_env *z)
static const symbol s_4_31[3]
static const symbol s_5_19[2]
static int r_noun(struct SN_env *z)
struct SN_env * russian_KOI8_R_create_env(void)
static const symbol s_1_12[2]
static const symbol s_5_10[1]
static const symbol s_4_10[4]
static const symbol s_4_28[3]
static const symbol s_0_1[4]
static const symbol s_4_5[2]
static const symbol s_0[]
static const symbol s_4_20[2]
static const symbol s_5_15[4]
static const symbol s_4_38[2]
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
int in_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
int out_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
SNOWBALL_ERR slice_del(struct SN_env *z)