static int r_vowel_suffix(struct SN_env * z) { { int m = z->l - z->c; /* try, line 170 */ z->ket = z->c; /* [, line 171 */ if (!(in_grouping_b(z, g_AEIO, 97, 242))) { z->c = z->l - m; goto lab0; } z->bra = z->c; /* ], line 171 */ if (!r_RV(z)) { z->c = z->l - m; goto lab0; } /* call RV, line 171 */ slice_del(z); /* delete, line 171 */ z->ket = z->c; /* [, line 172 */ if (!(eq_s_b(z, 1, s_20))) { z->c = z->l - m; goto lab0; } z->bra = z->c; /* ], line 172 */ if (!r_RV(z)) { z->c = z->l - m; goto lab0; } /* call RV, line 172 */ slice_del(z); /* delete, line 172 */ lab0: ; } { int m = z->l - z->c; /* try, line 174 */ z->ket = z->c; /* [, line 175 */ if (!(eq_s_b(z, 1, s_21))) { z->c = z->l - m; goto lab1; } z->bra = z->c; /* ], line 175 */ if (!(in_grouping_b(z, g_CG, 99, 103))) { z->c = z->l - m; goto lab1; } if (!r_RV(z)) { z->c = z->l - m; goto lab1; } /* call RV, line 175 */ slice_del(z); /* delete, line 175 */ lab1: ; } return 1; }
static int r_shortv(struct SN_env * z) { { int m = z->l - z->c; (void) m; /* or, line 50 */ if (!(out_grouping_b(z, g_v_WXY, 89, 121))) goto lab1; if (!(in_grouping_b(z, g_v, 97, 121))) goto lab1; if (!(out_grouping_b(z, g_v, 97, 121))) goto lab1; goto lab0; lab1: z->c = z->l - m; if (!(out_grouping_b(z, g_v, 97, 121))) return 0; if (!(in_grouping_b(z, g_v, 97, 121))) return 0; if (z->c > z->lb) return 0; /* atlimit, line 51 */ } lab0: return 1; }
static int r_main_suffix(struct SN_env * z) { int among_var; { int m = z->l - z->c; /* setlimit, line 37 */ int m3; if (z->c < z->I[0]) return 0; z->c = z->I[0]; /* tomark, line 37 */ m3 = z->lb; z->lb = z->c; z->c = z->l - m; z->ket = z->c; /* [, line 37 */ among_var = find_among_b(z, a_0, 37); /* substring, line 37 */ if (!(among_var)) { z->lb = m3; return 0; } z->bra = z->c; /* ], line 37 */ z->lb = m3; } switch(among_var) { case 0: return 0; case 1: slice_del(z); /* delete, line 44 */ break; case 2: if (!(in_grouping_b(z, g_s_ending, 98, 121))) return 0; slice_del(z); /* delete, line 46 */ break; } return 1; }
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(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_vowel_suffix(struct SN_env * z) { { int m = z->l - z->c; (void) m; /* try, line 171 */ z->ket = z->c; /* [, line 172 */ if (!(in_grouping_b(z, g_AEIO, 97, 242))) { z->c = z->l - m; goto lab0; } z->bra = z->c; /* ], line 172 */ { int ret = r_RV(z); if (ret == 0) { z->c = z->l - m; goto lab0; } /* call RV, line 172 */ if (ret < 0) return ret; } { int ret; ret = slice_del(z); /* delete, line 172 */ if (ret < 0) return ret; } z->ket = z->c; /* [, line 173 */ if (!(eq_s_b(z, 1, s_20))) { z->c = z->l - m; goto lab0; } z->bra = z->c; /* ], line 173 */ { int ret = r_RV(z); if (ret == 0) { z->c = z->l - m; goto lab0; } /* call RV, line 173 */ if (ret < 0) return ret; } { int ret; ret = slice_del(z); /* delete, line 173 */ if (ret < 0) return ret; } lab0: ; } { int m = z->l - z->c; (void) m; /* try, line 175 */ z->ket = z->c; /* [, line 176 */ if (!(eq_s_b(z, 1, s_21))) { z->c = z->l - m; goto lab1; } z->bra = z->c; /* ], line 176 */ if (!(in_grouping_b(z, g_CG, 99, 103))) { z->c = z->l - m; goto lab1; } { int ret = r_RV(z); if (ret == 0) { z->c = z->l - m; goto lab1; } /* call RV, line 176 */ if (ret < 0) return ret; } { int ret; ret = slice_del(z); /* delete, line 176 */ if (ret < 0) return ret; } lab1: ; } return 1; }
static int r_t_plural(struct SN_env * z) { int among_var; { int m3; /* setlimit, line 161 */ int m = z->l - z->c; (void) m; if (z->c < z->I[0]) return 0; z->c = z->I[0]; /* tomark, line 161 */ m3 = z->lb; z->lb = z->c; z->c = z->l - m; z->ket = z->c; /* [, line 162 */ if (!(eq_s_b(z, 1, s_13))) { z->lb = m3; return 0; } z->bra = z->c; /* ], line 162 */ { int m_test = z->l - z->c; /* test, line 162 */ if (!(in_grouping_b(z, g_V1, 97, 246))) { z->lb = m3; return 0; } z->c = z->l - m_test; } { int ret; ret = slice_del(z); /* delete, line 163 */ if (ret < 0) return ret; } z->lb = m3; } { int m3; /* setlimit, line 165 */ int m = z->l - z->c; (void) m; if (z->c < z->I[1]) return 0; z->c = z->I[1]; /* tomark, line 165 */ m3 = z->lb; z->lb = z->c; z->c = z->l - m; z->ket = z->c; /* [, line 165 */ among_var = find_among_b(z, a_9, 2); /* substring, line 165 */ if (!(among_var)) { z->lb = m3; return 0; } z->bra = z->c; /* ], line 165 */ z->lb = m3; } switch(among_var) { case 0: return 0; case 1: { int m = z->l - z->c; (void) m; /* not, line 167 */ if (!(eq_s_b(z, 2, s_14))) goto lab0; return 0; lab0: z->c = z->l - m; } break; } { int ret; ret = slice_del(z); /* delete, line 170 */ if (ret < 0) return ret; } return 1; }
static int r_tidy(struct SN_env * z) { { int mlimit; /* setlimit, line 173 */ int m1 = z->l - z->c; (void)m1; if (z->c < z->I[0]) return 0; z->c = z->I[0]; /* tomark, line 173 */ mlimit = z->lb; z->lb = z->c; z->c = z->l - m1; { int m2 = z->l - z->c; (void)m2; /* do, line 174 */ { int m3 = z->l - z->c; (void)m3; /* and, line 174 */ { int ret = r_LONG(z); if (ret == 0) goto lab0; /* call LONG, line 174 */ if (ret < 0) return ret; } z->c = z->l - m3; z->ket = z->c; /* [, line 174 */ if (z->c <= z->lb) goto lab0; z->c--; /* next, line 174 */ z->bra = z->c; /* ], line 174 */ { int ret = slice_del(z); /* delete, line 174 */ if (ret < 0) return ret; } } lab0: z->c = z->l - m2; } { int m4 = z->l - z->c; (void)m4; /* do, line 175 */ z->ket = z->c; /* [, line 175 */ if (in_grouping_b(z, g_AEI, 97, 228, 0)) goto lab1; z->bra = z->c; /* ], line 175 */ if (out_grouping_b(z, g_V1, 97, 246, 0)) goto lab1; { int ret = slice_del(z); /* delete, line 175 */ if (ret < 0) return ret; } lab1: z->c = z->l - m4; } { int m5 = z->l - z->c; (void)m5; /* do, line 176 */ z->ket = z->c; /* [, line 176 */ if (!(eq_s_b(z, 1, s_15))) goto lab2; z->bra = z->c; /* ], line 176 */ { int m6 = z->l - z->c; (void)m6; /* or, line 176 */ if (!(eq_s_b(z, 1, s_16))) goto lab4; goto lab3; lab4: z->c = z->l - m6; if (!(eq_s_b(z, 1, s_17))) goto lab2; } lab3: { int ret = slice_del(z); /* delete, line 176 */ if (ret < 0) return ret; } lab2: z->c = z->l - m5; } { int m7 = z->l - z->c; (void)m7; /* do, line 177 */ z->ket = z->c; /* [, line 177 */ if (!(eq_s_b(z, 1, s_18))) goto lab5; z->bra = z->c; /* ], line 177 */ if (!(eq_s_b(z, 1, s_19))) goto lab5; { int ret = slice_del(z); /* delete, line 177 */ if (ret < 0) return ret; } lab5: z->c = z->l - m7; } z->lb = mlimit; } if (in_grouping_b(z, g_V1, 97, 246, 1) < 0) return 0; /* goto */ /* non V1, line 179 */ z->ket = z->c; /* [, line 179 */ if (z->c <= z->lb) return 0; z->c--; /* next, line 179 */ z->bra = z->c; /* ], line 179 */ z->S[0] = slice_to(z, z->S[0]); /* -> x, line 179 */ if (z->S[0] == 0) return -1; /* -> x, line 179 */ if (!(eq_v_b(z, z->S[0]))) return 0; /* name x, line 179 */ { int ret = slice_del(z); /* delete, line 179 */ if (ret < 0) return ret; } return 1; }
static int r_case_ending(struct SN_env * z) { int among_var; { int mlimit; /* setlimit, line 96 */ int m1 = z->l - z->c; (void)m1; if (z->c < z->I[0]) return 0; z->c = z->I[0]; /* tomark, line 96 */ mlimit = z->lb; z->lb = z->c; z->c = z->l - m1; z->ket = z->c; /* [, line 96 */ among_var = find_among_b(z, a_6, 30); /* substring, line 96 */ if (!(among_var)) { z->lb = mlimit; return 0; } z->bra = z->c; /* ], line 96 */ z->lb = mlimit; } switch(among_var) { case 0: return 0; case 1: if (!(eq_s_b(z, 1, s_4))) return 0; break; case 2: if (!(eq_s_b(z, 1, s_5))) return 0; break; case 3: if (!(eq_s_b(z, 1, s_6))) return 0; break; case 4: if (!(eq_s_b(z, 1, s_7))) return 0; break; case 5: if (!(eq_s_b(z, 1, s_8))) return 0; break; case 6: if (!(eq_s_b(z, 1, s_9))) return 0; break; case 7: { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 111 */ { int m2 = z->l - z->c; (void)m2; /* and, line 113 */ { int m3 = z->l - z->c; (void)m3; /* or, line 112 */ { int ret = r_LONG(z); if (ret == 0) goto lab2; /* call LONG, line 111 */ if (ret < 0) return ret; } goto lab1; lab2: z->c = z->l - m3; if (!(eq_s_b(z, 2, s_10))) { z->c = z->l - m_keep; goto lab0; } } lab1: z->c = z->l - m2; if (z->c <= z->lb) { z->c = z->l - m_keep; goto lab0; } z->c--; /* next, line 113 */ } z->bra = z->c; /* ], line 113 */ lab0: ; } break; case 8: if (in_grouping_b(z, g_V1, 97, 246, 0)) return 0; if (out_grouping_b(z, g_V1, 97, 246, 0)) return 0; break; case 9: if (!(eq_s_b(z, 1, s_11))) return 0; break; } { int ret = slice_del(z); /* delete, line 138 */ if (ret < 0) return ret; } z->B[0] = 1; /* set ending_removed, line 139 */ return 1; }
static int r_VI(struct SN_env * z) { if (!(eq_s_b(z, 1, s_3))) return 0; if (in_grouping_b(z, g_V2, 97, 246, 0)) return 0; return 1; }
static int r_Step_2(struct SN_env * z) { int among_var; z->ket = z->c; /* [, line 99 */ among_var = find_among_b(z, a_5, 24); /* substring, line 99 */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 99 */ { int ret = r_R1(z); if (ret == 0) return 0; /* call R1, line 99 */ if (ret < 0) return ret; } switch(among_var) { case 0: return 0; case 1: { int ret; ret = slice_from_s(z, 4, s_14); /* <-, line 100 */ if (ret < 0) return ret; } break; case 2: { int ret; ret = slice_from_s(z, 4, s_15); /* <-, line 101 */ if (ret < 0) return ret; } break; case 3: { int ret; ret = slice_from_s(z, 4, s_16); /* <-, line 102 */ if (ret < 0) return ret; } break; case 4: { int ret; ret = slice_from_s(z, 4, s_17); /* <-, line 103 */ if (ret < 0) return ret; } break; case 5: { int ret; ret = slice_from_s(z, 3, s_18); /* <-, line 104 */ if (ret < 0) return ret; } break; case 6: { int ret; ret = slice_from_s(z, 3, s_19); /* <-, line 106 */ if (ret < 0) return ret; } break; case 7: { int ret; ret = slice_from_s(z, 3, s_20); /* <-, line 108 */ if (ret < 0) return ret; } break; case 8: { int ret; ret = slice_from_s(z, 2, s_21); /* <-, line 110 */ if (ret < 0) return ret; } break; case 9: { int ret; ret = slice_from_s(z, 3, s_22); /* <-, line 111 */ if (ret < 0) return ret; } break; case 10: { int ret; ret = slice_from_s(z, 3, s_23); /* <-, line 113 */ if (ret < 0) return ret; } break; case 11: { int ret; ret = slice_from_s(z, 3, s_24); /* <-, line 115 */ if (ret < 0) return ret; } break; case 12: { int ret; ret = slice_from_s(z, 3, s_25); /* <-, line 117 */ if (ret < 0) return ret; } break; case 13: if (!(eq_s_b(z, 1, s_26))) return 0; { int ret; ret = slice_from_s(z, 2, s_27); /* <-, line 118 */ if (ret < 0) return ret; } break; case 14: { int ret; ret = slice_from_s(z, 3, s_28); /* <-, line 119 */ if (ret < 0) return ret; } break; case 15: { int ret; ret = slice_from_s(z, 4, s_29); /* <-, line 120 */ if (ret < 0) return ret; } break; case 16: if (!(in_grouping_b(z, g_valid_LI, 99, 116))) return 0; { int ret; ret = slice_del(z); /* delete, line 121 */ if (ret < 0) return ret; } break; } return 1; }
static int r_Step_1b(struct SN_env * z) { int among_var; z->ket = z->c; /* [, line 74 */ among_var = find_among_b(z, a_4, 6); /* substring, line 74 */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 74 */ switch(among_var) { case 0: return 0; case 1: { int ret = r_R1(z); if (ret == 0) return 0; /* call R1, line 76 */ if (ret < 0) return ret; } { int ret; ret = slice_from_s(z, 2, s_8); /* <-, line 76 */ if (ret < 0) return ret; } break; case 2: { int m_test = z->l - z->c; /* test, line 79 */ while(1) { /* gopast, line 79 */ if (!(in_grouping_b(z, g_v, 97, 121))) goto lab0; break; lab0: if (z->c <= z->lb) return 0; z->c--; /* gopast, line 79 */ } z->c = z->l - m_test; } { int ret; ret = slice_del(z); /* delete, line 79 */ if (ret < 0) return ret; } { int m_test = z->l - z->c; /* test, line 80 */ among_var = find_among_b(z, a_3, 13); /* substring, line 80 */ if (!(among_var)) return 0; z->c = z->l - m_test; } switch(among_var) { case 0: return 0; case 1: { int ret; { int c = z->c; ret = insert_s(z, z->c, z->c, 1, s_9); /* <+, line 82 */ z->c = c; } if (ret < 0) return ret; } break; case 2: z->ket = z->c; /* [, line 85 */ if (z->c <= z->lb) return 0; z->c--; /* next, line 85 */ z->bra = z->c; /* ], line 85 */ { int ret; ret = slice_del(z); /* delete, line 85 */ if (ret < 0) return ret; } break; case 3: if (z->c != z->I[0]) return 0; /* atmark, line 86 */ { int m_test = z->l - z->c; /* test, line 86 */ { int ret = r_shortv(z); if (ret == 0) return 0; /* call shortv, line 86 */ if (ret < 0) return ret; } z->c = z->l - m_test; } { int ret; { int c = z->c; ret = insert_s(z, z->c, z->c, 1, s_10); /* <+, line 86 */ z->c = c; } if (ret < 0) return ret; } break; } break; } return 1; }
static int r_Step_1a(struct SN_env * z) { int among_var; { int m = z->l - z->c; (void) m; /* try, line 58 */ z->ket = z->c; /* [, line 59 */ among_var = find_among_b(z, a_1, 3); /* substring, line 59 */ if (!(among_var)) { z->c = z->l - m; goto lab0; } z->bra = z->c; /* ], line 59 */ switch(among_var) { case 0: { z->c = z->l - m; goto lab0; } case 1: { int ret; ret = slice_del(z); /* delete, line 61 */ if (ret < 0) return ret; } break; } lab0: ; } z->ket = z->c; /* [, line 64 */ among_var = find_among_b(z, a_2, 6); /* substring, line 64 */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 64 */ switch(among_var) { case 0: return 0; case 1: { int ret; ret = slice_from_s(z, 2, s_5); /* <-, line 65 */ if (ret < 0) return ret; } break; case 2: { int m = z->l - z->c; (void) m; /* or, line 67 */ if (z->c <= z->lb) goto lab2; z->c--; /* next, line 67 */ if (z->c > z->lb) goto lab2; /* atlimit, line 67 */ { int ret; ret = slice_from_s(z, 2, s_6); /* <-, line 67 */ if (ret < 0) return ret; } goto lab1; lab2: z->c = z->l - m; { int ret; ret = slice_from_s(z, 1, s_7); /* <-, line 67 */ if (ret < 0) return ret; } } lab1: break; case 3: if (z->c <= z->lb) return 0; z->c--; /* next, line 68 */ while(1) { /* gopast, line 68 */ if (!(in_grouping_b(z, g_v, 97, 121))) goto lab3; break; lab3: if (z->c <= z->lb) return 0; z->c--; /* gopast, line 68 */ } { int ret; ret = slice_del(z); /* delete, line 68 */ if (ret < 0) return ret; } break; } 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_tidy(struct SN_env * z) { { int m3; /* setlimit, line 173 */ int m = z->l - z->c; (void) m; if (z->c < z->I[0]) return 0; z->c = z->I[0]; /* tomark, line 173 */ m3 = z->lb; z->lb = z->c; z->c = z->l - m; { int m = z->l - z->c; (void) m; /* do, line 174 */ { int m = z->l - z->c; (void) m; /* and, line 174 */ { int ret = r_LONG(z); if (ret == 0) goto lab0; /* call LONG, line 174 */ if (ret < 0) return ret; } z->c = z->l - m; z->ket = z->c; /* [, line 174 */ if (z->c <= z->lb) goto lab0; z->c--; /* next, line 174 */ z->bra = z->c; /* ], line 174 */ { int ret; ret = slice_del(z); /* delete, line 174 */ if (ret < 0) return ret; } } lab0: z->c = z->l - m; } { int m = z->l - z->c; (void) m; /* do, line 175 */ z->ket = z->c; /* [, line 175 */ if (!(in_grouping_b(z, g_AEI, 97, 228))) goto lab1; z->bra = z->c; /* ], line 175 */ if (!(out_grouping_b(z, g_V1, 97, 246))) goto lab1; { int ret; ret = slice_del(z); /* delete, line 175 */ if (ret < 0) return ret; } lab1: z->c = z->l - m; } { int m = z->l - z->c; (void) m; /* do, line 176 */ z->ket = z->c; /* [, line 176 */ if (!(eq_s_b(z, 1, s_15))) goto lab2; z->bra = z->c; /* ], line 176 */ { int m = z->l - z->c; (void) m; /* or, line 176 */ if (!(eq_s_b(z, 1, s_16))) goto lab4; goto lab3; lab4: z->c = z->l - m; if (!(eq_s_b(z, 1, s_17))) goto lab2; } lab3: { int ret; ret = slice_del(z); /* delete, line 176 */ if (ret < 0) return ret; } lab2: z->c = z->l - m; } { int m = z->l - z->c; (void) m; /* do, line 177 */ z->ket = z->c; /* [, line 177 */ if (!(eq_s_b(z, 1, s_18))) goto lab5; z->bra = z->c; /* ], line 177 */ if (!(eq_s_b(z, 1, s_19))) goto lab5; { int ret; ret = slice_del(z); /* delete, line 177 */ if (ret < 0) return ret; } lab5: z->c = z->l - m; } z->lb = m3; } while(1) { /* goto, line 179 */ int m = z->l - z->c; (void) m; if (!(out_grouping_b(z, g_V1, 97, 246))) goto lab6; z->c = z->l - m; break; lab6: z->c = z->l - m; if (z->c <= z->lb) return 0; z->c--; /* goto, line 179 */ } z->ket = z->c; /* [, line 179 */ if (z->c <= z->lb) return 0; z->c--; /* next, line 179 */ z->bra = z->c; /* ], line 179 */ z->S[0] = slice_to(z, z->S[0]); /* -> x, line 179 */ if (z->S[0] == 0) return -1; /* -> x, line 179 */ if (!(eq_v_b(z, z->S[0]))) return 0; /* name x, line 179 */ { int ret; ret = slice_del(z); /* delete, line 179 */ if (ret < 0) return ret; } 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; }