static int r_Step_5(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 149 */
    among_var = find_among_b(z, a_8, 2); /* substring, line 149 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 149 */
    switch(among_var) {
        case 0: return 0;
        case 1:
            {   int m = z->l - z->c; (void) m; /* or, line 150 */
                {   int ret = r_R2(z);
                    if (ret == 0) goto lab1; /* call R2, line 150 */
                    if (ret < 0) return ret;
                }
                goto lab0;
            lab1:
                z->c = z->l - m;
                {   int ret = r_R1(z);
                    if (ret == 0) return 0; /* call R1, line 150 */
                    if (ret < 0) return ret;
                }
                {   int m = z->l - z->c; (void) m; /* not, line 150 */
                    {   int ret = r_shortv(z);
                        if (ret == 0) goto lab2; /* call shortv, line 150 */
                        if (ret < 0) return ret;
                    }
                    return 0;
                lab2:
                    z->c = z->l - m;
                }
            }
        lab0:
            {   int ret;
                ret = slice_del(z); /* delete, line 150 */
                if (ret < 0) return ret;
            }
            break;
        case 2:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 151 */
                if (ret < 0) return ret;
            }
            if (!(eq_s_b(z, 1, s_36))) return 0;
            {   int ret;
                ret = slice_del(z); /* delete, line 151 */
                if (ret < 0) return ret;
            }
            break;
    }
    return 1;
}
static int r_Step_5a(struct SN_env * z) {
    z->ket = z->c; /* [, line 101 */
    if (!(eq_s_b(z, 1, s_26))) return 0;
    z->bra = z->c; /* ], line 101 */
    {   int m = z->l - z->c; (void) m; /* or, line 102 */
        {   int ret = r_R2(z);
            if (ret == 0) goto lab1; /* call R2, line 102 */
            if (ret < 0) return ret;
        }
        goto lab0;
    lab1:
        z->c = z->l - m;
        {   int ret = r_R1(z);
            if (ret == 0) return 0; /* call R1, line 102 */
            if (ret < 0) return ret;
        }
        {   int m = z->l - z->c; (void) m; /* not, line 102 */
            {   int ret = r_shortv(z);
                if (ret == 0) goto lab2; /* call shortv, line 102 */
                if (ret < 0) return ret;
            }
            return 0;
        lab2:
            z->c = z->l - m;
        }
    }
lab0:
    {   int ret;
        ret = slice_del(z); /* delete, line 103 */
        if (ret < 0) return ret;
    }
    return 1;
}
static int r_Step_4(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 92 */
    among_var = find_among_b(z, a_5, 19); /* substring, line 92 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 92 */
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 92 */
        if (ret < 0) return ret;
    }
    switch(among_var) {
        case 0: return 0;
        case 1:
            {   int ret;
                ret = slice_del(z); /* delete, line 95 */
                if (ret < 0) return ret;
            }
            break;
        case 2:
            {   int m = z->l - z->c; (void) m; /* or, line 96 */
                if (!(eq_s_b(z, 1, s_24))) goto lab1;
                goto lab0;
            lab1:
                z->c = z->l - m;
                if (!(eq_s_b(z, 1, s_25))) return 0;
            }
        lab0:
            {   int ret;
                ret = slice_del(z); /* delete, line 96 */
                if (ret < 0) return ret;
            }
            break;
    }
    return 1;
}
Esempio n. 4
0
static int r_particle_etc(struct SN_env * z) {
    int among_var;
    {   int mlimit; /* setlimit, line 55 */
        int m1 = z->l - z->c; (void)m1;
        if (z->c < z->I[0]) return 0;
        z->c = z->I[0]; /* tomark, line 55 */
        mlimit = z->lb; z->lb = z->c;
        z->c = z->l - m1;
        z->ket = z->c; /* [, line 55 */
        among_var = find_among_b(z, a_0, 10); /* substring, line 55 */
        if (!(among_var)) { z->lb = mlimit; return 0; }
        z->bra = z->c; /* ], line 55 */
        z->lb = mlimit;
    }
    switch(among_var) {
        case 0: return 0;
        case 1:
            if (in_grouping_b_U(z, g_particle_end, 97, 246, 0)) return 0;
            break;
        case 2:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 64 */
                if (ret < 0) return ret;
            }
            break;
    }
    {   int ret = slice_del(z); /* delete, line 66 */
        if (ret < 0) return ret;
    }
    return 1;
}
static int r_particle_etc(struct SN_env * z) { /* backwardmode */
    int among_var;

    {   int mlimit1; /* setlimit, line 56 */
        if (z->c < z->I[0]) return 0;
        mlimit1 = z->lb; z->lb = z->I[0];
        z->ket = z->c; /* [, line 56 */
        among_var = find_among_b(z, a_0, 10); /* substring, line 56 */
        if (!(among_var)) { z->lb = mlimit1; return 0; }
        z->bra = z->c; /* ], line 56 */
        z->lb = mlimit1;
    }
    switch (among_var) { /* among, line 57 */
        case 1:
            if (in_grouping_b_U(z, g_particle_end, 97, 246, 0)) return 0; /* grouping particle_end, line 63 */
            break;
        case 2:
            {   int ret = r_R2(z); /* call R2, line 65 */
                if (ret <= 0) return ret;
            }
            break;
    }
    {   int ret = slice_del(z); /* delete, line 67 */
        if (ret < 0) return ret;
    }
    return 1;
}
static int r_Step_3(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 126 */
    among_var = find_among_b(z, a_6, 9); /* substring, line 126 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 126 */
    {   int ret = r_R1(z);
        if (ret == 0) return 0; /* call R1, line 126 */
        if (ret < 0) return ret;
    }
    switch(among_var) {
        case 0: return 0;
        case 1:
            {   int ret;
                ret = slice_from_s(z, 4, s_30); /* <-, line 127 */
                if (ret < 0) return ret;
            }
            break;
        case 2:
            {   int ret;
                ret = slice_from_s(z, 3, s_31); /* <-, line 128 */
                if (ret < 0) return ret;
            }
            break;
        case 3:
            {   int ret;
                ret = slice_from_s(z, 2, s_32); /* <-, line 129 */
                if (ret < 0) return ret;
            }
            break;
        case 4:
            {   int ret;
                ret = slice_from_s(z, 2, s_33); /* <-, line 131 */
                if (ret < 0) return ret;
            }
            break;
        case 5:
            {   int ret;
                ret = slice_del(z); /* delete, line 133 */
                if (ret < 0) return ret;
            }
            break;
        case 6:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 135 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 135 */
                if (ret < 0) return ret;
            }
            break;
    }
    return 1;
}
Esempio n. 7
0
static int r_residual_suffix(struct SN_env * z) {
    int among_var;
    {   int m = z->l - z->c; /* try, line 190 */
        z->ket = z->c; /* [, line 190 */
        if (!(eq_s_b(z, 1, s_33))) { z->c = z->l - m; goto lab0; }
        z->bra = z->c; /* ], line 190 */
        {   int m_test = z->l - z->c; /* test, line 190 */
            if (!(out_grouping_b(z, g_keep_with_s, 97, 232))) { z->c = z->l - m; goto lab0; }
            z->c = z->l - m_test;
        }
        slice_del(z); /* delete, line 190 */
    lab0:
        ;
    }
    {   int m = z->l - z->c; /* setlimit, line 191 */
        int m3;
        if (z->c < z->I[0]) return 0;
        z->c = z->I[0]; /* tomark, line 191 */
        m3 = z->lb; z->lb = z->c;
        z->c = z->l - m;
        z->ket = z->c; /* [, line 192 */
        among_var = find_among_b(z, a_6, 7); /* substring, line 192 */
        if (!(among_var)) { z->lb = m3; return 0; }
        z->bra = z->c; /* ], line 192 */
        switch(among_var) {
            case 0: { z->lb = m3; return 0; }
            case 1:
                if (!r_R2(z)) { z->lb = m3; return 0; } /* call R2, line 193 */
                {   int m = z->l - z->c; /* or, line 193 */
                    if (!(eq_s_b(z, 1, s_34))) goto lab2;
                    goto lab1;
                lab2:
                    z->c = z->l - m;
                    if (!(eq_s_b(z, 1, s_35))) { z->lb = m3; return 0; }
                }
            lab1:
                slice_del(z); /* delete, line 193 */
                break;
            case 2:
                slice_from_s(z, 1, s_36); /* <-, line 195 */
                break;
            case 3:
                slice_del(z); /* delete, line 196 */
                break;
            case 4:
                if (!(eq_s_b(z, 2, s_37))) { z->lb = m3; return 0; }
                slice_del(z); /* delete, line 197 */
                break;
        }
        z->lb = m3;
    }
    return 1;
}
static int r_verb_suffix(struct SN_env * z) {
    int among_var;
    {   int m3; /* setlimit, line 165 */
        int m = z->l - z->c; (void) m;
        if (z->c < z->I[0]) return 0;
        z->c = z->I[0]; /* tomark, line 165 */
        m3 = z->lb; z->lb = z->c;
        z->c = z->l - m;
        z->ket = z->c; /* [, line 166 */
        among_var = find_among_b(z, a_5, 38); /* substring, line 166 */
        if (!(among_var)) { z->lb = m3; return 0; }
        z->bra = z->c; /* ], line 166 */
        switch(among_var) {
            case 0: { z->lb = m3; return 0; }
            case 1:
                {   int ret = r_R2(z);
                    if (ret == 0) { z->lb = m3; return 0; } /* call R2, line 168 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 168 */
                    if (ret < 0) return ret;
                }
                break;
            case 2:
                {   int ret;
                    ret = slice_del(z); /* delete, line 176 */
                    if (ret < 0) return ret;
                }
                break;
            case 3:
                {   int ret;
                    ret = slice_del(z); /* delete, line 181 */
                    if (ret < 0) return ret;
                }
                {   int m = z->l - z->c; (void) m; /* try, line 182 */
                    z->ket = z->c; /* [, line 182 */
                    if (!(eq_s_b(z, 1, s_32))) { z->c = z->l - m; goto lab0; }
                    z->bra = z->c; /* ], line 182 */
                    {   int ret;
                        ret = slice_del(z); /* delete, line 182 */
                        if (ret < 0) return ret;
                    }
                lab0:
                    ;
                }
                break;
        }
        z->lb = m3;
    }
    return 1;
}
static int r_Step_5b(struct SN_env * z) {
    z->ket = z->c; /* [, line 107 */
    if (!(eq_s_b(z, 1, s_27))) return 0;
    z->bra = z->c; /* ], line 107 */
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 108 */
        if (ret < 0) return ret;
    }
    if (!(eq_s_b(z, 1, s_28))) return 0;
    {   int ret;
        ret = slice_del(z); /* delete, line 109 */
        if (ret < 0) return ret;
    }
    return 1;
}
static int r_derivational(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 178 */
    among_var = find_among_b(z, a_6, 2); /* substring, line 178 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 178 */
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 178 */
        if (ret < 0) return ret;
    }
    switch(among_var) {
        case 0: return 0;
        case 1:
            {   int ret;
                ret = slice_del(z); /* delete, line 181 */
                if (ret < 0) return ret;
            }
            break;
    }
    return 1;
}
Esempio n. 11
0
static int r_standard_suffix(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 87 */
    among_var = find_among_b(z, a_6, 46); /* substring, line 87 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 87 */
    switch(among_var) {
        case 0: return 0;
        case 1:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 99 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 99 */
                if (ret < 0) return ret;
            }
            break;
        case 2:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 105 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 105 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 106 */
                z->ket = z->c; /* [, line 106 */
                if (!(eq_s_b(z, 2, s_11))) { z->c = z->l - m; goto lab0; }
                z->bra = z->c; /* ], line 106 */
                {   int ret = r_R2(z);
                    if (ret == 0) { z->c = z->l - m; goto lab0; } /* call R2, line 106 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 106 */
                    if (ret < 0) return ret;
                }
            lab0:
                ;
            }
            break;
        case 3:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 111 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 3, s_12); /* <-, line 111 */
                if (ret < 0) return ret;
            }
            break;
        case 4:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 115 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 1, s_13); /* <-, line 115 */
                if (ret < 0) return ret;
            }
            break;
        case 5:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 119 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 4, s_14); /* <-, line 119 */
                if (ret < 0) return ret;
            }
            break;
        case 6:
            {   int ret = r_R1(z);
                if (ret == 0) return 0; /* call R1, line 123 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 123 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 124 */
                z->ket = z->c; /* [, line 125 */
                among_var = find_among_b(z, a_3, 4); /* substring, line 125 */
                if (!(among_var)) { z->c = z->l - m; goto lab1; }
                z->bra = z->c; /* ], line 125 */
                {   int ret = r_R2(z);
                    if (ret == 0) { z->c = z->l - m; goto lab1; } /* call R2, line 125 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 125 */
                    if (ret < 0) return ret;
                }
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab1; }
                    case 1:
                        z->ket = z->c; /* [, line 126 */
                        if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - m; goto lab1; }
                        z->bra = z->c; /* ], line 126 */
                        {   int ret = r_R2(z);
                            if (ret == 0) { z->c = z->l - m; goto lab1; } /* call R2, line 126 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_del(z); /* delete, line 126 */
                            if (ret < 0) return ret;
                        }
                        break;
                }
            lab1:
                ;
            }
            break;
        case 7:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 135 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 135 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 136 */
                z->ket = z->c; /* [, line 137 */
                among_var = find_among_b(z, a_4, 3); /* substring, line 137 */
                if (!(among_var)) { z->c = z->l - m; goto lab2; }
                z->bra = z->c; /* ], line 137 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab2; }
                    case 1:
                        {   int ret = r_R2(z);
                            if (ret == 0) { z->c = z->l - m; goto lab2; } /* call R2, line 140 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_del(z); /* delete, line 140 */
                            if (ret < 0) return ret;
                        }
                        break;
                }
            lab2:
                ;
            }
            break;
        case 8:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 147 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 147 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 148 */
                z->ket = z->c; /* [, line 149 */
                among_var = find_among_b(z, a_5, 3); /* substring, line 149 */
                if (!(among_var)) { z->c = z->l - m; goto lab3; }
                z->bra = z->c; /* ], line 149 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab3; }
                    case 1:
                        {   int ret = r_R2(z);
                            if (ret == 0) { z->c = z->l - m; goto lab3; } /* call R2, line 152 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_del(z); /* delete, line 152 */
                            if (ret < 0) return ret;
                        }
                        break;
                }
            lab3:
                ;
            }
            break;
        case 9:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 159 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 159 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 160 */
                z->ket = z->c; /* [, line 161 */
                if (!(eq_s_b(z, 2, s_16))) { z->c = z->l - m; goto lab4; }
                z->bra = z->c; /* ], line 161 */
                {   int ret = r_R2(z);
                    if (ret == 0) { z->c = z->l - m; goto lab4; } /* call R2, line 161 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 161 */
                    if (ret < 0) return ret;
                }
            lab4:
                ;
            }
            break;
    }
    return 1;
}
Esempio n. 12
0
static int r_standard_suffix(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 77 */
    among_var = find_among_b(z, a_5, 42); /* substring, line 77 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 77 */
    switch(among_var) {
        case 0: return 0;
        case 1:
            if (!r_R2(z)) return 0; /* call R2, line 92 */
            slice_del(z); /* delete, line 92 */
            break;
        case 2:
            if (!r_R2(z)) return 0; /* call R2, line 97 */
            slice_from_s(z, 3, s_4); /* <-, line 97 */
            break;
        case 3:
            if (!r_R2(z)) return 0; /* call R2, line 101 */
            slice_from_s(z, 1, s_5); /* <-, line 101 */
            break;
        case 4:
            if (!r_R2(z)) return 0; /* call R2, line 105 */
            slice_from_s(z, 4, s_6); /* <-, line 105 */
            break;
        case 5:
            if (!r_R1(z)) return 0; /* call R1, line 109 */
            slice_del(z); /* delete, line 109 */
            {   int m = z->l - z->c; /* try, line 110 */
                z->ket = z->c; /* [, line 111 */
                among_var = find_among_b(z, a_2, 4); /* substring, line 111 */
                if (!(among_var)) { z->c = z->l - m; goto lab0; }
                z->bra = z->c; /* ], line 111 */
                if (!r_R2(z)) { z->c = z->l - m; goto lab0; } /* call R2, line 111 */
                slice_del(z); /* delete, line 111 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab0; }
                    case 1:
                        z->ket = z->c; /* [, line 112 */
                        if (!(eq_s_b(z, 2, s_7))) { z->c = z->l - m; goto lab0; }
                        z->bra = z->c; /* ], line 112 */
                        if (!r_R2(z)) { z->c = z->l - m; goto lab0; } /* call R2, line 112 */
                        slice_del(z); /* delete, line 112 */
                        break;
                }
            lab0:
                ;
            }
            break;
        case 6:
            if (!r_R2(z)) return 0; /* call R2, line 121 */
            slice_del(z); /* delete, line 121 */
            {   int m = z->l - z->c; /* try, line 122 */
                z->ket = z->c; /* [, line 123 */
                among_var = find_among_b(z, a_3, 2); /* substring, line 123 */
                if (!(among_var)) { z->c = z->l - m; goto lab1; }
                z->bra = z->c; /* ], line 123 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab1; }
                    case 1:
                        if (!r_R2(z)) { z->c = z->l - m; goto lab1; } /* call R2, line 125 */
                        slice_del(z); /* delete, line 125 */
                        break;
                }
            lab1:
                ;
            }
            break;
        case 7:
            if (!r_R2(z)) return 0; /* call R2, line 132 */
            slice_del(z); /* delete, line 132 */
            {   int m = z->l - z->c; /* try, line 133 */
                z->ket = z->c; /* [, line 134 */
                among_var = find_among_b(z, a_4, 3); /* substring, line 134 */
                if (!(among_var)) { z->c = z->l - m; goto lab2; }
                z->bra = z->c; /* ], line 134 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab2; }
                    case 1:
                        if (!r_R2(z)) { z->c = z->l - m; goto lab2; } /* call R2, line 137 */
                        slice_del(z); /* delete, line 137 */
                        break;
                }
            lab2:
                ;
            }
            break;
        case 8:
            if (!r_R2(z)) return 0; /* call R2, line 144 */
            slice_del(z); /* delete, line 144 */
            {   int m = z->l - z->c; /* try, line 145 */
                z->ket = z->c; /* [, line 146 */
                if (!(eq_s_b(z, 2, s_8))) { z->c = z->l - m; goto lab3; }
                z->bra = z->c; /* ], line 146 */
                if (!r_R2(z)) { z->c = z->l - m; goto lab3; } /* call R2, line 146 */
                slice_del(z); /* delete, line 146 */
            lab3:
                ;
            }
            break;
        case 9:
            if (!r_RV(z)) return 0; /* call RV, line 151 */
            if (!(eq_s_b(z, 1, s_9))) return 0;
            slice_from_s(z, 2, s_10); /* <-, line 152 */
            break;
    }
    return 1;
}
Esempio n. 13
0
static int r_standard_suffix(struct SN_env * z) {
    int among_var;
    {   int m = z->l - z->c; (void) m; /* do, line 107 */
        z->ket = z->c; /* [, line 108 */
        among_var = find_among_b(z, a_3, 5); /* substring, line 108 */
        if (!(among_var)) goto lab0;
        z->bra = z->c; /* ], line 108 */
        switch(among_var) {
            case 0: goto lab0;
            case 1:
                {   int ret = r_R1(z);
                    if (ret == 0) goto lab0; /* call R1, line 110 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_from_s(z, 4, s_15); /* <-, line 110 */
                    if (ret < 0) return ret;
                }
                break;
            case 2:
                {   int ret = r_en_ending(z);
                    if (ret == 0) goto lab0; /* call en_ending, line 113 */
                    if (ret < 0) return ret;
                }
                break;
            case 3:
                {   int ret = r_R1(z);
                    if (ret == 0) goto lab0; /* call R1, line 116 */
                    if (ret < 0) return ret;
                }
                if (!(out_grouping_b_U(z, g_v_j, 97, 232))) goto lab0;
                {   int ret;
                    ret = slice_del(z); /* delete, line 116 */
                    if (ret < 0) return ret;
                }
                break;
        }
    lab0:
        z->c = z->l - m;
    }
    {   int m = z->l - z->c; (void) m; /* do, line 120 */
        {   int ret = r_e_ending(z);
            if (ret == 0) goto lab1; /* call e_ending, line 120 */
            if (ret < 0) return ret;
        }
    lab1:
        z->c = z->l - m;
    }
    {   int m = z->l - z->c; (void) m; /* do, line 122 */
        z->ket = z->c; /* [, line 122 */
        if (!(eq_s_b(z, 4, s_16))) goto lab2;
        z->bra = z->c; /* ], line 122 */
        {   int ret = r_R2(z);
            if (ret == 0) goto lab2; /* call R2, line 122 */
            if (ret < 0) return ret;
        }
        {   int m = z->l - z->c; (void) m; /* not, line 122 */
            if (!(eq_s_b(z, 1, s_17))) goto lab3;
            goto lab2;
        lab3:
            z->c = z->l - m;
        }
        {   int ret;
            ret = slice_del(z); /* delete, line 122 */
            if (ret < 0) return ret;
        }
        z->ket = z->c; /* [, line 123 */
        if (!(eq_s_b(z, 2, s_18))) goto lab2;
        z->bra = z->c; /* ], line 123 */
        {   int ret = r_en_ending(z);
            if (ret == 0) goto lab2; /* call en_ending, line 123 */
            if (ret < 0) return ret;
        }
    lab2:
        z->c = z->l - m;
    }
    {   int m = z->l - z->c; (void) m; /* do, line 126 */
        z->ket = z->c; /* [, line 127 */
        among_var = find_among_b(z, a_4, 6); /* substring, line 127 */
        if (!(among_var)) goto lab4;
        z->bra = z->c; /* ], line 127 */
        switch(among_var) {
            case 0: goto lab4;
            case 1:
                {   int ret = r_R2(z);
                    if (ret == 0) goto lab4; /* call R2, line 129 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 129 */
                    if (ret < 0) return ret;
                }
                {   int m = z->l - z->c; (void) m; /* or, line 130 */
                    z->ket = z->c; /* [, line 130 */
                    if (!(eq_s_b(z, 2, s_19))) goto lab6;
                    z->bra = z->c; /* ], line 130 */
                    {   int ret = r_R2(z);
                        if (ret == 0) goto lab6; /* call R2, line 130 */
                        if (ret < 0) return ret;
                    }
                    {   int m = z->l - z->c; (void) m; /* not, line 130 */
                        if (!(eq_s_b(z, 1, s_20))) goto lab7;
                        goto lab6;
                    lab7:
                        z->c = z->l - m;
                    }
                    {   int ret;
                        ret = slice_del(z); /* delete, line 130 */
                        if (ret < 0) return ret;
                    }
                    goto lab5;
                lab6:
                    z->c = z->l - m;
                    {   int ret = r_undouble(z);
                        if (ret == 0) goto lab4; /* call undouble, line 130 */
                        if (ret < 0) return ret;
                    }
                }
            lab5:
                break;
            case 2:
                {   int ret = r_R2(z);
                    if (ret == 0) goto lab4; /* call R2, line 133 */
                    if (ret < 0) return ret;
                }
                {   int m = z->l - z->c; (void) m; /* not, line 133 */
                    if (!(eq_s_b(z, 1, s_21))) goto lab8;
                    goto lab4;
                lab8:
                    z->c = z->l - m;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 133 */
                    if (ret < 0) return ret;
                }
                break;
            case 3:
                {   int ret = r_R2(z);
                    if (ret == 0) goto lab4; /* call R2, line 136 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 136 */
                    if (ret < 0) return ret;
                }
                {   int ret = r_e_ending(z);
                    if (ret == 0) goto lab4; /* call e_ending, line 136 */
                    if (ret < 0) return ret;
                }
                break;
            case 4:
                {   int ret = r_R2(z);
                    if (ret == 0) goto lab4; /* call R2, line 139 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 139 */
                    if (ret < 0) return ret;
                }
                break;
            case 5:
                {   int ret = r_R2(z);
                    if (ret == 0) goto lab4; /* call R2, line 142 */
                    if (ret < 0) return ret;
                }
                if (!(z->B[0])) goto lab4; /* Boolean test e_found, line 142 */
                {   int ret;
                    ret = slice_del(z); /* delete, line 142 */
                    if (ret < 0) return ret;
                }
                break;
        }
    lab4:
        z->c = z->l - m;
    }
    {   int m = z->l - z->c; (void) m; /* do, line 146 */
        if (!(out_grouping_b_U(z, g_v_I, 73, 232))) goto lab9;
        {   int m_test = z->l - z->c; /* test, line 148 */
            if (!(find_among_b(z, a_5, 4))) goto lab9; /* among, line 149 */
            if (!(out_grouping_b_U(z, g_v, 97, 232))) goto lab9;
            z->c = z->l - m_test;
        }
        z->ket = z->c; /* [, line 152 */
        {   int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
            if (c < 0) goto lab9;
            z->c = c; /* next, line 152 */
        }
        z->bra = z->c; /* ], line 152 */
        {   int ret;
            ret = slice_del(z); /* delete, line 152 */
            if (ret < 0) return ret;
        }
    lab9:
        z->c = z->l - m;
    }
    return 1;
}
static int r_standard_suffix(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 83 */
    among_var = find_among_b(z, a_3, 43); /* substring, line 83 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 83 */
    switch(among_var) {
        case 0: return 0;
        case 1:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 87 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 87 */
                if (ret < 0) return ret;
            }
            break;
        case 2:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 90 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 90 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 91 */
                z->ket = z->c; /* [, line 91 */
                if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m; goto lab0; }
                z->bra = z->c; /* ], line 91 */
                {   int m = z->l - z->c; (void) m; /* or, line 91 */
                    {   int ret = r_R2(z);
                        if (ret == 0) goto lab2; /* call R2, line 91 */
                        if (ret < 0) return ret;
                    }
                    {   int ret;
                        ret = slice_del(z); /* delete, line 91 */
                        if (ret < 0) return ret;
                    }
                    goto lab1;
                lab2:
                    z->c = z->l - m;
                    {   int ret;
                        ret = slice_from_s(z, 3, s_15); /* <-, line 91 */
                        if (ret < 0) return ret;
                    }
                }
            lab1:
            lab0:
                ;
            }
            break;
        case 3:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 95 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 3, s_16); /* <-, line 95 */
                if (ret < 0) return ret;
            }
            break;
        case 4:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 98 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 1, s_17); /* <-, line 98 */
                if (ret < 0) return ret;
            }
            break;
        case 5:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 101 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 3, s_18); /* <-, line 101 */
                if (ret < 0) return ret;
            }
            break;
        case 6:
            {   int ret = r_RV(z);
                if (ret == 0) return 0; /* call RV, line 105 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 105 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 106 */
                z->ket = z->c; /* [, line 107 */
                among_var = find_among_b(z, a_1, 6); /* substring, line 107 */
                if (!(among_var)) { z->c = z->l - m; goto lab3; }
                z->bra = z->c; /* ], line 107 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab3; }
                    case 1:
                        {   int ret = r_R2(z);
                            if (ret == 0) { z->c = z->l - m; goto lab3; } /* call R2, line 108 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_del(z); /* delete, line 108 */
                            if (ret < 0) return ret;
                        }
                        z->ket = z->c; /* [, line 108 */
                        if (!(eq_s_b(z, 2, s_19))) { z->c = z->l - m; goto lab3; }
                        z->bra = z->c; /* ], line 108 */
                        {   int ret = r_R2(z);
                            if (ret == 0) { z->c = z->l - m; goto lab3; } /* call R2, line 108 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_del(z); /* delete, line 108 */
                            if (ret < 0) return ret;
                        }
                        break;
                    case 2:
                        {   int m = z->l - z->c; (void) m; /* or, line 109 */
                            {   int ret = r_R2(z);
                                if (ret == 0) goto lab5; /* call R2, line 109 */
                                if (ret < 0) return ret;
                            }
                            {   int ret;
                                ret = slice_del(z); /* delete, line 109 */
                                if (ret < 0) return ret;
                            }
                            goto lab4;
                        lab5:
                            z->c = z->l - m;
                            {   int ret = r_R1(z);
                                if (ret == 0) { z->c = z->l - m; goto lab3; } /* call R1, line 109 */
                                if (ret < 0) return ret;
                            }
                            {   int ret;
                                ret = slice_from_s(z, 3, s_20); /* <-, line 109 */
                                if (ret < 0) return ret;
                            }
                        }
                    lab4:
                        break;
                    case 3:
                        {   int ret = r_R2(z);
                            if (ret == 0) { z->c = z->l - m; goto lab3; } /* call R2, line 111 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_del(z); /* delete, line 111 */
                            if (ret < 0) return ret;
                        }
                        break;
                    case 4:
                        {   int ret = r_RV(z);
                            if (ret == 0) { z->c = z->l - m; goto lab3; } /* call RV, line 113 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_from_s(z, 1, s_21); /* <-, line 113 */
                            if (ret < 0) return ret;
                        }
                        break;
                }
            lab3:
                ;
            }
            break;
        case 7:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 120 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 120 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 121 */
                z->ket = z->c; /* [, line 122 */
                among_var = find_among_b(z, a_2, 3); /* substring, line 122 */
                if (!(among_var)) { z->c = z->l - m; goto lab6; }
                z->bra = z->c; /* ], line 122 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab6; }
                    case 1:
                        {   int m = z->l - z->c; (void) m; /* or, line 123 */
                            {   int ret = r_R2(z);
                                if (ret == 0) goto lab8; /* call R2, line 123 */
                                if (ret < 0) return ret;
                            }
                            {   int ret;
                                ret = slice_del(z); /* delete, line 123 */
                                if (ret < 0) return ret;
                            }
                            goto lab7;
                        lab8:
                            z->c = z->l - m;
                            {   int ret;
                                ret = slice_from_s(z, 3, s_22); /* <-, line 123 */
                                if (ret < 0) return ret;
                            }
                        }
                    lab7:
                        break;
                    case 2:
                        {   int m = z->l - z->c; (void) m; /* or, line 124 */
                            {   int ret = r_R2(z);
                                if (ret == 0) goto lab10; /* call R2, line 124 */
                                if (ret < 0) return ret;
                            }
                            {   int ret;
                                ret = slice_del(z); /* delete, line 124 */
                                if (ret < 0) return ret;
                            }
                            goto lab9;
                        lab10:
                            z->c = z->l - m;
                            {   int ret;
                                ret = slice_from_s(z, 3, s_23); /* <-, line 124 */
                                if (ret < 0) return ret;
                            }
                        }
                    lab9:
                        break;
                    case 3:
                        {   int ret = r_R2(z);
                            if (ret == 0) { z->c = z->l - m; goto lab6; } /* call R2, line 125 */
                            if (ret < 0) return ret;
                        }
                        {   int ret;
                            ret = slice_del(z); /* delete, line 125 */
                            if (ret < 0) return ret;
                        }
                        break;
                }
            lab6:
                ;
            }
            break;
        case 8:
            {   int ret = r_R2(z);
                if (ret == 0) return 0; /* call R2, line 132 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 132 */
                if (ret < 0) return ret;
            }
            {   int m = z->l - z->c; (void) m; /* try, line 133 */
                z->ket = z->c; /* [, line 133 */
                if (!(eq_s_b(z, 2, s_24))) { z->c = z->l - m; goto lab11; }
                z->bra = z->c; /* ], line 133 */
                {   int ret = r_R2(z);
                    if (ret == 0) { z->c = z->l - m; goto lab11; } /* call R2, line 133 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 133 */
                    if (ret < 0) return ret;
                }
                z->ket = z->c; /* [, line 133 */
                if (!(eq_s_b(z, 2, s_25))) { z->c = z->l - m; goto lab11; }
                z->bra = z->c; /* ], line 133 */
                {   int m = z->l - z->c; (void) m; /* or, line 133 */
                    {   int ret = r_R2(z);
                        if (ret == 0) goto lab13; /* call R2, line 133 */
                        if (ret < 0) return ret;
                    }
                    {   int ret;
                        ret = slice_del(z); /* delete, line 133 */
                        if (ret < 0) return ret;
                    }
                    goto lab12;
                lab13:
                    z->c = z->l - m;
                    {   int ret;
                        ret = slice_from_s(z, 3, s_26); /* <-, line 133 */
                        if (ret < 0) return ret;
                    }
                }
            lab12:
            lab11:
                ;
            }
            break;
        case 9:
            {   int ret;
                ret = slice_from_s(z, 3, s_27); /* <-, line 135 */
                if (ret < 0) return ret;
            }
            break;
        case 10:
            {   int ret = r_R1(z);
                if (ret == 0) return 0; /* call R1, line 136 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 2, s_28); /* <-, line 136 */
                if (ret < 0) return ret;
            }
            break;
        case 11:
            {   int m = z->l - z->c; (void) m; /* or, line 138 */
                {   int ret = r_R2(z);
                    if (ret == 0) goto lab15; /* call R2, line 138 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 138 */
                    if (ret < 0) return ret;
                }
                goto lab14;
            lab15:
                z->c = z->l - m;
                {   int ret = r_R1(z);
                    if (ret == 0) return 0; /* call R1, line 138 */
                    if (ret < 0) return ret;
                }
                {   int ret;
                    ret = slice_from_s(z, 3, s_29); /* <-, line 138 */
                    if (ret < 0) return ret;
                }
            }
        lab14:
            break;
        case 12:
            {   int ret = r_R1(z);
                if (ret == 0) return 0; /* call R1, line 141 */
                if (ret < 0) return ret;
            }
            if (!(out_grouping_b(z, g_v, 97, 251))) return 0;
            {   int ret;
                ret = slice_del(z); /* delete, line 141 */
                if (ret < 0) return ret;
            }
            break;
        case 13:
            {   int ret = r_RV(z);
                if (ret == 0) return 0; /* call RV, line 146 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 3, s_30); /* <-, line 146 */
                if (ret < 0) return ret;
            }
            return 0; /* fail, line 146 */
            break;
        case 14:
            {   int ret = r_RV(z);
                if (ret == 0) return 0; /* call RV, line 147 */
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_from_s(z, 3, s_31); /* <-, line 147 */
                if (ret < 0) return ret;
            }
            return 0; /* fail, line 147 */
            break;
        case 15:
            {   int m_test = z->l - z->c; /* test, line 149 */
                if (!(in_grouping_b(z, g_v, 97, 251))) return 0;
                {   int ret = r_RV(z);
                    if (ret == 0) return 0; /* call RV, line 149 */
                    if (ret < 0) return ret;
                }
                z->c = z->l - m_test;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 149 */
                if (ret < 0) return ret;
            }
            return 0; /* fail, line 149 */
            break;
    }
    return 1;
}
static int r_standard_suffix(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 77 */
    among_var = find_among_b(z, a_5, 45); /* substring, line 77 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 77 */
    switch(among_var) {
    case 0:
        return 0;
    case 1:
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 93 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_del(z); /* delete, line 93 */
        if (ret < 0) return ret;
    }
    break;
    case 2:
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 98 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_from_s(z, 3, s_4); /* <-, line 98 */
        if (ret < 0) return ret;
    }
    break;
    case 3:
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 102 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_from_s(z, 1, s_5); /* <-, line 102 */
        if (ret < 0) return ret;
    }
    break;
    case 4:
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 106 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_from_s(z, 4, s_6); /* <-, line 106 */
        if (ret < 0) return ret;
    }
    break;
    case 5:
    {   int ret = r_R1(z);
        if (ret == 0) return 0; /* call R1, line 110 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_del(z); /* delete, line 110 */
        if (ret < 0) return ret;
    }
    {   int m = z->l - z->c;
        (void) m; /* try, line 111 */
        z->ket = z->c; /* [, line 112 */
        among_var = find_among_b(z, a_2, 4); /* substring, line 112 */
        if (!(among_var)) {
            z->c = z->l - m;
            goto lab0;
        }
        z->bra = z->c; /* ], line 112 */
        {   int ret = r_R2(z);
            if (ret == 0) {
                z->c = z->l - m;    /* call R2, line 112 */
                goto lab0;
            }
            if (ret < 0) return ret;
        }
        {   int ret;
            ret = slice_del(z); /* delete, line 112 */
            if (ret < 0) return ret;
        }
        switch(among_var) {
        case 0: {
            z->c = z->l - m;
            goto lab0;
        }
        case 1:
            z->ket = z->c; /* [, line 113 */
            if (!(eq_s_b(z, 2, s_7))) {
                z->c = z->l - m;
                goto lab0;
            }
            z->bra = z->c; /* ], line 113 */
            {   int ret = r_R2(z);
                if (ret == 0) {
                    z->c = z->l - m;    /* call R2, line 113 */
                    goto lab0;
                }
                if (ret < 0) return ret;
            }
            {   int ret;
                ret = slice_del(z); /* delete, line 113 */
                if (ret < 0) return ret;
            }
            break;
        }
lab0:
        ;
    }
    break;
    case 6:
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 122 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_del(z); /* delete, line 122 */
        if (ret < 0) return ret;
    }
    {   int m = z->l - z->c;
        (void) m; /* try, line 123 */
        z->ket = z->c; /* [, line 124 */
        among_var = find_among_b(z, a_3, 3); /* substring, line 124 */
        if (!(among_var)) {
            z->c = z->l - m;
            goto lab1;
        }
        z->bra = z->c; /* ], line 124 */
        switch(among_var) {
        case 0: {
            z->c = z->l - m;
            goto lab1;
        }
        case 1:
        {   int ret = r_R2(z);
            if (ret == 0) {
                z->c = z->l - m;    /* call R2, line 127 */
                goto lab1;
            }
            if (ret < 0) return ret;
        }
        {   int ret;
            ret = slice_del(z); /* delete, line 127 */
            if (ret < 0) return ret;
        }
        break;
        }
lab1:
        ;
    }
    break;
    case 7:
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 134 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_del(z); /* delete, line 134 */
        if (ret < 0) return ret;
    }
    {   int m = z->l - z->c;
        (void) m; /* try, line 135 */
        z->ket = z->c; /* [, line 136 */
        among_var = find_among_b(z, a_4, 3); /* substring, line 136 */
        if (!(among_var)) {
            z->c = z->l - m;
            goto lab2;
        }
        z->bra = z->c; /* ], line 136 */
        switch(among_var) {
        case 0: {
            z->c = z->l - m;
            goto lab2;
        }
        case 1:
        {   int ret = r_R2(z);
            if (ret == 0) {
                z->c = z->l - m;    /* call R2, line 139 */
                goto lab2;
            }
            if (ret < 0) return ret;
        }
        {   int ret;
            ret = slice_del(z); /* delete, line 139 */
            if (ret < 0) return ret;
        }
        break;
        }
lab2:
        ;
    }
    break;
    case 8:
    {   int ret = r_R2(z);
        if (ret == 0) return 0; /* call R2, line 146 */
        if (ret < 0) return ret;
    }
    {   int ret;
        ret = slice_del(z); /* delete, line 146 */
        if (ret < 0) return ret;
    }
    {   int m = z->l - z->c;
        (void) m; /* try, line 147 */
        z->ket = z->c; /* [, line 148 */
        if (!(eq_s_b(z, 2, s_8))) {
            z->c = z->l - m;
            goto lab3;
        }
        z->bra = z->c; /* ], line 148 */
        {   int ret = r_R2(z);
            if (ret == 0) {
                z->c = z->l - m;    /* call R2, line 148 */
                goto lab3;
            }
            if (ret < 0) return ret;
        }
        {   int ret;
            ret = slice_del(z); /* delete, line 148 */
            if (ret < 0) return ret;
        }
lab3:
        ;
    }
    break;
    case 9:
    {   int ret = r_RV(z);
        if (ret == 0) return 0; /* call RV, line 153 */
        if (ret < 0) return ret;
    }
    if (!(eq_s_b(z, 1, s_9))) return 0;
    {   int ret;
        ret = slice_from_s(z, 2, s_10); /* <-, line 154 */
        if (ret < 0) return ret;
    }
    break;
    }
    return 1;
}
Esempio n. 16
0
static int r_standard_suffix(struct SN_env * z) {
    int among_var;
    z->ket = z->c; /* [, line 104 */
    among_var = find_among_b(z, a_6, 49); /* substring, line 104 */
    if (!(among_var)) return 0;
    z->bra = z->c; /* ], line 104 */
    switch(among_var) {
        case 0: return 0;
        case 1:
            if (!r_R2(z)) return 0; /* call R2, line 110 */
            slice_del(z); /* delete, line 110 */
            break;
        case 2:
            if (!r_R2(z)) return 0; /* call R2, line 112 */
            slice_del(z); /* delete, line 112 */
            {   int m = z->l - z->c; /* try, line 113 */
                z->ket = z->c; /* [, line 113 */
                if (!(eq_s_b(z, 2, s_13))) { z->c = z->l - m; goto lab0; }
                z->bra = z->c; /* ], line 113 */
                if (!r_R2(z)) { z->c = z->l - m; goto lab0; } /* call R2, line 113 */
                slice_del(z); /* delete, line 113 */
            lab0:
                ;
            }
            break;
        case 3:
            if (!r_R2(z)) return 0; /* call R2, line 116 */
            slice_from_s(z, 3, s_14); /* <-, line 116 */
            break;
        case 4:
            if (!r_R2(z)) return 0; /* call R2, line 118 */
            slice_from_s(z, 1, s_15); /* <-, line 118 */
            break;
        case 5:
            if (!r_R2(z)) return 0; /* call R2, line 120 */
            slice_from_s(z, 4, s_16); /* <-, line 120 */
            break;
        case 6:
            if (!r_RV(z)) return 0; /* call RV, line 122 */
            slice_del(z); /* delete, line 122 */
            break;
        case 7:
            if (!r_R1(z)) return 0; /* call R1, line 124 */
            slice_del(z); /* delete, line 124 */
            {   int m = z->l - z->c; /* try, line 125 */
                z->ket = z->c; /* [, line 126 */
                among_var = find_among_b(z, a_4, 4); /* substring, line 126 */
                if (!(among_var)) { z->c = z->l - m; goto lab1; }
                z->bra = z->c; /* ], line 126 */
                if (!r_R2(z)) { z->c = z->l - m; goto lab1; } /* call R2, line 126 */
                slice_del(z); /* delete, line 126 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab1; }
                    case 1:
                        z->ket = z->c; /* [, line 127 */
                        if (!(eq_s_b(z, 2, s_17))) { z->c = z->l - m; goto lab1; }
                        z->bra = z->c; /* ], line 127 */
                        if (!r_R2(z)) { z->c = z->l - m; goto lab1; } /* call R2, line 127 */
                        slice_del(z); /* delete, line 127 */
                        break;
                }
            lab1:
                ;
            }
            break;
        case 8:
            if (!r_R2(z)) return 0; /* call R2, line 133 */
            slice_del(z); /* delete, line 133 */
            {   int m = z->l - z->c; /* try, line 134 */
                z->ket = z->c; /* [, line 135 */
                among_var = find_among_b(z, a_5, 3); /* substring, line 135 */
                if (!(among_var)) { z->c = z->l - m; goto lab2; }
                z->bra = z->c; /* ], line 135 */
                switch(among_var) {
                    case 0: { z->c = z->l - m; goto lab2; }
                    case 1:
                        if (!r_R2(z)) { z->c = z->l - m; goto lab2; } /* call R2, line 136 */
                        slice_del(z); /* delete, line 136 */
                        break;
                }
            lab2:
                ;
            }
            break;
        case 9:
            if (!r_R2(z)) return 0; /* call R2, line 141 */
            slice_del(z); /* delete, line 141 */
            {   int m = z->l - z->c; /* try, line 142 */
                z->ket = z->c; /* [, line 142 */
                if (!(eq_s_b(z, 2, s_18))) { z->c = z->l - m; goto lab3; }
                z->bra = z->c; /* ], line 142 */
                if (!r_R2(z)) { z->c = z->l - m; goto lab3; } /* call R2, line 142 */
                slice_del(z); /* delete, line 142 */
                z->ket = z->c; /* [, line 142 */
                if (!(eq_s_b(z, 2, s_19))) { z->c = z->l - m; goto lab3; }
                z->bra = z->c; /* ], line 142 */
                if (!r_R2(z)) { z->c = z->l - m; goto lab3; } /* call R2, line 142 */
                slice_del(z); /* delete, line 142 */
            lab3:
                ;
            }
            break;
    }
    return 1;
}
static int r_standard_suffix(struct SN_env * z) {
    int among_var;
    {   int m = z->l - z->c; (void) m; /* do, line 74 */
        z->ket = z->c; /* [, line 75 */
        among_var = find_among_b(z, a_1, 7); /* substring, line 75 */
        if (!(among_var)) goto lab0;
        z->bra = z->c; /* ], line 75 */
        {   int ret = r_R1(z);
            if (ret == 0) goto lab0; /* call R1, line 75 */
            if (ret < 0) return ret;
        }
        switch(among_var) {
            case 0: goto lab0;
            case 1:
                {   int ret;
                    ret = slice_del(z); /* delete, line 77 */
                    if (ret < 0) return ret;
                }
                break;
            case 2:
                if (!(in_grouping_b(z, g_s_ending, 98, 116))) goto lab0;
                {   int ret;
                    ret = slice_del(z); /* delete, line 80 */
                    if (ret < 0) return ret;
                }
                break;
        }
    lab0:
        z->c = z->l - m;
    }
    {   int m = z->l - z->c; (void) m; /* do, line 84 */
        z->ket = z->c; /* [, line 85 */
        among_var = find_among_b(z, a_2, 4); /* substring, line 85 */
        if (!(among_var)) goto lab1;
        z->bra = z->c; /* ], line 85 */
        {   int ret = r_R1(z);
            if (ret == 0) goto lab1; /* call R1, line 85 */
            if (ret < 0) return ret;
        }
        switch(among_var) {
            case 0: goto lab1;
            case 1:
                {   int ret;
                    ret = slice_del(z); /* delete, line 87 */
                    if (ret < 0) return ret;
                }
                break;
            case 2:
                if (!(in_grouping_b(z, g_st_ending, 98, 116))) goto lab1;
                {   int c = z->c - 3;
                    if (z->lb > c || c > z->l) goto lab1;
                    z->c = c; /* hop, line 90 */
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 90 */
                    if (ret < 0) return ret;
                }
                break;
        }
    lab1:
        z->c = z->l - m;
    }
    {   int m = z->l - z->c; (void) m; /* do, line 94 */
        z->ket = z->c; /* [, line 95 */
        among_var = find_among_b(z, a_4, 8); /* substring, line 95 */
        if (!(among_var)) goto lab2;
        z->bra = z->c; /* ], line 95 */
        {   int ret = r_R2(z);
            if (ret == 0) goto lab2; /* call R2, line 95 */
            if (ret < 0) return ret;
        }
        switch(among_var) {
            case 0: goto lab2;
            case 1:
                {   int ret;
                    ret = slice_del(z); /* delete, line 97 */
                    if (ret < 0) return ret;
                }
                {   int m = z->l - z->c; (void) m; /* try, line 98 */
                    z->ket = z->c; /* [, line 98 */
                    if (!(eq_s_b(z, 2, s_11))) { z->c = z->l - m; goto lab3; }
                    z->bra = z->c; /* ], line 98 */
                    {   int m = z->l - z->c; (void) m; /* not, line 98 */
                        if (!(eq_s_b(z, 1, s_12))) goto lab4;
                        { z->c = z->l - m; goto lab3; }
                    lab4:
                        z->c = z->l - m;
                    }
                    {   int ret = r_R2(z);
                        if (ret == 0) { z->c = z->l - m; goto lab3; } /* call R2, line 98 */
                        if (ret < 0) return ret;
                    }
                    {   int ret;
                        ret = slice_del(z); /* delete, line 98 */
                        if (ret < 0) return ret;
                    }
                lab3:
                    ;
                }
                break;
            case 2:
                {   int m = z->l - z->c; (void) m; /* not, line 101 */
                    if (!(eq_s_b(z, 1, s_13))) goto lab5;
                    goto lab2;
                lab5:
                    z->c = z->l - m;
                }
                {   int ret;
                    ret = slice_del(z); /* delete, line 101 */
                    if (ret < 0) return ret;
                }
                break;
            case 3:
                {   int ret;
                    ret = slice_del(z); /* delete, line 104 */
                    if (ret < 0) return ret;
                }
                {   int m = z->l - z->c; (void) m; /* try, line 105 */
                    z->ket = z->c; /* [, line 106 */
                    {   int m = z->l - z->c; (void) m; /* or, line 106 */
                        if (!(eq_s_b(z, 2, s_14))) goto lab8;
                        goto lab7;
                    lab8:
                        z->c = z->l - m;
                        if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - m; goto lab6; }
                    }
                lab7:
                    z->bra = z->c; /* ], line 106 */
                    {   int ret = r_R1(z);
                        if (ret == 0) { z->c = z->l - m; goto lab6; } /* call R1, line 106 */
                        if (ret < 0) return ret;
                    }
                    {   int ret;
                        ret = slice_del(z); /* delete, line 106 */
                        if (ret < 0) return ret;
                    }
                lab6:
                    ;
                }
                break;
            case 4:
                {   int ret;
                    ret = slice_del(z); /* delete, line 110 */
                    if (ret < 0) return ret;
                }
                {   int m = z->l - z->c; (void) m; /* try, line 111 */
                    z->ket = z->c; /* [, line 112 */
                    among_var = find_among_b(z, a_3, 2); /* substring, line 112 */
                    if (!(among_var)) { z->c = z->l - m; goto lab9; }
                    z->bra = z->c; /* ], line 112 */
                    {   int ret = r_R2(z);
                        if (ret == 0) { z->c = z->l - m; goto lab9; } /* call R2, line 112 */
                        if (ret < 0) return ret;
                    }
                    switch(among_var) {
                        case 0: { z->c = z->l - m; goto lab9; }
                        case 1:
                            {   int ret;
                                ret = slice_del(z); /* delete, line 114 */
                                if (ret < 0) return ret;
                            }
                            break;
                    }
                lab9:
                    ;
                }
                break;
        }
    lab2:
        z->c = z->l - m;
    }
    return 1;
}