LCOV - code coverage report
Current view: top level - src/backend/snowball/libstemmer - stem_ISO_8859_1_dutch.c (source / functions) Hit Total Coverage
Test: PostgreSQL 14devel Lines: 0 344 0.0 %
Date: 2020-09-25 17:06:10 Functions: 0 12 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 dutch_ISO_8859_1_stem(struct SN_env * z);
       9             : #ifdef __cplusplus
      10             : }
      11             : #endif
      12             : static int r_standard_suffix(struct SN_env * z);
      13             : static int r_undouble(struct SN_env * z);
      14             : static int r_R2(struct SN_env * z);
      15             : static int r_R1(struct SN_env * z);
      16             : static int r_mark_regions(struct SN_env * z);
      17             : static int r_en_ending(struct SN_env * z);
      18             : static int r_e_ending(struct SN_env * z);
      19             : static int r_postlude(struct SN_env * z);
      20             : static int r_prelude(struct SN_env * z);
      21             : #ifdef __cplusplus
      22             : extern "C" {
      23             : #endif
      24             : 
      25             : 
      26             : extern struct SN_env * dutch_ISO_8859_1_create_env(void);
      27             : extern void dutch_ISO_8859_1_close_env(struct SN_env * z);
      28             : 
      29             : 
      30             : #ifdef __cplusplus
      31             : }
      32             : #endif
      33             : static const symbol s_0_1[1] = { 0xE1 };
      34             : static const symbol s_0_2[1] = { 0xE4 };
      35             : static const symbol s_0_3[1] = { 0xE9 };
      36             : static const symbol s_0_4[1] = { 0xEB };
      37             : static const symbol s_0_5[1] = { 0xED };
      38             : static const symbol s_0_6[1] = { 0xEF };
      39             : static const symbol s_0_7[1] = { 0xF3 };
      40             : static const symbol s_0_8[1] = { 0xF6 };
      41             : static const symbol s_0_9[1] = { 0xFA };
      42             : static const symbol s_0_10[1] = { 0xFC };
      43             : 
      44             : static const struct among a_0[11] =
      45             : {
      46             : /*  0 */ { 0, 0, -1, 6, 0},
      47             : /*  1 */ { 1, s_0_1, 0, 1, 0},
      48             : /*  2 */ { 1, s_0_2, 0, 1, 0},
      49             : /*  3 */ { 1, s_0_3, 0, 2, 0},
      50             : /*  4 */ { 1, s_0_4, 0, 2, 0},
      51             : /*  5 */ { 1, s_0_5, 0, 3, 0},
      52             : /*  6 */ { 1, s_0_6, 0, 3, 0},
      53             : /*  7 */ { 1, s_0_7, 0, 4, 0},
      54             : /*  8 */ { 1, s_0_8, 0, 4, 0},
      55             : /*  9 */ { 1, s_0_9, 0, 5, 0},
      56             : /* 10 */ { 1, s_0_10, 0, 5, 0}
      57             : };
      58             : 
      59             : static const symbol s_1_1[1] = { 'I' };
      60             : static const symbol s_1_2[1] = { 'Y' };
      61             : 
      62             : static const struct among a_1[3] =
      63             : {
      64             : /*  0 */ { 0, 0, -1, 3, 0},
      65             : /*  1 */ { 1, s_1_1, 0, 2, 0},
      66             : /*  2 */ { 1, s_1_2, 0, 1, 0}
      67             : };
      68             : 
      69             : static const symbol s_2_0[2] = { 'd', 'd' };
      70             : static const symbol s_2_1[2] = { 'k', 'k' };
      71             : static const symbol s_2_2[2] = { 't', 't' };
      72             : 
      73             : static const struct among a_2[3] =
      74             : {
      75             : /*  0 */ { 2, s_2_0, -1, -1, 0},
      76             : /*  1 */ { 2, s_2_1, -1, -1, 0},
      77             : /*  2 */ { 2, s_2_2, -1, -1, 0}
      78             : };
      79             : 
      80             : static const symbol s_3_0[3] = { 'e', 'n', 'e' };
      81             : static const symbol s_3_1[2] = { 's', 'e' };
      82             : static const symbol s_3_2[2] = { 'e', 'n' };
      83             : static const symbol s_3_3[5] = { 'h', 'e', 'd', 'e', 'n' };
      84             : static const symbol s_3_4[1] = { 's' };
      85             : 
      86             : static const struct among a_3[5] =
      87             : {
      88             : /*  0 */ { 3, s_3_0, -1, 2, 0},
      89             : /*  1 */ { 2, s_3_1, -1, 3, 0},
      90             : /*  2 */ { 2, s_3_2, -1, 2, 0},
      91             : /*  3 */ { 5, s_3_3, 2, 1, 0},
      92             : /*  4 */ { 1, s_3_4, -1, 3, 0}
      93             : };
      94             : 
      95             : static const symbol s_4_0[3] = { 'e', 'n', 'd' };
      96             : static const symbol s_4_1[2] = { 'i', 'g' };
      97             : static const symbol s_4_2[3] = { 'i', 'n', 'g' };
      98             : static const symbol s_4_3[4] = { 'l', 'i', 'j', 'k' };
      99             : static const symbol s_4_4[4] = { 'b', 'a', 'a', 'r' };
     100             : static const symbol s_4_5[3] = { 'b', 'a', 'r' };
     101             : 
     102             : static const struct among a_4[6] =
     103             : {
     104             : /*  0 */ { 3, s_4_0, -1, 1, 0},
     105             : /*  1 */ { 2, s_4_1, -1, 2, 0},
     106             : /*  2 */ { 3, s_4_2, -1, 1, 0},
     107             : /*  3 */ { 4, s_4_3, -1, 3, 0},
     108             : /*  4 */ { 4, s_4_4, -1, 4, 0},
     109             : /*  5 */ { 3, s_4_5, -1, 5, 0}
     110             : };
     111             : 
     112             : static const symbol s_5_0[2] = { 'a', 'a' };
     113             : static const symbol s_5_1[2] = { 'e', 'e' };
     114             : static const symbol s_5_2[2] = { 'o', 'o' };
     115             : static const symbol s_5_3[2] = { 'u', 'u' };
     116             : 
     117             : static const struct among a_5[4] =
     118             : {
     119             : /*  0 */ { 2, s_5_0, -1, -1, 0},
     120             : /*  1 */ { 2, s_5_1, -1, -1, 0},
     121             : /*  2 */ { 2, s_5_2, -1, -1, 0},
     122             : /*  3 */ { 2, s_5_3, -1, -1, 0}
     123             : };
     124             : 
     125             : static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
     126             : 
     127             : static const unsigned char g_v_I[] = { 1, 0, 0, 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
     128             : 
     129             : static const unsigned char g_v_j[] = { 17, 67, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
     130             : 
     131             : static const symbol s_0[] = { 'a' };
     132             : static const symbol s_1[] = { 'e' };
     133             : static const symbol s_2[] = { 'i' };
     134             : static const symbol s_3[] = { 'o' };
     135             : static const symbol s_4[] = { 'u' };
     136             : static const symbol s_5[] = { 'Y' };
     137             : static const symbol s_6[] = { 'I' };
     138             : static const symbol s_7[] = { 'Y' };
     139             : static const symbol s_8[] = { 'y' };
     140             : static const symbol s_9[] = { 'i' };
     141             : static const symbol s_10[] = { 'g', 'e', 'm' };
     142             : static const symbol s_11[] = { 'h', 'e', 'i', 'd' };
     143             : static const symbol s_12[] = { 'h', 'e', 'i', 'd' };
     144             : static const symbol s_13[] = { 'e', 'n' };
     145             : static const symbol s_14[] = { 'i', 'g' };
     146             : 
     147           0 : static int r_prelude(struct SN_env * z) { /* forwardmode */
     148             :     int among_var;
     149           0 :     {   int c_test1 = z->c; /* test, line 42 */
     150             : /* repeat, line 42 */
     151             : 
     152           0 :         while(1) {            int c2 = z->c;
     153           0 :             z->bra = z->c; /* [, line 43 */
     154           0 :             if (z->c >= z->l || z->p[z->c + 0] >> 5 != 7 || !((340306450 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 6; else /* substring, line 43 */
     155           0 :             among_var = find_among(z, a_0, 11);
     156           0 :             if (!(among_var)) goto lab0;
     157           0 :             z->ket = z->c; /* ], line 43 */
     158           0 :             switch (among_var) { /* among, line 43 */
     159           0 :                 case 1:
     160           0 :                     {   int ret = slice_from_s(z, 1, s_0); /* <-, line 45 */
     161           0 :                         if (ret < 0) return ret;
     162             :                     }
     163           0 :                     break;
     164           0 :                 case 2:
     165           0 :                     {   int ret = slice_from_s(z, 1, s_1); /* <-, line 47 */
     166           0 :                         if (ret < 0) return ret;
     167             :                     }
     168           0 :                     break;
     169           0 :                 case 3:
     170           0 :                     {   int ret = slice_from_s(z, 1, s_2); /* <-, line 49 */
     171           0 :                         if (ret < 0) return ret;
     172             :                     }
     173           0 :                     break;
     174           0 :                 case 4:
     175           0 :                     {   int ret = slice_from_s(z, 1, s_3); /* <-, line 51 */
     176           0 :                         if (ret < 0) return ret;
     177             :                     }
     178           0 :                     break;
     179           0 :                 case 5:
     180           0 :                     {   int ret = slice_from_s(z, 1, s_4); /* <-, line 53 */
     181           0 :                         if (ret < 0) return ret;
     182             :                     }
     183           0 :                     break;
     184           0 :                 case 6:
     185           0 :                     if (z->c >= z->l) goto lab0;
     186           0 :                     z->c++; /* next, line 54 */
     187           0 :                     break;
     188             :             }
     189           0 :             continue;
     190           0 :         lab0:
     191           0 :             z->c = c2;
     192           0 :             break;
     193             :         }
     194           0 :         z->c = c_test1;
     195             :     }
     196           0 :     {   int c3 = z->c; /* try, line 57 */
     197           0 :         z->bra = z->c; /* [, line 57 */
     198           0 :         if (z->c == z->l || z->p[z->c] != 'y') { z->c = c3; goto lab1; } /* literal, line 57 */
     199           0 :         z->c++;
     200           0 :         z->ket = z->c; /* ], line 57 */
     201           0 :         {   int ret = slice_from_s(z, 1, s_5); /* <-, line 57 */
     202           0 :             if (ret < 0) return ret;
     203             :         }
     204           0 :     lab1:
     205             :         ;
     206             :     }
     207             : /* repeat, line 58 */
     208             : 
     209           0 :     while(1) {        int c4 = z->c;
     210           0 :         while(1) { /* goto, line 58 */
     211           0 :             int c5 = z->c;
     212           0 :             if (in_grouping(z, g_v, 97, 232, 0)) goto lab3; /* grouping v, line 59 */
     213           0 :             z->bra = z->c; /* [, line 59 */
     214           0 :             {   int c6 = z->c; /* or, line 59 */
     215           0 :                 if (z->c == z->l || z->p[z->c] != 'i') goto lab5; /* literal, line 59 */
     216           0 :                 z->c++;
     217           0 :                 z->ket = z->c; /* ], line 59 */
     218           0 :                 if (in_grouping(z, g_v, 97, 232, 0)) goto lab5; /* grouping v, line 59 */
     219           0 :                 {   int ret = slice_from_s(z, 1, s_6); /* <-, line 59 */
     220           0 :                     if (ret < 0) return ret;
     221             :                 }
     222           0 :                 goto lab4;
     223           0 :             lab5:
     224           0 :                 z->c = c6;
     225           0 :                 if (z->c == z->l || z->p[z->c] != 'y') goto lab3; /* literal, line 60 */
     226           0 :                 z->c++;
     227           0 :                 z->ket = z->c; /* ], line 60 */
     228           0 :                 {   int ret = slice_from_s(z, 1, s_7); /* <-, line 60 */
     229           0 :                     if (ret < 0) return ret;
     230             :                 }
     231             :             }
     232           0 :         lab4:
     233           0 :             z->c = c5;
     234           0 :             break;
     235           0 :         lab3:
     236           0 :             z->c = c5;
     237           0 :             if (z->c >= z->l) goto lab2;
     238           0 :             z->c++; /* goto, line 58 */
     239             :         }
     240           0 :         continue;
     241           0 :     lab2:
     242           0 :         z->c = c4;
     243           0 :         break;
     244             :     }
     245           0 :     return 1;
     246             : }
     247             : 
     248           0 : static int r_mark_regions(struct SN_env * z) { /* forwardmode */
     249           0 :     z->I[0] = z->l; /* $p1 = <integer expression>, line 66 */
     250           0 :     z->I[1] = z->l; /* $p2 = <integer expression>, line 67 */
     251             :     {    /* gopast */ /* grouping v, line 69 */
     252           0 :         int ret = out_grouping(z, g_v, 97, 232, 1);
     253           0 :         if (ret < 0) return 0;
     254           0 :         z->c += ret;
     255             :     }
     256             :     {    /* gopast */ /* non v, line 69 */
     257           0 :         int ret = in_grouping(z, g_v, 97, 232, 1);
     258           0 :         if (ret < 0) return 0;
     259           0 :         z->c += ret;
     260             :     }
     261           0 :     z->I[0] = z->c; /* setmark p1, line 69 */
     262             :     /* try, line 70 */
     263           0 :     if (!(z->I[0] < 3)) goto lab0; /* $(<integer expression> < <integer expression>), line 70 */
     264           0 :     z->I[0] = 3; /* $p1 = <integer expression>, line 70 */
     265           0 : lab0:
     266             :     {    /* gopast */ /* grouping v, line 71 */
     267           0 :         int ret = out_grouping(z, g_v, 97, 232, 1);
     268           0 :         if (ret < 0) return 0;
     269           0 :         z->c += ret;
     270             :     }
     271             :     {    /* gopast */ /* non v, line 71 */
     272           0 :         int ret = in_grouping(z, g_v, 97, 232, 1);
     273           0 :         if (ret < 0) return 0;
     274           0 :         z->c += ret;
     275             :     }
     276           0 :     z->I[1] = z->c; /* setmark p2, line 71 */
     277           0 :     return 1;
     278             : }
     279             : 
     280           0 : static int r_postlude(struct SN_env * z) { /* forwardmode */
     281             :     int among_var;
     282             : /* repeat, line 75 */
     283             : 
     284           0 :     while(1) {        int c1 = z->c;
     285           0 :         z->bra = z->c; /* [, line 77 */
     286           0 :         if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 89)) among_var = 3; else /* substring, line 77 */
     287           0 :         among_var = find_among(z, a_1, 3);
     288           0 :         if (!(among_var)) goto lab0;
     289           0 :         z->ket = z->c; /* ], line 77 */
     290           0 :         switch (among_var) { /* among, line 77 */
     291           0 :             case 1:
     292           0 :                 {   int ret = slice_from_s(z, 1, s_8); /* <-, line 78 */
     293           0 :                     if (ret < 0) return ret;
     294             :                 }
     295           0 :                 break;
     296           0 :             case 2:
     297           0 :                 {   int ret = slice_from_s(z, 1, s_9); /* <-, line 79 */
     298           0 :                     if (ret < 0) return ret;
     299             :                 }
     300           0 :                 break;
     301           0 :             case 3:
     302           0 :                 if (z->c >= z->l) goto lab0;
     303           0 :                 z->c++; /* next, line 80 */
     304           0 :                 break;
     305             :         }
     306           0 :         continue;
     307           0 :     lab0:
     308           0 :         z->c = c1;
     309           0 :         break;
     310             :     }
     311           0 :     return 1;
     312             : }
     313             : 
     314           0 : static int r_R1(struct SN_env * z) { /* backwardmode */
     315           0 :     if (!(z->I[0] <= z->c)) return 0; /* $(<integer expression> <= <integer expression>), line 87 */
     316           0 :     return 1;
     317             : }
     318             : 
     319           0 : static int r_R2(struct SN_env * z) { /* backwardmode */
     320           0 :     if (!(z->I[1] <= z->c)) return 0; /* $(<integer expression> <= <integer expression>), line 88 */
     321           0 :     return 1;
     322             : }
     323             : 
     324           0 : static int r_undouble(struct SN_env * z) { /* backwardmode */
     325           0 :     {   int m_test1 = z->l - z->c; /* test, line 91 */
     326           0 :         if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1050640 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; /* among, line 91 */
     327           0 :         if (!(find_among_b(z, a_2, 3))) return 0;
     328           0 :         z->c = z->l - m_test1;
     329             :     }
     330           0 :     z->ket = z->c; /* [, line 91 */
     331           0 :     if (z->c <= z->lb) return 0;
     332           0 :     z->c--; /* next, line 91 */
     333           0 :     z->bra = z->c; /* ], line 91 */
     334           0 :     {   int ret = slice_del(z); /* delete, line 91 */
     335           0 :         if (ret < 0) return ret;
     336             :     }
     337           0 :     return 1;
     338             : }
     339             : 
     340           0 : static int r_e_ending(struct SN_env * z) { /* backwardmode */
     341           0 :     z->B[0] = 0; /* unset e_found, line 95 */
     342           0 :     z->ket = z->c; /* [, line 96 */
     343           0 :     if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0; /* literal, line 96 */
     344           0 :     z->c--;
     345           0 :     z->bra = z->c; /* ], line 96 */
     346           0 :     {   int ret = r_R1(z); /* call R1, line 96 */
     347           0 :         if (ret <= 0) return ret;
     348             :     }
     349           0 :     {   int m_test1 = z->l - z->c; /* test, line 96 */
     350           0 :         if (out_grouping_b(z, g_v, 97, 232, 0)) return 0; /* non v, line 96 */
     351           0 :         z->c = z->l - m_test1;
     352             :     }
     353           0 :     {   int ret = slice_del(z); /* delete, line 96 */
     354           0 :         if (ret < 0) return ret;
     355             :     }
     356           0 :     z->B[0] = 1; /* set e_found, line 97 */
     357           0 :     {   int ret = r_undouble(z); /* call undouble, line 98 */
     358           0 :         if (ret <= 0) return ret;
     359             :     }
     360           0 :     return 1;
     361             : }
     362             : 
     363           0 : static int r_en_ending(struct SN_env * z) { /* backwardmode */
     364           0 :     {   int ret = r_R1(z); /* call R1, line 102 */
     365           0 :         if (ret <= 0) return ret;
     366             :     }
     367           0 :     {   int m1 = z->l - z->c; (void)m1; /* and, line 102 */
     368           0 :         if (out_grouping_b(z, g_v, 97, 232, 0)) return 0; /* non v, line 102 */
     369           0 :         z->c = z->l - m1;
     370           0 :         {   int m2 = z->l - z->c; (void)m2; /* not, line 102 */
     371           0 :             if (!(eq_s_b(z, 3, s_10))) goto lab0; /* literal, line 102 */
     372           0 :             return 0;
     373           0 :         lab0:
     374           0 :             z->c = z->l - m2;
     375             :         }
     376             :     }
     377           0 :     {   int ret = slice_del(z); /* delete, line 102 */
     378           0 :         if (ret < 0) return ret;
     379             :     }
     380           0 :     {   int ret = r_undouble(z); /* call undouble, line 103 */
     381           0 :         if (ret <= 0) return ret;
     382             :     }
     383           0 :     return 1;
     384             : }
     385             : 
     386           0 : static int r_standard_suffix(struct SN_env * z) { /* backwardmode */
     387             :     int among_var;
     388           0 :     {   int m1 = z->l - z->c; (void)m1; /* do, line 107 */
     389           0 :         z->ket = z->c; /* [, line 108 */
     390           0 :         if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((540704 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab0; /* substring, line 108 */
     391           0 :         among_var = find_among_b(z, a_3, 5);
     392           0 :         if (!(among_var)) goto lab0;
     393           0 :         z->bra = z->c; /* ], line 108 */
     394           0 :         switch (among_var) { /* among, line 108 */
     395           0 :             case 1:
     396           0 :                 {   int ret = r_R1(z); /* call R1, line 110 */
     397           0 :                     if (ret == 0) goto lab0;
     398           0 :                     if (ret < 0) return ret;
     399             :                 }
     400           0 :                 {   int ret = slice_from_s(z, 4, s_11); /* <-, line 110 */
     401           0 :                     if (ret < 0) return ret;
     402             :                 }
     403           0 :                 break;
     404           0 :             case 2:
     405           0 :                 {   int ret = r_en_ending(z); /* call en_ending, line 113 */
     406           0 :                     if (ret == 0) goto lab0;
     407           0 :                     if (ret < 0) return ret;
     408             :                 }
     409           0 :                 break;
     410           0 :             case 3:
     411           0 :                 {   int ret = r_R1(z); /* call R1, line 116 */
     412           0 :                     if (ret == 0) goto lab0;
     413           0 :                     if (ret < 0) return ret;
     414             :                 }
     415           0 :                 if (out_grouping_b(z, g_v_j, 97, 232, 0)) goto lab0; /* non v_j, line 116 */
     416           0 :                 {   int ret = slice_del(z); /* delete, line 116 */
     417           0 :                     if (ret < 0) return ret;
     418             :                 }
     419           0 :                 break;
     420             :         }
     421           0 :     lab0:
     422           0 :         z->c = z->l - m1;
     423             :     }
     424           0 :     {   int m2 = z->l - z->c; (void)m2; /* do, line 120 */
     425           0 :         {   int ret = r_e_ending(z); /* call e_ending, line 120 */
     426           0 :             if (ret < 0) return ret;
     427             :         }
     428           0 :         z->c = z->l - m2;
     429             :     }
     430           0 :     {   int m3 = z->l - z->c; (void)m3; /* do, line 122 */
     431           0 :         z->ket = z->c; /* [, line 122 */
     432           0 :         if (!(eq_s_b(z, 4, s_12))) goto lab1; /* literal, line 122 */
     433           0 :         z->bra = z->c; /* ], line 122 */
     434           0 :         {   int ret = r_R2(z); /* call R2, line 122 */
     435           0 :             if (ret == 0) goto lab1;
     436           0 :             if (ret < 0) return ret;
     437             :         }
     438           0 :         {   int m4 = z->l - z->c; (void)m4; /* not, line 122 */
     439           0 :             if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab2; /* literal, line 122 */
     440           0 :             z->c--;
     441           0 :             goto lab1;
     442           0 :         lab2:
     443           0 :             z->c = z->l - m4;
     444             :         }
     445           0 :         {   int ret = slice_del(z); /* delete, line 122 */
     446           0 :             if (ret < 0) return ret;
     447             :         }
     448           0 :         z->ket = z->c; /* [, line 123 */
     449           0 :         if (!(eq_s_b(z, 2, s_13))) goto lab1; /* literal, line 123 */
     450           0 :         z->bra = z->c; /* ], line 123 */
     451           0 :         {   int ret = r_en_ending(z); /* call en_ending, line 123 */
     452           0 :             if (ret == 0) goto lab1;
     453           0 :             if (ret < 0) return ret;
     454             :         }
     455           0 :     lab1:
     456           0 :         z->c = z->l - m3;
     457             :     }
     458           0 :     {   int m5 = z->l - z->c; (void)m5; /* do, line 126 */
     459           0 :         z->ket = z->c; /* [, line 127 */
     460           0 :         if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((264336 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab3; /* substring, line 127 */
     461           0 :         among_var = find_among_b(z, a_4, 6);
     462           0 :         if (!(among_var)) goto lab3;
     463           0 :         z->bra = z->c; /* ], line 127 */
     464           0 :         switch (among_var) { /* among, line 127 */
     465           0 :             case 1:
     466           0 :                 {   int ret = r_R2(z); /* call R2, line 129 */
     467           0 :                     if (ret == 0) goto lab3;
     468           0 :                     if (ret < 0) return ret;
     469             :                 }
     470           0 :                 {   int ret = slice_del(z); /* delete, line 129 */
     471           0 :                     if (ret < 0) return ret;
     472             :                 }
     473           0 :                 {   int m6 = z->l - z->c; (void)m6; /* or, line 130 */
     474           0 :                     z->ket = z->c; /* [, line 130 */
     475           0 :                     if (!(eq_s_b(z, 2, s_14))) goto lab5; /* literal, line 130 */
     476           0 :                     z->bra = z->c; /* ], line 130 */
     477           0 :                     {   int ret = r_R2(z); /* call R2, line 130 */
     478           0 :                         if (ret == 0) goto lab5;
     479           0 :                         if (ret < 0) return ret;
     480             :                     }
     481           0 :                     {   int m7 = z->l - z->c; (void)m7; /* not, line 130 */
     482           0 :                         if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab6; /* literal, line 130 */
     483           0 :                         z->c--;
     484           0 :                         goto lab5;
     485           0 :                     lab6:
     486           0 :                         z->c = z->l - m7;
     487             :                     }
     488           0 :                     {   int ret = slice_del(z); /* delete, line 130 */
     489           0 :                         if (ret < 0) return ret;
     490             :                     }
     491           0 :                     goto lab4;
     492           0 :                 lab5:
     493           0 :                     z->c = z->l - m6;
     494           0 :                     {   int ret = r_undouble(z); /* call undouble, line 130 */
     495           0 :                         if (ret == 0) goto lab3;
     496           0 :                         if (ret < 0) return ret;
     497             :                     }
     498             :                 }
     499           0 :             lab4:
     500           0 :                 break;
     501           0 :             case 2:
     502           0 :                 {   int ret = r_R2(z); /* call R2, line 133 */
     503           0 :                     if (ret == 0) goto lab3;
     504           0 :                     if (ret < 0) return ret;
     505             :                 }
     506           0 :                 {   int m8 = z->l - z->c; (void)m8; /* not, line 133 */
     507           0 :                     if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab7; /* literal, line 133 */
     508           0 :                     z->c--;
     509           0 :                     goto lab3;
     510           0 :                 lab7:
     511           0 :                     z->c = z->l - m8;
     512             :                 }
     513           0 :                 {   int ret = slice_del(z); /* delete, line 133 */
     514           0 :                     if (ret < 0) return ret;
     515             :                 }
     516           0 :                 break;
     517           0 :             case 3:
     518           0 :                 {   int ret = r_R2(z); /* call R2, line 136 */
     519           0 :                     if (ret == 0) goto lab3;
     520           0 :                     if (ret < 0) return ret;
     521             :                 }
     522           0 :                 {   int ret = slice_del(z); /* delete, line 136 */
     523           0 :                     if (ret < 0) return ret;
     524             :                 }
     525           0 :                 {   int ret = r_e_ending(z); /* call e_ending, line 136 */
     526           0 :                     if (ret == 0) goto lab3;
     527           0 :                     if (ret < 0) return ret;
     528             :                 }
     529           0 :                 break;
     530           0 :             case 4:
     531           0 :                 {   int ret = r_R2(z); /* call R2, line 139 */
     532           0 :                     if (ret == 0) goto lab3;
     533           0 :                     if (ret < 0) return ret;
     534             :                 }
     535           0 :                 {   int ret = slice_del(z); /* delete, line 139 */
     536           0 :                     if (ret < 0) return ret;
     537             :                 }
     538           0 :                 break;
     539           0 :             case 5:
     540           0 :                 {   int ret = r_R2(z); /* call R2, line 142 */
     541           0 :                     if (ret == 0) goto lab3;
     542           0 :                     if (ret < 0) return ret;
     543             :                 }
     544           0 :                 if (!(z->B[0])) goto lab3; /* Boolean test e_found, line 142 */
     545           0 :                 {   int ret = slice_del(z); /* delete, line 142 */
     546           0 :                     if (ret < 0) return ret;
     547             :                 }
     548           0 :                 break;
     549             :         }
     550           0 :     lab3:
     551           0 :         z->c = z->l - m5;
     552             :     }
     553           0 :     {   int m9 = z->l - z->c; (void)m9; /* do, line 146 */
     554           0 :         if (out_grouping_b(z, g_v_I, 73, 232, 0)) goto lab8; /* non v_I, line 147 */
     555           0 :         {   int m_test10 = z->l - z->c; /* test, line 148 */
     556           0 :             if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2129954 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab8; /* among, line 149 */
     557           0 :             if (!(find_among_b(z, a_5, 4))) goto lab8;
     558           0 :             if (out_grouping_b(z, g_v, 97, 232, 0)) goto lab8; /* non v, line 150 */
     559           0 :             z->c = z->l - m_test10;
     560             :         }
     561           0 :         z->ket = z->c; /* [, line 152 */
     562           0 :         if (z->c <= z->lb) goto lab8;
     563           0 :         z->c--; /* next, line 152 */
     564           0 :         z->bra = z->c; /* ], line 152 */
     565           0 :         {   int ret = slice_del(z); /* delete, line 152 */
     566           0 :             if (ret < 0) return ret;
     567             :         }
     568           0 :     lab8:
     569           0 :         z->c = z->l - m9;
     570             :     }
     571           0 :     return 1;
     572             : }
     573             : 
     574           0 : extern int dutch_ISO_8859_1_stem(struct SN_env * z) { /* forwardmode */
     575           0 :     {   int c1 = z->c; /* do, line 159 */
     576           0 :         {   int ret = r_prelude(z); /* call prelude, line 159 */
     577           0 :             if (ret < 0) return ret;
     578             :         }
     579           0 :         z->c = c1;
     580             :     }
     581           0 :     {   int c2 = z->c; /* do, line 160 */
     582           0 :         {   int ret = r_mark_regions(z); /* call mark_regions, line 160 */
     583           0 :             if (ret < 0) return ret;
     584             :         }
     585           0 :         z->c = c2;
     586             :     }
     587           0 :     z->lb = z->c; z->c = z->l; /* backwards, line 161 */
     588             : 
     589             :     /* do, line 162 */
     590           0 :     {   int ret = r_standard_suffix(z); /* call standard_suffix, line 162 */
     591           0 :         if (ret < 0) return ret;
     592             :     }
     593           0 :     z->c = z->lb;
     594           0 :     {   int c3 = z->c; /* do, line 163 */
     595           0 :         {   int ret = r_postlude(z); /* call postlude, line 163 */
     596           0 :             if (ret < 0) return ret;
     597             :         }
     598           0 :         z->c = c3;
     599             :     }
     600           0 :     return 1;
     601             : }
     602             : 
     603           0 : extern struct SN_env * dutch_ISO_8859_1_create_env(void) { return SN_create_env(0, 2, 1); }
     604             : 
     605           0 : extern void dutch_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); }
     606             : 

Generated by: LCOV version 1.13