LCOV - code coverage report
Current view: top level - src/backend/snowball/libstemmer - stem_ISO_8859_1_german.c (source / functions) Coverage Total Hit
Test: Code coverage Lines: 0.0 % 355 0
Test Date: 2026-01-26 10:56:24 Functions: 0.0 % 9 0
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 0.0 % 355 0

             Branch data     Line data    Source code
       1                 :             : /* Generated from german.sbl by Snowball 3.0.0 - https://snowballstem.org/ */
       2                 :             : 
       3                 :             : #include "stem_ISO_8859_1_german.h"
       4                 :             : 
       5                 :             : #include <stddef.h>
       6                 :             : 
       7                 :             : #include "snowball_runtime.h"
       8                 :             : 
       9                 :             : struct SN_local {
      10                 :             :     struct SN_env z;
      11                 :             :     int i_p2;
      12                 :             :     int i_p1;
      13                 :             : };
      14                 :             : 
      15                 :             : typedef struct SN_local SN_local;
      16                 :             : 
      17                 :             : #ifdef __cplusplus
      18                 :             : extern "C" {
      19                 :             : #endif
      20                 :             : extern int german_ISO_8859_1_stem(struct SN_env * z);
      21                 :             : #ifdef __cplusplus
      22                 :             : }
      23                 :             : #endif
      24                 :             : 
      25                 :             : static int r_standard_suffix(struct SN_env * z);
      26                 :             : static int r_R2(struct SN_env * z);
      27                 :             : static int r_R1(struct SN_env * z);
      28                 :             : static int r_mark_regions(struct SN_env * z);
      29                 :             : static int r_postlude(struct SN_env * z);
      30                 :             : static int r_prelude(struct SN_env * z);
      31                 :             : 
      32                 :             : static const symbol s_0[] = { 'U' };
      33                 :             : static const symbol s_1[] = { 'Y' };
      34                 :             : static const symbol s_2[] = { 's', 's' };
      35                 :             : static const symbol s_3[] = { 0xE4 };
      36                 :             : static const symbol s_4[] = { 0xF6 };
      37                 :             : static const symbol s_5[] = { 0xFC };
      38                 :             : static const symbol s_6[] = { 'y' };
      39                 :             : static const symbol s_7[] = { 'u' };
      40                 :             : static const symbol s_8[] = { 'a' };
      41                 :             : static const symbol s_9[] = { 'o' };
      42                 :             : static const symbol s_10[] = { 's', 'y', 's', 't' };
      43                 :             : static const symbol s_11[] = { 'n', 'i', 's' };
      44                 :             : static const symbol s_12[] = { 'l' };
      45                 :             : static const symbol s_13[] = { 'i', 'g' };
      46                 :             : static const symbol s_14[] = { 'e', 'r' };
      47                 :             : static const symbol s_15[] = { 'e', 'n' };
      48                 :             : 
      49                 :             : static const symbol s_0_1[2] = { 'a', 'e' };
      50                 :             : static const symbol s_0_2[2] = { 'o', 'e' };
      51                 :             : static const symbol s_0_3[2] = { 'q', 'u' };
      52                 :             : static const symbol s_0_4[2] = { 'u', 'e' };
      53                 :             : static const symbol s_0_5[1] = { 0xDF };
      54                 :             : static const struct among a_0[6] = {
      55                 :             : { 0, 0, 0, 5, 0},
      56                 :             : { 2, s_0_1, -1, 2, 0},
      57                 :             : { 2, s_0_2, -2, 3, 0},
      58                 :             : { 2, s_0_3, -3, -1, 0},
      59                 :             : { 2, s_0_4, -4, 4, 0},
      60                 :             : { 1, s_0_5, -5, 1, 0}
      61                 :             : };
      62                 :             : 
      63                 :             : static const symbol s_1_1[1] = { 'U' };
      64                 :             : static const symbol s_1_2[1] = { 'Y' };
      65                 :             : static const symbol s_1_3[1] = { 0xE4 };
      66                 :             : static const symbol s_1_4[1] = { 0xF6 };
      67                 :             : static const symbol s_1_5[1] = { 0xFC };
      68                 :             : static const struct among a_1[6] = {
      69                 :             : { 0, 0, 0, 5, 0},
      70                 :             : { 1, s_1_1, -1, 2, 0},
      71                 :             : { 1, s_1_2, -2, 1, 0},
      72                 :             : { 1, s_1_3, -3, 3, 0},
      73                 :             : { 1, s_1_4, -4, 4, 0},
      74                 :             : { 1, s_1_5, -5, 2, 0}
      75                 :             : };
      76                 :             : 
      77                 :             : static const symbol s_2_0[1] = { 'e' };
      78                 :             : static const symbol s_2_1[2] = { 'e', 'm' };
      79                 :             : static const symbol s_2_2[2] = { 'e', 'n' };
      80                 :             : static const symbol s_2_3[7] = { 'e', 'r', 'i', 'n', 'n', 'e', 'n' };
      81                 :             : static const symbol s_2_4[4] = { 'e', 'r', 'i', 'n' };
      82                 :             : static const symbol s_2_5[2] = { 'l', 'n' };
      83                 :             : static const symbol s_2_6[3] = { 'e', 'r', 'n' };
      84                 :             : static const symbol s_2_7[2] = { 'e', 'r' };
      85                 :             : static const symbol s_2_8[1] = { 's' };
      86                 :             : static const symbol s_2_9[2] = { 'e', 's' };
      87                 :             : static const symbol s_2_10[3] = { 'l', 'n', 's' };
      88                 :             : static const struct among a_2[11] = {
      89                 :             : { 1, s_2_0, 0, 3, 0},
      90                 :             : { 2, s_2_1, 0, 1, 0},
      91                 :             : { 2, s_2_2, 0, 3, 0},
      92                 :             : { 7, s_2_3, -1, 2, 0},
      93                 :             : { 4, s_2_4, 0, 2, 0},
      94                 :             : { 2, s_2_5, 0, 5, 0},
      95                 :             : { 3, s_2_6, 0, 2, 0},
      96                 :             : { 2, s_2_7, 0, 2, 0},
      97                 :             : { 1, s_2_8, 0, 4, 0},
      98                 :             : { 2, s_2_9, -1, 3, 0},
      99                 :             : { 3, s_2_10, -2, 5, 0}
     100                 :             : };
     101                 :             : 
     102                 :             : static const symbol s_3_0[4] = { 't', 'i', 'c', 'k' };
     103                 :             : static const symbol s_3_1[4] = { 'p', 'l', 'a', 'n' };
     104                 :             : static const symbol s_3_2[6] = { 'g', 'e', 'o', 'r', 'd', 'n' };
     105                 :             : static const symbol s_3_3[6] = { 'i', 'n', 't', 'e', 'r', 'n' };
     106                 :             : static const symbol s_3_4[2] = { 't', 'r' };
     107                 :             : static const struct among a_3[5] = {
     108                 :             : { 4, s_3_0, 0, -1, 0},
     109                 :             : { 4, s_3_1, 0, -1, 0},
     110                 :             : { 6, s_3_2, 0, -1, 0},
     111                 :             : { 6, s_3_3, 0, -1, 0},
     112                 :             : { 2, s_3_4, 0, -1, 0}
     113                 :             : };
     114                 :             : 
     115                 :             : static const symbol s_4_0[2] = { 'e', 'n' };
     116                 :             : static const symbol s_4_1[2] = { 'e', 'r' };
     117                 :             : static const symbol s_4_2[2] = { 'e', 't' };
     118                 :             : static const symbol s_4_3[2] = { 's', 't' };
     119                 :             : static const symbol s_4_4[3] = { 'e', 's', 't' };
     120                 :             : static const struct among a_4[5] = {
     121                 :             : { 2, s_4_0, 0, 1, 0},
     122                 :             : { 2, s_4_1, 0, 1, 0},
     123                 :             : { 2, s_4_2, 0, 3, 0},
     124                 :             : { 2, s_4_3, 0, 2, 0},
     125                 :             : { 3, s_4_4, -1, 1, 0}
     126                 :             : };
     127                 :             : 
     128                 :             : static const symbol s_5_0[2] = { 'i', 'g' };
     129                 :             : static const symbol s_5_1[4] = { 'l', 'i', 'c', 'h' };
     130                 :             : static const struct among a_5[2] = {
     131                 :             : { 2, s_5_0, 0, 1, 0},
     132                 :             : { 4, s_5_1, 0, 1, 0}
     133                 :             : };
     134                 :             : 
     135                 :             : static const symbol s_6_0[3] = { 'e', 'n', 'd' };
     136                 :             : static const symbol s_6_1[2] = { 'i', 'g' };
     137                 :             : static const symbol s_6_2[3] = { 'u', 'n', 'g' };
     138                 :             : static const symbol s_6_3[4] = { 'l', 'i', 'c', 'h' };
     139                 :             : static const symbol s_6_4[4] = { 'i', 's', 'c', 'h' };
     140                 :             : static const symbol s_6_5[2] = { 'i', 'k' };
     141                 :             : static const symbol s_6_6[4] = { 'h', 'e', 'i', 't' };
     142                 :             : static const symbol s_6_7[4] = { 'k', 'e', 'i', 't' };
     143                 :             : static const struct among a_6[8] = {
     144                 :             : { 3, s_6_0, 0, 1, 0},
     145                 :             : { 2, s_6_1, 0, 2, 0},
     146                 :             : { 3, s_6_2, 0, 1, 0},
     147                 :             : { 4, s_6_3, 0, 3, 0},
     148                 :             : { 4, s_6_4, 0, 2, 0},
     149                 :             : { 2, s_6_5, 0, 2, 0},
     150                 :             : { 4, s_6_6, 0, 3, 0},
     151                 :             : { 4, s_6_7, 0, 4, 0}
     152                 :             : };
     153                 :             : 
     154                 :             : static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32, 8 };
     155                 :             : 
     156                 :             : static const unsigned char g_et_ending[] = { 1, 128, 198, 227, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
     157                 :             : 
     158                 :             : static const unsigned char g_s_ending[] = { 117, 30, 5 };
     159                 :             : 
     160                 :             : static const unsigned char g_st_ending[] = { 117, 30, 4 };
     161                 :             : 
     162                 :           0 : static int r_prelude(struct SN_env * z) {
     163                 :           0 :     int among_var;
     164                 :             :     {
     165                 :           0 :         int v_1 = z->c;
     166                 :           0 :         while (1) {
     167                 :           0 :             int v_2 = z->c;
     168                 :           0 :             while (1) {
     169                 :           0 :                 int v_3 = z->c;
     170         [ #  # ]:           0 :                 if (in_grouping(z, g_v, 97, 252, 0)) goto lab1;
     171                 :           0 :                 z->bra = z->c;
     172                 :           0 :                 do {
     173                 :           0 :                     int v_4 = z->c;
     174   [ #  #  #  # ]:           0 :                     if (z->c == z->l || z->p[z->c] != 'u') goto lab2;
     175                 :           0 :                     z->c++;
     176                 :           0 :                     z->ket = z->c;
     177         [ #  # ]:           0 :                     if (in_grouping(z, g_v, 97, 252, 0)) goto lab2;
     178                 :             :                     {
     179                 :           0 :                         int ret = slice_from_s(z, 1, s_0);
     180         [ #  # ]:           0 :                         if (ret < 0) return ret;
     181         [ #  # ]:           0 :                     }
     182                 :           0 :                     break;
     183                 :             :                 lab2:
     184                 :           0 :                     z->c = v_4;
     185   [ #  #  #  # ]:           0 :                     if (z->c == z->l || z->p[z->c] != 'y') goto lab1;
     186                 :           0 :                     z->c++;
     187                 :           0 :                     z->ket = z->c;
     188         [ #  # ]:           0 :                     if (in_grouping(z, g_v, 97, 252, 0)) goto lab1;
     189                 :             :                     {
     190                 :           0 :                         int ret = slice_from_s(z, 1, s_1);
     191         [ #  # ]:           0 :                         if (ret < 0) return ret;
     192         [ #  # ]:           0 :                     }
     193   [ #  #  #  # ]:           0 :                 } while (0);
     194                 :           0 :                 z->c = v_3;
     195                 :           0 :                 break;
     196                 :             :             lab1:
     197                 :           0 :                 z->c = v_3;
     198         [ #  # ]:           0 :                 if (z->c >= z->l) goto lab0;
     199                 :           0 :                 z->c++;
     200   [ #  #  #  # ]:           0 :             }
     201                 :           0 :             continue;
     202                 :             :         lab0:
     203                 :           0 :             z->c = v_2;
     204                 :           0 :             break;
     205      [ #  #  # ]:           0 :         }
     206                 :           0 :         z->c = v_1;
     207         [ #  # ]:           0 :     }
     208                 :           0 :     while (1) {
     209                 :           0 :         int v_5 = z->c;
     210                 :           0 :         z->bra = z->c;
     211                 :           0 :         among_var = find_among(z, a_0, 6, 0);
     212                 :           0 :         z->ket = z->c;
     213   [ #  #  #  #  :           0 :         switch (among_var) {
                   #  # ]
     214                 :             :             case 1:
     215                 :             :                 {
     216                 :           0 :                     int ret = slice_from_s(z, 2, s_2);
     217         [ #  # ]:           0 :                     if (ret < 0) return ret;
     218         [ #  # ]:           0 :                 }
     219                 :           0 :                 break;
     220                 :             :             case 2:
     221                 :             :                 {
     222                 :           0 :                     int ret = slice_from_s(z, 1, s_3);
     223         [ #  # ]:           0 :                     if (ret < 0) return ret;
     224         [ #  # ]:           0 :                 }
     225                 :           0 :                 break;
     226                 :             :             case 3:
     227                 :             :                 {
     228                 :           0 :                     int ret = slice_from_s(z, 1, s_4);
     229         [ #  # ]:           0 :                     if (ret < 0) return ret;
     230         [ #  # ]:           0 :                 }
     231                 :           0 :                 break;
     232                 :             :             case 4:
     233                 :             :                 {
     234                 :           0 :                     int ret = slice_from_s(z, 1, s_5);
     235         [ #  # ]:           0 :                     if (ret < 0) return ret;
     236         [ #  # ]:           0 :                 }
     237                 :           0 :                 break;
     238                 :             :             case 5:
     239         [ #  # ]:           0 :                 if (z->c >= z->l) goto lab3;
     240                 :           0 :                 z->c++;
     241                 :           0 :                 break;
     242                 :             :         }
     243                 :           0 :         continue;
     244                 :             :     lab3:
     245                 :           0 :         z->c = v_5;
     246                 :           0 :         break;
     247      [ #  #  # ]:           0 :     }
     248                 :           0 :     return 1;
     249                 :           0 : }
     250                 :             : 
     251                 :           0 : static int r_mark_regions(struct SN_env * z) {
     252                 :           0 :     int i_x;
     253                 :           0 :     ((SN_local *)z)->i_p1 = z->l;
     254                 :           0 :     ((SN_local *)z)->i_p2 = z->l;
     255                 :             :     {
     256                 :           0 :         int v_1 = z->c;
     257         [ #  # ]:           0 :         if (z->c + 3 > z->l) return 0;
     258                 :           0 :         z->c += 3;
     259                 :           0 :         i_x = z->c;
     260                 :           0 :         z->c = v_1;
     261         [ #  # ]:           0 :     }
     262                 :             :     {
     263                 :           0 :         int ret = out_grouping(z, g_v, 97, 252, 1);
     264         [ #  # ]:           0 :         if (ret < 0) return 0;
     265                 :           0 :         z->c += ret;
     266         [ #  # ]:           0 :     }
     267                 :             :     {
     268                 :           0 :         int ret = in_grouping(z, g_v, 97, 252, 1);
     269         [ #  # ]:           0 :         if (ret < 0) return 0;
     270                 :           0 :         z->c += ret;
     271         [ #  # ]:           0 :     }
     272                 :           0 :     ((SN_local *)z)->i_p1 = z->c;
     273         [ #  # ]:           0 :     if (((SN_local *)z)->i_p1 >= i_x) goto lab0;
     274                 :           0 :     ((SN_local *)z)->i_p1 = i_x;
     275                 :             : lab0:
     276                 :             :     {
     277                 :           0 :         int ret = out_grouping(z, g_v, 97, 252, 1);
     278         [ #  # ]:           0 :         if (ret < 0) return 0;
     279                 :           0 :         z->c += ret;
     280         [ #  # ]:           0 :     }
     281                 :             :     {
     282                 :           0 :         int ret = in_grouping(z, g_v, 97, 252, 1);
     283         [ #  # ]:           0 :         if (ret < 0) return 0;
     284                 :           0 :         z->c += ret;
     285         [ #  # ]:           0 :     }
     286                 :           0 :     ((SN_local *)z)->i_p2 = z->c;
     287                 :           0 :     return 1;
     288                 :           0 : }
     289                 :             : 
     290                 :           0 : static int r_postlude(struct SN_env * z) {
     291                 :           0 :     int among_var;
     292                 :           0 :     while (1) {
     293                 :           0 :         int v_1 = z->c;
     294                 :           0 :         z->bra = z->c;
     295                 :           0 :         among_var = find_among(z, a_1, 6, 0);
     296                 :           0 :         z->ket = z->c;
     297   [ #  #  #  #  :           0 :         switch (among_var) {
                   #  # ]
     298                 :             :             case 1:
     299                 :             :                 {
     300                 :           0 :                     int ret = slice_from_s(z, 1, s_6);
     301         [ #  # ]:           0 :                     if (ret < 0) return ret;
     302         [ #  # ]:           0 :                 }
     303                 :           0 :                 break;
     304                 :             :             case 2:
     305                 :             :                 {
     306                 :           0 :                     int ret = slice_from_s(z, 1, s_7);
     307         [ #  # ]:           0 :                     if (ret < 0) return ret;
     308         [ #  # ]:           0 :                 }
     309                 :           0 :                 break;
     310                 :             :             case 3:
     311                 :             :                 {
     312                 :           0 :                     int ret = slice_from_s(z, 1, s_8);
     313         [ #  # ]:           0 :                     if (ret < 0) return ret;
     314         [ #  # ]:           0 :                 }
     315                 :           0 :                 break;
     316                 :             :             case 4:
     317                 :             :                 {
     318                 :           0 :                     int ret = slice_from_s(z, 1, s_9);
     319         [ #  # ]:           0 :                     if (ret < 0) return ret;
     320         [ #  # ]:           0 :                 }
     321                 :           0 :                 break;
     322                 :             :             case 5:
     323         [ #  # ]:           0 :                 if (z->c >= z->l) goto lab0;
     324                 :           0 :                 z->c++;
     325                 :           0 :                 break;
     326                 :             :         }
     327                 :           0 :         continue;
     328                 :             :     lab0:
     329                 :           0 :         z->c = v_1;
     330                 :           0 :         break;
     331      [ #  #  # ]:           0 :     }
     332                 :           0 :     return 1;
     333                 :           0 : }
     334                 :             : 
     335                 :           0 : static int r_R1(struct SN_env * z) {
     336                 :           0 :     return ((SN_local *)z)->i_p1 <= z->c;
     337                 :             : }
     338                 :             : 
     339                 :           0 : static int r_R2(struct SN_env * z) {
     340                 :           0 :     return ((SN_local *)z)->i_p2 <= z->c;
     341                 :             : }
     342                 :             : 
     343                 :           0 : static int r_standard_suffix(struct SN_env * z) {
     344                 :           0 :     int among_var;
     345                 :             :     {
     346                 :           0 :         int v_1 = z->l - z->c;
     347                 :           0 :         z->ket = z->c;
     348   [ #  #  #  #  :           0 :         if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((811040 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab0;
                   #  # ]
     349                 :           0 :         among_var = find_among_b(z, a_2, 11, 0);
     350         [ #  # ]:           0 :         if (!among_var) goto lab0;
     351                 :           0 :         z->bra = z->c;
     352                 :             :         {
     353                 :           0 :             int ret = r_R1(z);
     354         [ #  # ]:           0 :             if (ret == 0) goto lab0;
     355         [ #  # ]:           0 :             if (ret < 0) return ret;
     356      [ #  #  # ]:           0 :         }
     357   [ #  #  #  #  :           0 :         switch (among_var) {
                   #  # ]
     358                 :             :             case 1:
     359                 :             :                 {
     360                 :           0 :                     int v_2 = z->l - z->c;
     361         [ #  # ]:           0 :                     if (!(eq_s_b(z, 4, s_10))) goto lab1;
     362                 :           0 :                     goto lab0;
     363                 :             :                 lab1:
     364                 :           0 :                     z->c = z->l - v_2;
     365         [ #  # ]:           0 :                 }
     366                 :             :                 {
     367                 :           0 :                     int ret = slice_del(z);
     368         [ #  # ]:           0 :                     if (ret < 0) return ret;
     369         [ #  # ]:           0 :                 }
     370                 :           0 :                 break;
     371                 :             :             case 2:
     372                 :             :                 {
     373                 :           0 :                     int ret = slice_del(z);
     374         [ #  # ]:           0 :                     if (ret < 0) return ret;
     375         [ #  # ]:           0 :                 }
     376                 :           0 :                 break;
     377                 :             :             case 3:
     378                 :             :                 {
     379                 :           0 :                     int ret = slice_del(z);
     380         [ #  # ]:           0 :                     if (ret < 0) return ret;
     381         [ #  # ]:           0 :                 }
     382                 :             :                 {
     383                 :           0 :                     int v_3 = z->l - z->c;
     384                 :           0 :                     z->ket = z->c;
     385   [ #  #  #  # ]:           0 :                     if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - v_3; goto lab2; }
     386                 :           0 :                     z->c--;
     387                 :           0 :                     z->bra = z->c;
     388         [ #  # ]:           0 :                     if (!(eq_s_b(z, 3, s_11))) { z->c = z->l - v_3; goto lab2; }
     389                 :             :                     {
     390                 :           0 :                         int ret = slice_del(z);
     391         [ #  # ]:           0 :                         if (ret < 0) return ret;
     392         [ #  # ]:           0 :                     }
     393                 :             :                 lab2:
     394                 :             :                     ;
     395         [ #  # ]:           0 :                 }
     396                 :           0 :                 break;
     397                 :             :             case 4:
     398         [ #  # ]:           0 :                 if (in_grouping_b(z, g_s_ending, 98, 116, 0)) goto lab0;
     399                 :             :                 {
     400                 :           0 :                     int ret = slice_del(z);
     401         [ #  # ]:           0 :                     if (ret < 0) return ret;
     402         [ #  # ]:           0 :                 }
     403                 :           0 :                 break;
     404                 :             :             case 5:
     405                 :             :                 {
     406                 :           0 :                     int ret = slice_from_s(z, 1, s_12);
     407         [ #  # ]:           0 :                     if (ret < 0) return ret;
     408         [ #  # ]:           0 :                 }
     409                 :           0 :                 break;
     410                 :           0 :         }
     411                 :             :     lab0:
     412                 :           0 :         z->c = z->l - v_1;
     413         [ #  # ]:           0 :     }
     414                 :             :     {
     415                 :           0 :         int v_4 = z->l - z->c;
     416                 :           0 :         z->ket = z->c;
     417   [ #  #  #  #  :           0 :         if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1327104 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab3;
                   #  # ]
     418                 :           0 :         among_var = find_among_b(z, a_4, 5, 0);
     419         [ #  # ]:           0 :         if (!among_var) goto lab3;
     420                 :           0 :         z->bra = z->c;
     421                 :             :         {
     422                 :           0 :             int ret = r_R1(z);
     423         [ #  # ]:           0 :             if (ret == 0) goto lab3;
     424         [ #  # ]:           0 :             if (ret < 0) return ret;
     425      [ #  #  # ]:           0 :         }
     426   [ #  #  #  # ]:           0 :         switch (among_var) {
     427                 :             :             case 1:
     428                 :             :                 {
     429                 :           0 :                     int ret = slice_del(z);
     430         [ #  # ]:           0 :                     if (ret < 0) return ret;
     431         [ #  # ]:           0 :                 }
     432                 :           0 :                 break;
     433                 :             :             case 2:
     434         [ #  # ]:           0 :                 if (in_grouping_b(z, g_st_ending, 98, 116, 0)) goto lab3;
     435         [ #  # ]:           0 :                 if (z->c - 3 < z->lb) goto lab3;
     436                 :           0 :                 z->c -= 3;
     437                 :             :                 {
     438                 :           0 :                     int ret = slice_del(z);
     439         [ #  # ]:           0 :                     if (ret < 0) return ret;
     440         [ #  # ]:           0 :                 }
     441                 :           0 :                 break;
     442                 :             :             case 3:
     443                 :             :                 {
     444                 :           0 :                     int v_5 = z->l - z->c;
     445         [ #  # ]:           0 :                     if (in_grouping_b(z, g_et_ending, 85, 228, 0)) goto lab3;
     446                 :           0 :                     z->c = z->l - v_5;
     447         [ #  # ]:           0 :                 }
     448                 :             :                 {
     449                 :           0 :                     int v_6 = z->l - z->c;
     450   [ #  #  #  #  :           0 :                     if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((280576 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab4;
                   #  # ]
     451         [ #  # ]:           0 :                     if (!find_among_b(z, a_3, 5, 0)) goto lab4;
     452                 :           0 :                     goto lab3;
     453                 :             :                 lab4:
     454                 :           0 :                     z->c = z->l - v_6;
     455         [ #  # ]:           0 :                 }
     456                 :             :                 {
     457                 :           0 :                     int ret = slice_del(z);
     458         [ #  # ]:           0 :                     if (ret < 0) return ret;
     459         [ #  # ]:           0 :                 }
     460                 :           0 :                 break;
     461                 :           0 :         }
     462                 :             :     lab3:
     463                 :           0 :         z->c = z->l - v_4;
     464         [ #  # ]:           0 :     }
     465                 :             :     {
     466                 :           0 :         int v_7 = z->l - z->c;
     467                 :           0 :         z->ket = z->c;
     468   [ #  #  #  #  :           0 :         if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1051024 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab5;
                   #  # ]
     469                 :           0 :         among_var = find_among_b(z, a_6, 8, 0);
     470         [ #  # ]:           0 :         if (!among_var) goto lab5;
     471                 :           0 :         z->bra = z->c;
     472                 :             :         {
     473                 :           0 :             int ret = r_R2(z);
     474         [ #  # ]:           0 :             if (ret == 0) goto lab5;
     475         [ #  # ]:           0 :             if (ret < 0) return ret;
     476      [ #  #  # ]:           0 :         }
     477   [ #  #  #  #  :           0 :         switch (among_var) {
                      # ]
     478                 :             :             case 1:
     479                 :             :                 {
     480                 :           0 :                     int ret = slice_del(z);
     481         [ #  # ]:           0 :                     if (ret < 0) return ret;
     482         [ #  # ]:           0 :                 }
     483                 :             :                 {
     484                 :           0 :                     int v_8 = z->l - z->c;
     485                 :           0 :                     z->ket = z->c;
     486         [ #  # ]:           0 :                     if (!(eq_s_b(z, 2, s_13))) { z->c = z->l - v_8; goto lab6; }
     487                 :           0 :                     z->bra = z->c;
     488                 :             :                     {
     489                 :           0 :                         int v_9 = z->l - z->c;
     490   [ #  #  #  # ]:           0 :                         if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab7;
     491                 :           0 :                         z->c--;
     492                 :           0 :                         { z->c = z->l - v_8; goto lab6; }
     493                 :             :                     lab7:
     494                 :           0 :                         z->c = z->l - v_9;
     495      [ #  #  # ]:           0 :                     }
     496                 :             :                     {
     497                 :           0 :                         int ret = r_R2(z);
     498         [ #  # ]:           0 :                         if (ret == 0) { z->c = z->l - v_8; goto lab6; }
     499         [ #  # ]:           0 :                         if (ret < 0) return ret;
     500         [ #  # ]:           0 :                     }
     501                 :             :                     {
     502                 :           0 :                         int ret = slice_del(z);
     503         [ #  # ]:           0 :                         if (ret < 0) return ret;
     504         [ #  # ]:           0 :                     }
     505                 :             :                 lab6:
     506                 :             :                     ;
     507         [ #  # ]:           0 :                 }
     508                 :           0 :                 break;
     509                 :             :             case 2:
     510                 :             :                 {
     511                 :           0 :                     int v_10 = z->l - z->c;
     512   [ #  #  #  # ]:           0 :                     if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab8;
     513                 :           0 :                     z->c--;
     514                 :           0 :                     goto lab5;
     515                 :             :                 lab8:
     516                 :           0 :                     z->c = z->l - v_10;
     517         [ #  # ]:           0 :                 }
     518                 :             :                 {
     519                 :           0 :                     int ret = slice_del(z);
     520         [ #  # ]:           0 :                     if (ret < 0) return ret;
     521         [ #  # ]:           0 :                 }
     522                 :           0 :                 break;
     523                 :             :             case 3:
     524                 :             :                 {
     525                 :           0 :                     int ret = slice_del(z);
     526         [ #  # ]:           0 :                     if (ret < 0) return ret;
     527         [ #  # ]:           0 :                 }
     528                 :             :                 {
     529                 :           0 :                     int v_11 = z->l - z->c;
     530                 :           0 :                     z->ket = z->c;
     531                 :           0 :                     do {
     532                 :           0 :                         int v_12 = z->l - z->c;
     533         [ #  # ]:           0 :                         if (!(eq_s_b(z, 2, s_14))) goto lab10;
     534                 :           0 :                         break;
     535                 :             :                     lab10:
     536                 :           0 :                         z->c = z->l - v_12;
     537         [ #  # ]:           0 :                         if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - v_11; goto lab9; }
     538   [ #  #  #  # ]:           0 :                     } while (0);
     539                 :           0 :                     z->bra = z->c;
     540                 :             :                     {
     541                 :           0 :                         int ret = r_R1(z);
     542         [ #  # ]:           0 :                         if (ret == 0) { z->c = z->l - v_11; goto lab9; }
     543         [ #  # ]:           0 :                         if (ret < 0) return ret;
     544         [ #  # ]:           0 :                     }
     545                 :             :                     {
     546                 :           0 :                         int ret = slice_del(z);
     547         [ #  # ]:           0 :                         if (ret < 0) return ret;
     548         [ #  # ]:           0 :                     }
     549                 :             :                 lab9:
     550                 :             :                     ;
     551         [ #  # ]:           0 :                 }
     552                 :           0 :                 break;
     553                 :             :             case 4:
     554                 :             :                 {
     555                 :           0 :                     int ret = slice_del(z);
     556         [ #  # ]:           0 :                     if (ret < 0) return ret;
     557         [ #  # ]:           0 :                 }
     558                 :             :                 {
     559                 :           0 :                     int v_13 = z->l - z->c;
     560                 :           0 :                     z->ket = z->c;
     561   [ #  #  #  #  :           0 :                     if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 103 && z->p[z->c - 1] != 104)) { z->c = z->l - v_13; goto lab11; }
                   #  # ]
     562         [ #  # ]:           0 :                     if (!find_among_b(z, a_5, 2, 0)) { z->c = z->l - v_13; goto lab11; }
     563                 :           0 :                     z->bra = z->c;
     564                 :             :                     {
     565                 :           0 :                         int ret = r_R2(z);
     566         [ #  # ]:           0 :                         if (ret == 0) { z->c = z->l - v_13; goto lab11; }
     567         [ #  # ]:           0 :                         if (ret < 0) return ret;
     568      [ #  #  # ]:           0 :                     }
     569                 :             :                     {
     570                 :           0 :                         int ret = slice_del(z);
     571         [ #  # ]:           0 :                         if (ret < 0) return ret;
     572         [ #  # ]:           0 :                     }
     573                 :             :                 lab11:
     574                 :             :                     ;
     575         [ #  # ]:           0 :                 }
     576                 :           0 :                 break;
     577                 :           0 :         }
     578                 :             :     lab5:
     579                 :           0 :         z->c = z->l - v_7;
     580         [ #  # ]:           0 :     }
     581                 :           0 :     return 1;
     582                 :           0 : }
     583                 :             : 
     584                 :           0 : extern int german_ISO_8859_1_stem(struct SN_env * z) {
     585                 :             :     {
     586                 :           0 :         int v_1 = z->c;
     587                 :             :         {
     588                 :           0 :             int ret = r_prelude(z);
     589         [ #  # ]:           0 :             if (ret < 0) return ret;
     590         [ #  # ]:           0 :         }
     591                 :           0 :         z->c = v_1;
     592         [ #  # ]:           0 :     }
     593                 :             :     {
     594                 :           0 :         int v_2 = z->c;
     595                 :             :         {
     596                 :           0 :             int ret = r_mark_regions(z);
     597         [ #  # ]:           0 :             if (ret < 0) return ret;
     598         [ #  # ]:           0 :         }
     599                 :           0 :         z->c = v_2;
     600         [ #  # ]:           0 :     }
     601                 :           0 :     z->lb = z->c; z->c = z->l;
     602                 :             :     {
     603                 :           0 :         int ret = r_standard_suffix(z);
     604         [ #  # ]:           0 :         if (ret < 0) return ret;
     605         [ #  # ]:           0 :     }
     606                 :           0 :     z->c = z->lb;
     607                 :             :     {
     608                 :           0 :         int v_3 = z->c;
     609                 :             :         {
     610                 :           0 :             int ret = r_postlude(z);
     611         [ #  # ]:           0 :             if (ret < 0) return ret;
     612         [ #  # ]:           0 :         }
     613                 :           0 :         z->c = v_3;
     614         [ #  # ]:           0 :     }
     615                 :           0 :     return 1;
     616                 :           0 : }
     617                 :             : 
     618                 :           0 : extern struct SN_env * german_ISO_8859_1_create_env(void) {
     619                 :           0 :     struct SN_env * z = SN_new_env(sizeof(SN_local));
     620         [ #  # ]:           0 :     if (z) {
     621                 :           0 :         ((SN_local *)z)->i_p2 = 0;
     622                 :           0 :         ((SN_local *)z)->i_p1 = 0;
     623                 :           0 :     }
     624                 :           0 :     return z;
     625                 :           0 : }
     626                 :             : 
     627                 :           0 : extern void german_ISO_8859_1_close_env(struct SN_env * z) {
     628                 :           0 :     SN_delete_env(z);
     629                 :           0 : }
     630                 :             : 
        

Generated by: LCOV version 2.3.2-1