LCOV - code coverage report
Current view: top level - src/backend/snowball/libstemmer - stem_ISO_8859_1_irish.c (source / functions) Hit Total Coverage
Test: PostgreSQL 14devel Lines: 0 181 0.0 %
Date: 2020-09-25 18:06:37 Functions: 0 11 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* Generated by Snowball 2.0.0 - https://snowballstem.org/ */
       2             : 
       3             : #include "header.h"
       4             : 
       5             : #ifdef __cplusplus
       6             : extern "C" {
       7             : #endif
       8             : extern int irish_ISO_8859_1_stem(struct SN_env * z);
       9             : #ifdef __cplusplus
      10             : }
      11             : #endif
      12             : static int r_verb_sfx(struct SN_env * z);
      13             : static int r_deriv(struct SN_env * z);
      14             : static int r_noun_sfx(struct SN_env * z);
      15             : static int r_mark_regions(struct SN_env * z);
      16             : static int r_initial_morph(struct SN_env * z);
      17             : static int r_RV(struct SN_env * z);
      18             : static int r_R2(struct SN_env * z);
      19             : static int r_R1(struct SN_env * z);
      20             : #ifdef __cplusplus
      21             : extern "C" {
      22             : #endif
      23             : 
      24             : 
      25             : extern struct SN_env * irish_ISO_8859_1_create_env(void);
      26             : extern void irish_ISO_8859_1_close_env(struct SN_env * z);
      27             : 
      28             : 
      29             : #ifdef __cplusplus
      30             : }
      31             : #endif
      32             : static const symbol s_0_0[2] = { 'b', '\'' };
      33             : static const symbol s_0_1[2] = { 'b', 'h' };
      34             : static const symbol s_0_2[3] = { 'b', 'h', 'f' };
      35             : static const symbol s_0_3[2] = { 'b', 'p' };
      36             : static const symbol s_0_4[2] = { 'c', 'h' };
      37             : static const symbol s_0_5[2] = { 'd', '\'' };
      38             : static const symbol s_0_6[4] = { 'd', '\'', 'f', 'h' };
      39             : static const symbol s_0_7[2] = { 'd', 'h' };
      40             : static const symbol s_0_8[2] = { 'd', 't' };
      41             : static const symbol s_0_9[2] = { 'f', 'h' };
      42             : static const symbol s_0_10[2] = { 'g', 'c' };
      43             : static const symbol s_0_11[2] = { 'g', 'h' };
      44             : static const symbol s_0_12[2] = { 'h', '-' };
      45             : static const symbol s_0_13[2] = { 'm', '\'' };
      46             : static const symbol s_0_14[2] = { 'm', 'b' };
      47             : static const symbol s_0_15[2] = { 'm', 'h' };
      48             : static const symbol s_0_16[2] = { 'n', '-' };
      49             : static const symbol s_0_17[2] = { 'n', 'd' };
      50             : static const symbol s_0_18[2] = { 'n', 'g' };
      51             : static const symbol s_0_19[2] = { 'p', 'h' };
      52             : static const symbol s_0_20[2] = { 's', 'h' };
      53             : static const symbol s_0_21[2] = { 't', '-' };
      54             : static const symbol s_0_22[2] = { 't', 'h' };
      55             : static const symbol s_0_23[2] = { 't', 's' };
      56             : 
      57             : static const struct among a_0[24] =
      58             : {
      59             : /*  0 */ { 2, s_0_0, -1, 1, 0},
      60             : /*  1 */ { 2, s_0_1, -1, 4, 0},
      61             : /*  2 */ { 3, s_0_2, 1, 2, 0},
      62             : /*  3 */ { 2, s_0_3, -1, 8, 0},
      63             : /*  4 */ { 2, s_0_4, -1, 5, 0},
      64             : /*  5 */ { 2, s_0_5, -1, 1, 0},
      65             : /*  6 */ { 4, s_0_6, 5, 2, 0},
      66             : /*  7 */ { 2, s_0_7, -1, 6, 0},
      67             : /*  8 */ { 2, s_0_8, -1, 9, 0},
      68             : /*  9 */ { 2, s_0_9, -1, 2, 0},
      69             : /* 10 */ { 2, s_0_10, -1, 5, 0},
      70             : /* 11 */ { 2, s_0_11, -1, 7, 0},
      71             : /* 12 */ { 2, s_0_12, -1, 1, 0},
      72             : /* 13 */ { 2, s_0_13, -1, 1, 0},
      73             : /* 14 */ { 2, s_0_14, -1, 4, 0},
      74             : /* 15 */ { 2, s_0_15, -1, 10, 0},
      75             : /* 16 */ { 2, s_0_16, -1, 1, 0},
      76             : /* 17 */ { 2, s_0_17, -1, 6, 0},
      77             : /* 18 */ { 2, s_0_18, -1, 7, 0},
      78             : /* 19 */ { 2, s_0_19, -1, 8, 0},
      79             : /* 20 */ { 2, s_0_20, -1, 3, 0},
      80             : /* 21 */ { 2, s_0_21, -1, 1, 0},
      81             : /* 22 */ { 2, s_0_22, -1, 9, 0},
      82             : /* 23 */ { 2, s_0_23, -1, 3, 0}
      83             : };
      84             : 
      85             : static const symbol s_1_0[6] = { 0xED, 'o', 'c', 'h', 't', 'a' };
      86             : static const symbol s_1_1[7] = { 'a', 0xED, 'o', 'c', 'h', 't', 'a' };
      87             : static const symbol s_1_2[3] = { 'i', 'r', 'e' };
      88             : static const symbol s_1_3[4] = { 'a', 'i', 'r', 'e' };
      89             : static const symbol s_1_4[3] = { 'a', 'b', 'h' };
      90             : static const symbol s_1_5[4] = { 'e', 'a', 'b', 'h' };
      91             : static const symbol s_1_6[3] = { 'i', 'b', 'h' };
      92             : static const symbol s_1_7[4] = { 'a', 'i', 'b', 'h' };
      93             : static const symbol s_1_8[3] = { 'a', 'm', 'h' };
      94             : static const symbol s_1_9[4] = { 'e', 'a', 'm', 'h' };
      95             : static const symbol s_1_10[3] = { 'i', 'm', 'h' };
      96             : static const symbol s_1_11[4] = { 'a', 'i', 'm', 'h' };
      97             : static const symbol s_1_12[5] = { 0xED, 'o', 'c', 'h', 't' };
      98             : static const symbol s_1_13[6] = { 'a', 0xED, 'o', 'c', 'h', 't' };
      99             : static const symbol s_1_14[3] = { 'i', 'r', 0xED };
     100             : static const symbol s_1_15[4] = { 'a', 'i', 'r', 0xED };
     101             : 
     102             : static const struct among a_1[16] =
     103             : {
     104             : /*  0 */ { 6, s_1_0, -1, 1, 0},
     105             : /*  1 */ { 7, s_1_1, 0, 1, 0},
     106             : /*  2 */ { 3, s_1_2, -1, 2, 0},
     107             : /*  3 */ { 4, s_1_3, 2, 2, 0},
     108             : /*  4 */ { 3, s_1_4, -1, 1, 0},
     109             : /*  5 */ { 4, s_1_5, 4, 1, 0},
     110             : /*  6 */ { 3, s_1_6, -1, 1, 0},
     111             : /*  7 */ { 4, s_1_7, 6, 1, 0},
     112             : /*  8 */ { 3, s_1_8, -1, 1, 0},
     113             : /*  9 */ { 4, s_1_9, 8, 1, 0},
     114             : /* 10 */ { 3, s_1_10, -1, 1, 0},
     115             : /* 11 */ { 4, s_1_11, 10, 1, 0},
     116             : /* 12 */ { 5, s_1_12, -1, 1, 0},
     117             : /* 13 */ { 6, s_1_13, 12, 1, 0},
     118             : /* 14 */ { 3, s_1_14, -1, 2, 0},
     119             : /* 15 */ { 4, s_1_15, 14, 2, 0}
     120             : };
     121             : 
     122             : static const symbol s_2_0[8] = { 0xF3, 'i', 'd', 'e', 'a', 'c', 'h', 'a' };
     123             : static const symbol s_2_1[7] = { 'p', 'a', 't', 'a', 'c', 'h', 'a' };
     124             : static const symbol s_2_2[5] = { 'a', 'c', 'h', 't', 'a' };
     125             : static const symbol s_2_3[8] = { 'a', 'r', 'c', 'a', 'c', 'h', 't', 'a' };
     126             : static const symbol s_2_4[6] = { 'e', 'a', 'c', 'h', 't', 'a' };
     127             : static const symbol s_2_5[11] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h', 't', 'a' };
     128             : static const symbol s_2_6[5] = { 'p', 'a', 'i', 't', 'e' };
     129             : static const symbol s_2_7[3] = { 'a', 'c', 'h' };
     130             : static const symbol s_2_8[4] = { 'e', 'a', 'c', 'h' };
     131             : static const symbol s_2_9[7] = { 0xF3, 'i', 'd', 'e', 'a', 'c', 'h' };
     132             : static const symbol s_2_10[7] = { 'g', 'i', 'n', 'e', 'a', 'c', 'h' };
     133             : static const symbol s_2_11[6] = { 'p', 'a', 't', 'a', 'c', 'h' };
     134             : static const symbol s_2_12[9] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h' };
     135             : static const symbol s_2_13[7] = { 'p', 'a', 't', 'a', 'i', 'g', 'h' };
     136             : static const symbol s_2_14[6] = { 0xF3, 'i', 'd', 'i', 'g', 'h' };
     137             : static const symbol s_2_15[7] = { 'a', 'c', 'h', 't', 0xFA, 'i', 'l' };
     138             : static const symbol s_2_16[8] = { 'e', 'a', 'c', 'h', 't', 0xFA, 'i', 'l' };
     139             : static const symbol s_2_17[6] = { 'g', 'i', 'n', 'e', 'a', 's' };
     140             : static const symbol s_2_18[5] = { 'g', 'i', 'n', 'i', 's' };
     141             : static const symbol s_2_19[4] = { 'a', 'c', 'h', 't' };
     142             : static const symbol s_2_20[7] = { 'a', 'r', 'c', 'a', 'c', 'h', 't' };
     143             : static const symbol s_2_21[5] = { 'e', 'a', 'c', 'h', 't' };
     144             : static const symbol s_2_22[10] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h', 't' };
     145             : static const symbol s_2_23[9] = { 'a', 'r', 'c', 'a', 'c', 'h', 't', 'a', 0xED };
     146             : static const symbol s_2_24[12] = { 'g', 'r', 'a', 'f', 'a', 0xED, 'o', 'c', 'h', 't', 'a', 0xED };
     147             : 
     148             : static const struct among a_2[25] =
     149             : {
     150             : /*  0 */ { 8, s_2_0, -1, 6, 0},
     151             : /*  1 */ { 7, s_2_1, -1, 5, 0},
     152             : /*  2 */ { 5, s_2_2, -1, 1, 0},
     153             : /*  3 */ { 8, s_2_3, 2, 2, 0},
     154             : /*  4 */ { 6, s_2_4, 2, 1, 0},
     155             : /*  5 */ { 11, s_2_5, -1, 4, 0},
     156             : /*  6 */ { 5, s_2_6, -1, 5, 0},
     157             : /*  7 */ { 3, s_2_7, -1, 1, 0},
     158             : /*  8 */ { 4, s_2_8, 7, 1, 0},
     159             : /*  9 */ { 7, s_2_9, 8, 6, 0},
     160             : /* 10 */ { 7, s_2_10, 8, 3, 0},
     161             : /* 11 */ { 6, s_2_11, 7, 5, 0},
     162             : /* 12 */ { 9, s_2_12, -1, 4, 0},
     163             : /* 13 */ { 7, s_2_13, -1, 5, 0},
     164             : /* 14 */ { 6, s_2_14, -1, 6, 0},
     165             : /* 15 */ { 7, s_2_15, -1, 1, 0},
     166             : /* 16 */ { 8, s_2_16, 15, 1, 0},
     167             : /* 17 */ { 6, s_2_17, -1, 3, 0},
     168             : /* 18 */ { 5, s_2_18, -1, 3, 0},
     169             : /* 19 */ { 4, s_2_19, -1, 1, 0},
     170             : /* 20 */ { 7, s_2_20, 19, 2, 0},
     171             : /* 21 */ { 5, s_2_21, 19, 1, 0},
     172             : /* 22 */ { 10, s_2_22, -1, 4, 0},
     173             : /* 23 */ { 9, s_2_23, -1, 2, 0},
     174             : /* 24 */ { 12, s_2_24, -1, 4, 0}
     175             : };
     176             : 
     177             : static const symbol s_3_0[4] = { 'i', 'm', 'i', 'd' };
     178             : static const symbol s_3_1[5] = { 'a', 'i', 'm', 'i', 'd' };
     179             : static const symbol s_3_2[4] = { 0xED, 'm', 'i', 'd' };
     180             : static const symbol s_3_3[5] = { 'a', 0xED, 'm', 'i', 'd' };
     181             : static const symbol s_3_4[3] = { 'a', 'd', 'h' };
     182             : static const symbol s_3_5[4] = { 'e', 'a', 'd', 'h' };
     183             : static const symbol s_3_6[5] = { 'f', 'a', 'i', 'd', 'h' };
     184             : static const symbol s_3_7[4] = { 'f', 'i', 'd', 'h' };
     185             : static const symbol s_3_8[3] = { 0xE1, 'i', 'l' };
     186             : static const symbol s_3_9[3] = { 'a', 'i', 'n' };
     187             : static const symbol s_3_10[4] = { 't', 'e', 'a', 'r' };
     188             : static const symbol s_3_11[3] = { 't', 'a', 'r' };
     189             : 
     190             : static const struct among a_3[12] =
     191             : {
     192             : /*  0 */ { 4, s_3_0, -1, 1, 0},
     193             : /*  1 */ { 5, s_3_1, 0, 1, 0},
     194             : /*  2 */ { 4, s_3_2, -1, 1, 0},
     195             : /*  3 */ { 5, s_3_3, 2, 1, 0},
     196             : /*  4 */ { 3, s_3_4, -1, 2, 0},
     197             : /*  5 */ { 4, s_3_5, 4, 2, 0},
     198             : /*  6 */ { 5, s_3_6, -1, 1, 0},
     199             : /*  7 */ { 4, s_3_7, -1, 1, 0},
     200             : /*  8 */ { 3, s_3_8, -1, 2, 0},
     201             : /*  9 */ { 3, s_3_9, -1, 2, 0},
     202             : /* 10 */ { 4, s_3_10, -1, 2, 0},
     203             : /* 11 */ { 3, s_3_11, -1, 2, 0}
     204             : };
     205             : 
     206             : static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 4, 2 };
     207             : 
     208             : static const symbol s_0[] = { 'f' };
     209             : static const symbol s_1[] = { 's' };
     210             : static const symbol s_2[] = { 'b' };
     211             : static const symbol s_3[] = { 'c' };
     212             : static const symbol s_4[] = { 'd' };
     213             : static const symbol s_5[] = { 'g' };
     214             : static const symbol s_6[] = { 'p' };
     215             : static const symbol s_7[] = { 't' };
     216             : static const symbol s_8[] = { 'm' };
     217             : static const symbol s_9[] = { 'a', 'r', 'c' };
     218             : static const symbol s_10[] = { 'g', 'i', 'n' };
     219             : static const symbol s_11[] = { 'g', 'r', 'a', 'f' };
     220             : static const symbol s_12[] = { 'p', 'a', 'i', 't', 'e' };
     221             : static const symbol s_13[] = { 0xF3, 'i', 'd' };
     222             : 
     223           0 : static int r_mark_regions(struct SN_env * z) { /* forwardmode */
     224           0 :     z->I[0] = z->l; /* $pV = <integer expression>, line 30 */
     225           0 :     z->I[1] = z->l; /* $p1 = <integer expression>, line 31 */
     226           0 :     z->I[2] = z->l; /* $p2 = <integer expression>, line 32 */
     227           0 :     {   int c1 = z->c; /* do, line 34 */
     228             :         {    /* gopast */ /* grouping v, line 35 */
     229           0 :             int ret = out_grouping(z, g_v, 97, 250, 1);
     230           0 :             if (ret < 0) goto lab0;
     231           0 :             z->c += ret;
     232             :         }
     233           0 :         z->I[0] = z->c; /* setmark pV, line 35 */
     234           0 :     lab0:
     235           0 :         z->c = c1;
     236             :     }
     237           0 :     {   int c2 = z->c; /* do, line 37 */
     238             :         {    /* gopast */ /* grouping v, line 38 */
     239           0 :             int ret = out_grouping(z, g_v, 97, 250, 1);
     240           0 :             if (ret < 0) goto lab1;
     241           0 :             z->c += ret;
     242             :         }
     243             :         {    /* gopast */ /* non v, line 38 */
     244           0 :             int ret = in_grouping(z, g_v, 97, 250, 1);
     245           0 :             if (ret < 0) goto lab1;
     246           0 :             z->c += ret;
     247             :         }
     248           0 :         z->I[1] = z->c; /* setmark p1, line 38 */
     249             :         {    /* gopast */ /* grouping v, line 39 */
     250           0 :             int ret = out_grouping(z, g_v, 97, 250, 1);
     251           0 :             if (ret < 0) goto lab1;
     252           0 :             z->c += ret;
     253             :         }
     254             :         {    /* gopast */ /* non v, line 39 */
     255           0 :             int ret = in_grouping(z, g_v, 97, 250, 1);
     256           0 :             if (ret < 0) goto lab1;
     257           0 :             z->c += ret;
     258             :         }
     259           0 :         z->I[2] = z->c; /* setmark p2, line 39 */
     260           0 :     lab1:
     261           0 :         z->c = c2;
     262             :     }
     263           0 :     return 1;
     264             : }
     265             : 
     266           0 : static int r_initial_morph(struct SN_env * z) { /* forwardmode */
     267             :     int among_var;
     268           0 :     z->bra = z->c; /* [, line 44 */
     269           0 :     among_var = find_among(z, a_0, 24); /* substring, line 44 */
     270           0 :     if (!(among_var)) return 0;
     271           0 :     z->ket = z->c; /* ], line 44 */
     272           0 :     switch (among_var) { /* among, line 44 */
     273           0 :         case 1:
     274           0 :             {   int ret = slice_del(z); /* delete, line 46 */
     275           0 :                 if (ret < 0) return ret;
     276             :             }
     277           0 :             break;
     278           0 :         case 2:
     279           0 :             {   int ret = slice_from_s(z, 1, s_0); /* <-, line 52 */
     280           0 :                 if (ret < 0) return ret;
     281             :             }
     282           0 :             break;
     283           0 :         case 3:
     284           0 :             {   int ret = slice_from_s(z, 1, s_1); /* <-, line 58 */
     285           0 :                 if (ret < 0) return ret;
     286             :             }
     287           0 :             break;
     288           0 :         case 4:
     289           0 :             {   int ret = slice_from_s(z, 1, s_2); /* <-, line 61 */
     290           0 :                 if (ret < 0) return ret;
     291             :             }
     292           0 :             break;
     293           0 :         case 5:
     294           0 :             {   int ret = slice_from_s(z, 1, s_3); /* <-, line 63 */
     295           0 :                 if (ret < 0) return ret;
     296             :             }
     297           0 :             break;
     298           0 :         case 6:
     299           0 :             {   int ret = slice_from_s(z, 1, s_4); /* <-, line 65 */
     300           0 :                 if (ret < 0) return ret;
     301             :             }
     302           0 :             break;
     303           0 :         case 7:
     304           0 :             {   int ret = slice_from_s(z, 1, s_5); /* <-, line 69 */
     305           0 :                 if (ret < 0) return ret;
     306             :             }
     307           0 :             break;
     308           0 :         case 8:
     309           0 :             {   int ret = slice_from_s(z, 1, s_6); /* <-, line 71 */
     310           0 :                 if (ret < 0) return ret;
     311             :             }
     312           0 :             break;
     313           0 :         case 9:
     314           0 :             {   int ret = slice_from_s(z, 1, s_7); /* <-, line 75 */
     315           0 :                 if (ret < 0) return ret;
     316             :             }
     317           0 :             break;
     318           0 :         case 10:
     319           0 :             {   int ret = slice_from_s(z, 1, s_8); /* <-, line 89 */
     320           0 :                 if (ret < 0) return ret;
     321             :             }
     322           0 :             break;
     323             :     }
     324           0 :     return 1;
     325             : }
     326             : 
     327           0 : static int r_RV(struct SN_env * z) { /* backwardmode */
     328           0 :     if (!(z->I[0] <= z->c)) return 0; /* $(<integer expression> <= <integer expression>), line 99 */
     329           0 :     return 1;
     330             : }
     331             : 
     332           0 : static int r_R1(struct SN_env * z) { /* backwardmode */
     333           0 :     if (!(z->I[1] <= z->c)) return 0; /* $(<integer expression> <= <integer expression>), line 100 */
     334           0 :     return 1;
     335             : }
     336             : 
     337           0 : static int r_R2(struct SN_env * z) { /* backwardmode */
     338           0 :     if (!(z->I[2] <= z->c)) return 0; /* $(<integer expression> <= <integer expression>), line 101 */
     339           0 :     return 1;
     340             : }
     341             : 
     342           0 : static int r_noun_sfx(struct SN_env * z) { /* backwardmode */
     343             :     int among_var;
     344           0 :     z->ket = z->c; /* [, line 104 */
     345           0 :     among_var = find_among_b(z, a_1, 16); /* substring, line 104 */
     346           0 :     if (!(among_var)) return 0;
     347           0 :     z->bra = z->c; /* ], line 104 */
     348           0 :     switch (among_var) { /* among, line 104 */
     349           0 :         case 1:
     350           0 :             {   int ret = r_R1(z); /* call R1, line 108 */
     351           0 :                 if (ret <= 0) return ret;
     352             :             }
     353           0 :             {   int ret = slice_del(z); /* delete, line 108 */
     354           0 :                 if (ret < 0) return ret;
     355             :             }
     356           0 :             break;
     357           0 :         case 2:
     358           0 :             {   int ret = r_R2(z); /* call R2, line 110 */
     359           0 :                 if (ret <= 0) return ret;
     360             :             }
     361           0 :             {   int ret = slice_del(z); /* delete, line 110 */
     362           0 :                 if (ret < 0) return ret;
     363             :             }
     364           0 :             break;
     365             :     }
     366           0 :     return 1;
     367             : }
     368             : 
     369           0 : static int r_deriv(struct SN_env * z) { /* backwardmode */
     370             :     int among_var;
     371           0 :     z->ket = z->c; /* [, line 114 */
     372           0 :     among_var = find_among_b(z, a_2, 25); /* substring, line 114 */
     373           0 :     if (!(among_var)) return 0;
     374           0 :     z->bra = z->c; /* ], line 114 */
     375           0 :     switch (among_var) { /* among, line 114 */
     376           0 :         case 1:
     377           0 :             {   int ret = r_R2(z); /* call R2, line 116 */
     378           0 :                 if (ret <= 0) return ret;
     379             :             }
     380           0 :             {   int ret = slice_del(z); /* delete, line 116 */
     381           0 :                 if (ret < 0) return ret;
     382             :             }
     383           0 :             break;
     384           0 :         case 2:
     385           0 :             {   int ret = slice_from_s(z, 3, s_9); /* <-, line 118 */
     386           0 :                 if (ret < 0) return ret;
     387             :             }
     388           0 :             break;
     389           0 :         case 3:
     390           0 :             {   int ret = slice_from_s(z, 3, s_10); /* <-, line 120 */
     391           0 :                 if (ret < 0) return ret;
     392             :             }
     393           0 :             break;
     394           0 :         case 4:
     395           0 :             {   int ret = slice_from_s(z, 4, s_11); /* <-, line 122 */
     396           0 :                 if (ret < 0) return ret;
     397             :             }
     398           0 :             break;
     399           0 :         case 5:
     400           0 :             {   int ret = slice_from_s(z, 5, s_12); /* <-, line 124 */
     401           0 :                 if (ret < 0) return ret;
     402             :             }
     403           0 :             break;
     404           0 :         case 6:
     405           0 :             {   int ret = slice_from_s(z, 3, s_13); /* <-, line 126 */
     406           0 :                 if (ret < 0) return ret;
     407             :             }
     408           0 :             break;
     409             :     }
     410           0 :     return 1;
     411             : }
     412             : 
     413           0 : static int r_verb_sfx(struct SN_env * z) { /* backwardmode */
     414             :     int among_var;
     415           0 :     z->ket = z->c; /* [, line 130 */
     416           0 :     if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((282896 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* substring, line 130 */
     417           0 :     among_var = find_among_b(z, a_3, 12);
     418           0 :     if (!(among_var)) return 0;
     419           0 :     z->bra = z->c; /* ], line 130 */
     420           0 :     switch (among_var) { /* among, line 130 */
     421           0 :         case 1:
     422           0 :             {   int ret = r_RV(z); /* call RV, line 133 */
     423           0 :                 if (ret <= 0) return ret;
     424             :             }
     425           0 :             {   int ret = slice_del(z); /* delete, line 133 */
     426           0 :                 if (ret < 0) return ret;
     427             :             }
     428           0 :             break;
     429           0 :         case 2:
     430           0 :             {   int ret = r_R1(z); /* call R1, line 138 */
     431           0 :                 if (ret <= 0) return ret;
     432             :             }
     433           0 :             {   int ret = slice_del(z); /* delete, line 138 */
     434           0 :                 if (ret < 0) return ret;
     435             :             }
     436           0 :             break;
     437             :     }
     438           0 :     return 1;
     439             : }
     440             : 
     441           0 : extern int irish_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */
     442           0 :     {   int c1 = z->c; /* do, line 144 */
     443           0 :         {   int ret = r_initial_morph(z); /* call initial_morph, line 144 */
     444           0 :             if (ret < 0) return ret;
     445             :         }
     446           0 :         z->c = c1;
     447             :     }
     448             :     /* do, line 145 */
     449           0 :     {   int ret = r_mark_regions(z); /* call mark_regions, line 145 */
     450           0 :         if (ret < 0) return ret;
     451             :     }
     452           0 :     z->lb = z->c; z->c = z->l; /* backwards, line 146 */
     453             : 
     454           0 :     {   int m2 = z->l - z->c; (void)m2; /* do, line 147 */
     455           0 :         {   int ret = r_noun_sfx(z); /* call noun_sfx, line 147 */
     456           0 :             if (ret < 0) return ret;
     457             :         }
     458           0 :         z->c = z->l - m2;
     459             :     }
     460           0 :     {   int m3 = z->l - z->c; (void)m3; /* do, line 148 */
     461           0 :         {   int ret = r_deriv(z); /* call deriv, line 148 */
     462           0 :             if (ret < 0) return ret;
     463             :         }
     464           0 :         z->c = z->l - m3;
     465             :     }
     466           0 :     {   int m4 = z->l - z->c; (void)m4; /* do, line 149 */
     467           0 :         {   int ret = r_verb_sfx(z); /* call verb_sfx, line 149 */
     468           0 :             if (ret < 0) return ret;
     469             :         }
     470           0 :         z->c = z->l - m4;
     471             :     }
     472           0 :     z->c = z->lb;
     473           0 :     return 1;
     474             : }
     475             : 
     476           0 : extern struct SN_env * irish_ISO_8859_1_create_env(void) { return SN_create_env(0, 3, 0); }
     477             : 
     478           0 : extern void irish_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); }
     479             : 

Generated by: LCOV version 1.13