isomorfeus-ferret 0.12.7 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +101 -19
- data/README.md +54 -1
- data/ext/isomorfeus_ferret_ext/bm_bitvector.c +22 -30
- data/ext/isomorfeus_ferret_ext/bm_hash.c +6 -12
- data/ext/isomorfeus_ferret_ext/bm_micro_string.c +3 -6
- data/ext/isomorfeus_ferret_ext/bm_store.c +11 -22
- data/ext/isomorfeus_ferret_ext/brotli_common_dictionary.c +1 -1
- data/ext/isomorfeus_ferret_ext/brotli_dec_decode.c +1 -1
- data/ext/isomorfeus_ferret_ext/bzip_blocksort.c +1094 -0
- data/ext/isomorfeus_ferret_ext/bzip_huffman.c +205 -0
- data/ext/isomorfeus_ferret_ext/bzlib.c +1572 -0
- data/ext/isomorfeus_ferret_ext/bzlib.h +282 -0
- data/ext/isomorfeus_ferret_ext/bzlib_compress.c +672 -0
- data/ext/isomorfeus_ferret_ext/bzlib_crctable.c +104 -0
- data/ext/isomorfeus_ferret_ext/bzlib_decompress.c +652 -0
- data/ext/isomorfeus_ferret_ext/bzlib_private.h +509 -0
- data/ext/isomorfeus_ferret_ext/bzlib_randtable.c +84 -0
- data/ext/isomorfeus_ferret_ext/fio_tmpfile.h +53 -53
- data/ext/isomorfeus_ferret_ext/frb_analysis.c +785 -1192
- data/ext/isomorfeus_ferret_ext/frb_index.c +492 -474
- data/ext/isomorfeus_ferret_ext/frb_qparser.c +48 -60
- data/ext/isomorfeus_ferret_ext/frb_search.c +1520 -1002
- data/ext/isomorfeus_ferret_ext/frb_store.c +96 -96
- data/ext/isomorfeus_ferret_ext/frb_threading.h +0 -1
- data/ext/isomorfeus_ferret_ext/frb_utils.c +147 -196
- data/ext/isomorfeus_ferret_ext/frt_analysis.c +695 -1090
- data/ext/isomorfeus_ferret_ext/frt_analysis.h +174 -170
- data/ext/isomorfeus_ferret_ext/frt_array.c +2 -4
- data/ext/isomorfeus_ferret_ext/frt_bitvector.c +9 -16
- data/ext/isomorfeus_ferret_ext/frt_bitvector.h +32 -81
- data/ext/isomorfeus_ferret_ext/frt_document.c +15 -20
- data/ext/isomorfeus_ferret_ext/frt_document.h +10 -10
- data/ext/isomorfeus_ferret_ext/frt_except.c +5 -12
- data/ext/isomorfeus_ferret_ext/frt_field_index.c +3 -3
- data/ext/isomorfeus_ferret_ext/frt_field_index.h +6 -7
- data/ext/isomorfeus_ferret_ext/frt_filter.c +35 -46
- data/ext/isomorfeus_ferret_ext/frt_fs_store.c +1 -0
- data/ext/isomorfeus_ferret_ext/frt_global.c +105 -63
- data/ext/isomorfeus_ferret_ext/frt_global.h +7 -3
- data/ext/isomorfeus_ferret_ext/frt_hash.c +1 -2
- data/ext/isomorfeus_ferret_ext/frt_ind.c +32 -35
- data/ext/isomorfeus_ferret_ext/frt_ind.h +9 -9
- data/ext/isomorfeus_ferret_ext/frt_index.c +580 -399
- data/ext/isomorfeus_ferret_ext/frt_index.h +272 -291
- data/ext/isomorfeus_ferret_ext/frt_mempool.c +1 -2
- data/ext/isomorfeus_ferret_ext/frt_multimapper.c +4 -7
- data/ext/isomorfeus_ferret_ext/frt_q_boolean.c +67 -91
- data/ext/isomorfeus_ferret_ext/frt_q_const_score.c +35 -38
- data/ext/isomorfeus_ferret_ext/frt_q_filtered_query.c +53 -72
- data/ext/isomorfeus_ferret_ext/frt_q_fuzzy.c +25 -32
- data/ext/isomorfeus_ferret_ext/frt_q_match_all.c +21 -23
- data/ext/isomorfeus_ferret_ext/frt_q_multi_term.c +66 -103
- data/ext/isomorfeus_ferret_ext/frt_q_parser.c +207 -195
- data/ext/isomorfeus_ferret_ext/frt_q_phrase.c +20 -16
- data/ext/isomorfeus_ferret_ext/frt_q_prefix.c +17 -14
- data/ext/isomorfeus_ferret_ext/frt_q_range.c +102 -131
- data/ext/isomorfeus_ferret_ext/frt_q_span.c +179 -178
- data/ext/isomorfeus_ferret_ext/frt_q_term.c +47 -60
- data/ext/isomorfeus_ferret_ext/frt_q_wildcard.c +18 -16
- data/ext/isomorfeus_ferret_ext/frt_ram_store.c +45 -84
- data/ext/isomorfeus_ferret_ext/frt_search.c +105 -146
- data/ext/isomorfeus_ferret_ext/frt_search.h +331 -320
- data/ext/isomorfeus_ferret_ext/frt_similarity.c +5 -13
- data/ext/isomorfeus_ferret_ext/frt_similarity.h +7 -12
- data/ext/isomorfeus_ferret_ext/frt_sort.c +105 -149
- data/ext/isomorfeus_ferret_ext/frt_store.c +13 -7
- data/ext/isomorfeus_ferret_ext/frt_store.h +10 -2
- data/ext/isomorfeus_ferret_ext/frt_threading.h +0 -1
- data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.c +21 -109
- data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.h +2 -32
- data/ext/isomorfeus_ferret_ext/lz4.c +2495 -0
- data/ext/isomorfeus_ferret_ext/lz4.h +774 -0
- data/ext/isomorfeus_ferret_ext/lz4frame.c +1899 -0
- data/ext/isomorfeus_ferret_ext/lz4frame.h +623 -0
- data/ext/isomorfeus_ferret_ext/lz4hc.c +1615 -0
- data/ext/isomorfeus_ferret_ext/lz4hc.h +413 -0
- data/ext/isomorfeus_ferret_ext/lz4xxhash.c +1030 -0
- data/ext/isomorfeus_ferret_ext/lz4xxhash.h +328 -0
- data/ext/isomorfeus_ferret_ext/stem_modules.h +0 -86
- data/ext/isomorfeus_ferret_ext/test.c +1 -2
- data/ext/isomorfeus_ferret_ext/test_1710.c +11 -12
- data/ext/isomorfeus_ferret_ext/test_analysis.c +590 -583
- data/ext/isomorfeus_ferret_ext/test_compound_io.c +1 -1
- data/ext/isomorfeus_ferret_ext/test_document.c +19 -15
- data/ext/isomorfeus_ferret_ext/test_except.c +1 -2
- data/ext/isomorfeus_ferret_ext/test_fields.c +59 -60
- data/ext/isomorfeus_ferret_ext/test_file_deleter.c +10 -27
- data/ext/isomorfeus_ferret_ext/test_filter.c +11 -8
- data/ext/isomorfeus_ferret_ext/test_hash.c +2 -2
- data/ext/isomorfeus_ferret_ext/test_hashset.c +1 -1
- data/ext/isomorfeus_ferret_ext/test_highlighter.c +15 -11
- data/ext/isomorfeus_ferret_ext/test_index.c +372 -365
- data/ext/isomorfeus_ferret_ext/test_q_const_score.c +5 -3
- data/ext/isomorfeus_ferret_ext/test_q_filtered.c +5 -3
- data/ext/isomorfeus_ferret_ext/test_q_fuzzy.c +13 -10
- data/ext/isomorfeus_ferret_ext/test_q_parser.c +45 -7
- data/ext/isomorfeus_ferret_ext/test_q_span.c +15 -12
- data/ext/isomorfeus_ferret_ext/test_ram_store.c +3 -3
- data/ext/isomorfeus_ferret_ext/test_search.c +60 -62
- data/ext/isomorfeus_ferret_ext/test_segments.c +5 -4
- data/ext/isomorfeus_ferret_ext/test_sort.c +17 -14
- data/ext/isomorfeus_ferret_ext/test_store.c +2 -0
- data/ext/isomorfeus_ferret_ext/test_term.c +3 -1
- data/ext/isomorfeus_ferret_ext/test_term_vectors.c +9 -10
- data/ext/isomorfeus_ferret_ext/test_test.c +1 -2
- data/ext/isomorfeus_ferret_ext/test_threading.c +9 -10
- data/ext/isomorfeus_ferret_ext/testhelper.c +1 -2
- data/lib/isomorfeus/ferret/version.rb +1 -1
- metadata +27 -57
- data/ext/isomorfeus_ferret_ext/email.rl +0 -21
- data/ext/isomorfeus_ferret_ext/frt_scanner.c +0 -900
- data/ext/isomorfeus_ferret_ext/frt_scanner.h +0 -28
- data/ext/isomorfeus_ferret_ext/frt_scanner_mb.c +0 -6706
- data/ext/isomorfeus_ferret_ext/frt_scanner_utf8.c +0 -4420
- data/ext/isomorfeus_ferret_ext/scanner.h +0 -28
- data/ext/isomorfeus_ferret_ext/scanner.in +0 -43
- data/ext/isomorfeus_ferret_ext/scanner.rl +0 -84
- data/ext/isomorfeus_ferret_ext/scanner_mb.rl +0 -200
- data/ext/isomorfeus_ferret_ext/scanner_utf8.rl +0 -85
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.c +0 -1167
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.c +0 -1433
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.c +0 -301
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.c +0 -590
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.c +0 -1049
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.c +0 -705
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.c +0 -1239
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.c +0 -477
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.c +0 -1217
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.h +0 -7
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.c +0 -394
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.c +0 -457
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.c +0 -1009
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.c +0 -259
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.c +0 -704
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.c +0 -948
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.c +0 -1028
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.c +0 -275
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.c +0 -849
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.c +0 -952
- data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.c +0 -669
- data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.h +0 -6
- data/ext/isomorfeus_ferret_ext/stem_modules.txt +0 -63
- data/ext/isomorfeus_ferret_ext/uchar-ucs4.rl +0 -1854
- data/ext/isomorfeus_ferret_ext/uchar-utf8.rl +0 -1999
- data/ext/isomorfeus_ferret_ext/url.rl +0 -27
@@ -1,1239 +0,0 @@
|
|
1
|
-
/* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
|
2
|
-
|
3
|
-
#include "stem_header.h"
|
4
|
-
|
5
|
-
extern int french_ISO_8859_1_stem(struct SN_env * z);
|
6
|
-
|
7
|
-
static int r_un_accent(struct SN_env * z);
|
8
|
-
static int r_un_double(struct SN_env * z);
|
9
|
-
static int r_residual_suffix(struct SN_env * z);
|
10
|
-
static int r_verb_suffix(struct SN_env * z);
|
11
|
-
static int r_i_verb_suffix(struct SN_env * z);
|
12
|
-
static int r_standard_suffix(struct SN_env * z);
|
13
|
-
static int r_R2(struct SN_env * z);
|
14
|
-
static int r_R1(struct SN_env * z);
|
15
|
-
static int r_RV(struct SN_env * z);
|
16
|
-
static int r_mark_regions(struct SN_env * z);
|
17
|
-
static int r_postlude(struct SN_env * z);
|
18
|
-
static int r_prelude(struct SN_env * z);
|
19
|
-
|
20
|
-
extern struct SN_env * french_ISO_8859_1_create_env(void);
|
21
|
-
extern void french_ISO_8859_1_close_env(struct SN_env * z);
|
22
|
-
|
23
|
-
static const symbol s_0_0[3] = { 'c', 'o', 'l' };
|
24
|
-
static const symbol s_0_1[3] = { 'p', 'a', 'r' };
|
25
|
-
static const symbol s_0_2[3] = { 't', 'a', 'p' };
|
26
|
-
|
27
|
-
static const struct among a_0[3] =
|
28
|
-
{
|
29
|
-
{ 3, s_0_0, -1, -1, 0},
|
30
|
-
{ 3, s_0_1, -1, -1, 0},
|
31
|
-
{ 3, s_0_2, -1, -1, 0}
|
32
|
-
};
|
33
|
-
|
34
|
-
static const symbol s_1_1[1] = { 'H' };
|
35
|
-
static const symbol s_1_2[2] = { 'H', 'e' };
|
36
|
-
static const symbol s_1_3[2] = { 'H', 'i' };
|
37
|
-
static const symbol s_1_4[1] = { 'I' };
|
38
|
-
static const symbol s_1_5[1] = { 'U' };
|
39
|
-
static const symbol s_1_6[1] = { 'Y' };
|
40
|
-
|
41
|
-
static const struct among a_1[7] =
|
42
|
-
{
|
43
|
-
{ 0, 0, -1, 7, 0},
|
44
|
-
{ 1, s_1_1, 0, 6, 0},
|
45
|
-
{ 2, s_1_2, 1, 4, 0},
|
46
|
-
{ 2, s_1_3, 1, 5, 0},
|
47
|
-
{ 1, s_1_4, 0, 1, 0},
|
48
|
-
{ 1, s_1_5, 0, 2, 0},
|
49
|
-
{ 1, s_1_6, 0, 3, 0}
|
50
|
-
};
|
51
|
-
|
52
|
-
static const symbol s_2_0[3] = { 'i', 'q', 'U' };
|
53
|
-
static const symbol s_2_1[3] = { 'a', 'b', 'l' };
|
54
|
-
static const symbol s_2_2[3] = { 'I', 0xE8, 'r' };
|
55
|
-
static const symbol s_2_3[3] = { 'i', 0xE8, 'r' };
|
56
|
-
static const symbol s_2_4[3] = { 'e', 'u', 's' };
|
57
|
-
static const symbol s_2_5[2] = { 'i', 'v' };
|
58
|
-
|
59
|
-
static const struct among a_2[6] =
|
60
|
-
{
|
61
|
-
{ 3, s_2_0, -1, 3, 0},
|
62
|
-
{ 3, s_2_1, -1, 3, 0},
|
63
|
-
{ 3, s_2_2, -1, 4, 0},
|
64
|
-
{ 3, s_2_3, -1, 4, 0},
|
65
|
-
{ 3, s_2_4, -1, 2, 0},
|
66
|
-
{ 2, s_2_5, -1, 1, 0}
|
67
|
-
};
|
68
|
-
|
69
|
-
static const symbol s_3_0[2] = { 'i', 'c' };
|
70
|
-
static const symbol s_3_1[4] = { 'a', 'b', 'i', 'l' };
|
71
|
-
static const symbol s_3_2[2] = { 'i', 'v' };
|
72
|
-
|
73
|
-
static const struct among a_3[3] =
|
74
|
-
{
|
75
|
-
{ 2, s_3_0, -1, 2, 0},
|
76
|
-
{ 4, s_3_1, -1, 1, 0},
|
77
|
-
{ 2, s_3_2, -1, 3, 0}
|
78
|
-
};
|
79
|
-
|
80
|
-
static const symbol s_4_0[4] = { 'i', 'q', 'U', 'e' };
|
81
|
-
static const symbol s_4_1[6] = { 'a', 't', 'r', 'i', 'c', 'e' };
|
82
|
-
static const symbol s_4_2[4] = { 'a', 'n', 'c', 'e' };
|
83
|
-
static const symbol s_4_3[4] = { 'e', 'n', 'c', 'e' };
|
84
|
-
static const symbol s_4_4[5] = { 'l', 'o', 'g', 'i', 'e' };
|
85
|
-
static const symbol s_4_5[4] = { 'a', 'b', 'l', 'e' };
|
86
|
-
static const symbol s_4_6[4] = { 'i', 's', 'm', 'e' };
|
87
|
-
static const symbol s_4_7[4] = { 'e', 'u', 's', 'e' };
|
88
|
-
static const symbol s_4_8[4] = { 'i', 's', 't', 'e' };
|
89
|
-
static const symbol s_4_9[3] = { 'i', 'v', 'e' };
|
90
|
-
static const symbol s_4_10[2] = { 'i', 'f' };
|
91
|
-
static const symbol s_4_11[5] = { 'u', 's', 'i', 'o', 'n' };
|
92
|
-
static const symbol s_4_12[5] = { 'a', 't', 'i', 'o', 'n' };
|
93
|
-
static const symbol s_4_13[5] = { 'u', 't', 'i', 'o', 'n' };
|
94
|
-
static const symbol s_4_14[5] = { 'a', 't', 'e', 'u', 'r' };
|
95
|
-
static const symbol s_4_15[5] = { 'i', 'q', 'U', 'e', 's' };
|
96
|
-
static const symbol s_4_16[7] = { 'a', 't', 'r', 'i', 'c', 'e', 's' };
|
97
|
-
static const symbol s_4_17[5] = { 'a', 'n', 'c', 'e', 's' };
|
98
|
-
static const symbol s_4_18[5] = { 'e', 'n', 'c', 'e', 's' };
|
99
|
-
static const symbol s_4_19[6] = { 'l', 'o', 'g', 'i', 'e', 's' };
|
100
|
-
static const symbol s_4_20[5] = { 'a', 'b', 'l', 'e', 's' };
|
101
|
-
static const symbol s_4_21[5] = { 'i', 's', 'm', 'e', 's' };
|
102
|
-
static const symbol s_4_22[5] = { 'e', 'u', 's', 'e', 's' };
|
103
|
-
static const symbol s_4_23[5] = { 'i', 's', 't', 'e', 's' };
|
104
|
-
static const symbol s_4_24[4] = { 'i', 'v', 'e', 's' };
|
105
|
-
static const symbol s_4_25[3] = { 'i', 'f', 's' };
|
106
|
-
static const symbol s_4_26[6] = { 'u', 's', 'i', 'o', 'n', 's' };
|
107
|
-
static const symbol s_4_27[6] = { 'a', 't', 'i', 'o', 'n', 's' };
|
108
|
-
static const symbol s_4_28[6] = { 'u', 't', 'i', 'o', 'n', 's' };
|
109
|
-
static const symbol s_4_29[6] = { 'a', 't', 'e', 'u', 'r', 's' };
|
110
|
-
static const symbol s_4_30[5] = { 'm', 'e', 'n', 't', 's' };
|
111
|
-
static const symbol s_4_31[6] = { 'e', 'm', 'e', 'n', 't', 's' };
|
112
|
-
static const symbol s_4_32[9] = { 'i', 's', 's', 'e', 'm', 'e', 'n', 't', 's' };
|
113
|
-
static const symbol s_4_33[4] = { 'i', 't', 0xE9, 's' };
|
114
|
-
static const symbol s_4_34[4] = { 'm', 'e', 'n', 't' };
|
115
|
-
static const symbol s_4_35[5] = { 'e', 'm', 'e', 'n', 't' };
|
116
|
-
static const symbol s_4_36[8] = { 'i', 's', 's', 'e', 'm', 'e', 'n', 't' };
|
117
|
-
static const symbol s_4_37[6] = { 'a', 'm', 'm', 'e', 'n', 't' };
|
118
|
-
static const symbol s_4_38[6] = { 'e', 'm', 'm', 'e', 'n', 't' };
|
119
|
-
static const symbol s_4_39[3] = { 'a', 'u', 'x' };
|
120
|
-
static const symbol s_4_40[4] = { 'e', 'a', 'u', 'x' };
|
121
|
-
static const symbol s_4_41[3] = { 'e', 'u', 'x' };
|
122
|
-
static const symbol s_4_42[3] = { 'i', 't', 0xE9 };
|
123
|
-
|
124
|
-
static const struct among a_4[43] =
|
125
|
-
{
|
126
|
-
{ 4, s_4_0, -1, 1, 0},
|
127
|
-
{ 6, s_4_1, -1, 2, 0},
|
128
|
-
{ 4, s_4_2, -1, 1, 0},
|
129
|
-
{ 4, s_4_3, -1, 5, 0},
|
130
|
-
{ 5, s_4_4, -1, 3, 0},
|
131
|
-
{ 4, s_4_5, -1, 1, 0},
|
132
|
-
{ 4, s_4_6, -1, 1, 0},
|
133
|
-
{ 4, s_4_7, -1, 11, 0},
|
134
|
-
{ 4, s_4_8, -1, 1, 0},
|
135
|
-
{ 3, s_4_9, -1, 8, 0},
|
136
|
-
{ 2, s_4_10, -1, 8, 0},
|
137
|
-
{ 5, s_4_11, -1, 4, 0},
|
138
|
-
{ 5, s_4_12, -1, 2, 0},
|
139
|
-
{ 5, s_4_13, -1, 4, 0},
|
140
|
-
{ 5, s_4_14, -1, 2, 0},
|
141
|
-
{ 5, s_4_15, -1, 1, 0},
|
142
|
-
{ 7, s_4_16, -1, 2, 0},
|
143
|
-
{ 5, s_4_17, -1, 1, 0},
|
144
|
-
{ 5, s_4_18, -1, 5, 0},
|
145
|
-
{ 6, s_4_19, -1, 3, 0},
|
146
|
-
{ 5, s_4_20, -1, 1, 0},
|
147
|
-
{ 5, s_4_21, -1, 1, 0},
|
148
|
-
{ 5, s_4_22, -1, 11, 0},
|
149
|
-
{ 5, s_4_23, -1, 1, 0},
|
150
|
-
{ 4, s_4_24, -1, 8, 0},
|
151
|
-
{ 3, s_4_25, -1, 8, 0},
|
152
|
-
{ 6, s_4_26, -1, 4, 0},
|
153
|
-
{ 6, s_4_27, -1, 2, 0},
|
154
|
-
{ 6, s_4_28, -1, 4, 0},
|
155
|
-
{ 6, s_4_29, -1, 2, 0},
|
156
|
-
{ 5, s_4_30, -1, 15, 0},
|
157
|
-
{ 6, s_4_31, 30, 6, 0},
|
158
|
-
{ 9, s_4_32, 31, 12, 0},
|
159
|
-
{ 4, s_4_33, -1, 7, 0},
|
160
|
-
{ 4, s_4_34, -1, 15, 0},
|
161
|
-
{ 5, s_4_35, 34, 6, 0},
|
162
|
-
{ 8, s_4_36, 35, 12, 0},
|
163
|
-
{ 6, s_4_37, 34, 13, 0},
|
164
|
-
{ 6, s_4_38, 34, 14, 0},
|
165
|
-
{ 3, s_4_39, -1, 10, 0},
|
166
|
-
{ 4, s_4_40, 39, 9, 0},
|
167
|
-
{ 3, s_4_41, -1, 1, 0},
|
168
|
-
{ 3, s_4_42, -1, 7, 0}
|
169
|
-
};
|
170
|
-
|
171
|
-
static const symbol s_5_0[3] = { 'i', 'r', 'a' };
|
172
|
-
static const symbol s_5_1[2] = { 'i', 'e' };
|
173
|
-
static const symbol s_5_2[4] = { 'i', 's', 's', 'e' };
|
174
|
-
static const symbol s_5_3[7] = { 'i', 's', 's', 'a', 'n', 't', 'e' };
|
175
|
-
static const symbol s_5_4[1] = { 'i' };
|
176
|
-
static const symbol s_5_5[4] = { 'i', 'r', 'a', 'i' };
|
177
|
-
static const symbol s_5_6[2] = { 'i', 'r' };
|
178
|
-
static const symbol s_5_7[4] = { 'i', 'r', 'a', 's' };
|
179
|
-
static const symbol s_5_8[3] = { 'i', 'e', 's' };
|
180
|
-
static const symbol s_5_9[4] = { 0xEE, 'm', 'e', 's' };
|
181
|
-
static const symbol s_5_10[5] = { 'i', 's', 's', 'e', 's' };
|
182
|
-
static const symbol s_5_11[8] = { 'i', 's', 's', 'a', 'n', 't', 'e', 's' };
|
183
|
-
static const symbol s_5_12[4] = { 0xEE, 't', 'e', 's' };
|
184
|
-
static const symbol s_5_13[2] = { 'i', 's' };
|
185
|
-
static const symbol s_5_14[5] = { 'i', 'r', 'a', 'i', 's' };
|
186
|
-
static const symbol s_5_15[6] = { 'i', 's', 's', 'a', 'i', 's' };
|
187
|
-
static const symbol s_5_16[6] = { 'i', 'r', 'i', 'o', 'n', 's' };
|
188
|
-
static const symbol s_5_17[7] = { 'i', 's', 's', 'i', 'o', 'n', 's' };
|
189
|
-
static const symbol s_5_18[5] = { 'i', 'r', 'o', 'n', 's' };
|
190
|
-
static const symbol s_5_19[6] = { 'i', 's', 's', 'o', 'n', 's' };
|
191
|
-
static const symbol s_5_20[7] = { 'i', 's', 's', 'a', 'n', 't', 's' };
|
192
|
-
static const symbol s_5_21[2] = { 'i', 't' };
|
193
|
-
static const symbol s_5_22[5] = { 'i', 'r', 'a', 'i', 't' };
|
194
|
-
static const symbol s_5_23[6] = { 'i', 's', 's', 'a', 'i', 't' };
|
195
|
-
static const symbol s_5_24[6] = { 'i', 's', 's', 'a', 'n', 't' };
|
196
|
-
static const symbol s_5_25[7] = { 'i', 'r', 'a', 'I', 'e', 'n', 't' };
|
197
|
-
static const symbol s_5_26[8] = { 'i', 's', 's', 'a', 'I', 'e', 'n', 't' };
|
198
|
-
static const symbol s_5_27[5] = { 'i', 'r', 'e', 'n', 't' };
|
199
|
-
static const symbol s_5_28[6] = { 'i', 's', 's', 'e', 'n', 't' };
|
200
|
-
static const symbol s_5_29[5] = { 'i', 'r', 'o', 'n', 't' };
|
201
|
-
static const symbol s_5_30[2] = { 0xEE, 't' };
|
202
|
-
static const symbol s_5_31[5] = { 'i', 'r', 'i', 'e', 'z' };
|
203
|
-
static const symbol s_5_32[6] = { 'i', 's', 's', 'i', 'e', 'z' };
|
204
|
-
static const symbol s_5_33[4] = { 'i', 'r', 'e', 'z' };
|
205
|
-
static const symbol s_5_34[5] = { 'i', 's', 's', 'e', 'z' };
|
206
|
-
|
207
|
-
static const struct among a_5[35] =
|
208
|
-
{
|
209
|
-
{ 3, s_5_0, -1, 1, 0},
|
210
|
-
{ 2, s_5_1, -1, 1, 0},
|
211
|
-
{ 4, s_5_2, -1, 1, 0},
|
212
|
-
{ 7, s_5_3, -1, 1, 0},
|
213
|
-
{ 1, s_5_4, -1, 1, 0},
|
214
|
-
{ 4, s_5_5, 4, 1, 0},
|
215
|
-
{ 2, s_5_6, -1, 1, 0},
|
216
|
-
{ 4, s_5_7, -1, 1, 0},
|
217
|
-
{ 3, s_5_8, -1, 1, 0},
|
218
|
-
{ 4, s_5_9, -1, 1, 0},
|
219
|
-
{ 5, s_5_10, -1, 1, 0},
|
220
|
-
{ 8, s_5_11, -1, 1, 0},
|
221
|
-
{ 4, s_5_12, -1, 1, 0},
|
222
|
-
{ 2, s_5_13, -1, 1, 0},
|
223
|
-
{ 5, s_5_14, 13, 1, 0},
|
224
|
-
{ 6, s_5_15, 13, 1, 0},
|
225
|
-
{ 6, s_5_16, -1, 1, 0},
|
226
|
-
{ 7, s_5_17, -1, 1, 0},
|
227
|
-
{ 5, s_5_18, -1, 1, 0},
|
228
|
-
{ 6, s_5_19, -1, 1, 0},
|
229
|
-
{ 7, s_5_20, -1, 1, 0},
|
230
|
-
{ 2, s_5_21, -1, 1, 0},
|
231
|
-
{ 5, s_5_22, 21, 1, 0},
|
232
|
-
{ 6, s_5_23, 21, 1, 0},
|
233
|
-
{ 6, s_5_24, -1, 1, 0},
|
234
|
-
{ 7, s_5_25, -1, 1, 0},
|
235
|
-
{ 8, s_5_26, -1, 1, 0},
|
236
|
-
{ 5, s_5_27, -1, 1, 0},
|
237
|
-
{ 6, s_5_28, -1, 1, 0},
|
238
|
-
{ 5, s_5_29, -1, 1, 0},
|
239
|
-
{ 2, s_5_30, -1, 1, 0},
|
240
|
-
{ 5, s_5_31, -1, 1, 0},
|
241
|
-
{ 6, s_5_32, -1, 1, 0},
|
242
|
-
{ 4, s_5_33, -1, 1, 0},
|
243
|
-
{ 5, s_5_34, -1, 1, 0}
|
244
|
-
};
|
245
|
-
|
246
|
-
static const symbol s_6_0[1] = { 'a' };
|
247
|
-
static const symbol s_6_1[3] = { 'e', 'r', 'a' };
|
248
|
-
static const symbol s_6_2[4] = { 'a', 's', 's', 'e' };
|
249
|
-
static const symbol s_6_3[4] = { 'a', 'n', 't', 'e' };
|
250
|
-
static const symbol s_6_4[2] = { 0xE9, 'e' };
|
251
|
-
static const symbol s_6_5[2] = { 'a', 'i' };
|
252
|
-
static const symbol s_6_6[4] = { 'e', 'r', 'a', 'i' };
|
253
|
-
static const symbol s_6_7[2] = { 'e', 'r' };
|
254
|
-
static const symbol s_6_8[2] = { 'a', 's' };
|
255
|
-
static const symbol s_6_9[4] = { 'e', 'r', 'a', 's' };
|
256
|
-
static const symbol s_6_10[4] = { 0xE2, 'm', 'e', 's' };
|
257
|
-
static const symbol s_6_11[5] = { 'a', 's', 's', 'e', 's' };
|
258
|
-
static const symbol s_6_12[5] = { 'a', 'n', 't', 'e', 's' };
|
259
|
-
static const symbol s_6_13[4] = { 0xE2, 't', 'e', 's' };
|
260
|
-
static const symbol s_6_14[3] = { 0xE9, 'e', 's' };
|
261
|
-
static const symbol s_6_15[3] = { 'a', 'i', 's' };
|
262
|
-
static const symbol s_6_16[5] = { 'e', 'r', 'a', 'i', 's' };
|
263
|
-
static const symbol s_6_17[4] = { 'i', 'o', 'n', 's' };
|
264
|
-
static const symbol s_6_18[6] = { 'e', 'r', 'i', 'o', 'n', 's' };
|
265
|
-
static const symbol s_6_19[7] = { 'a', 's', 's', 'i', 'o', 'n', 's' };
|
266
|
-
static const symbol s_6_20[5] = { 'e', 'r', 'o', 'n', 's' };
|
267
|
-
static const symbol s_6_21[4] = { 'a', 'n', 't', 's' };
|
268
|
-
static const symbol s_6_22[2] = { 0xE9, 's' };
|
269
|
-
static const symbol s_6_23[3] = { 'a', 'i', 't' };
|
270
|
-
static const symbol s_6_24[5] = { 'e', 'r', 'a', 'i', 't' };
|
271
|
-
static const symbol s_6_25[3] = { 'a', 'n', 't' };
|
272
|
-
static const symbol s_6_26[5] = { 'a', 'I', 'e', 'n', 't' };
|
273
|
-
static const symbol s_6_27[7] = { 'e', 'r', 'a', 'I', 'e', 'n', 't' };
|
274
|
-
static const symbol s_6_28[5] = { 0xE8, 'r', 'e', 'n', 't' };
|
275
|
-
static const symbol s_6_29[6] = { 'a', 's', 's', 'e', 'n', 't' };
|
276
|
-
static const symbol s_6_30[5] = { 'e', 'r', 'o', 'n', 't' };
|
277
|
-
static const symbol s_6_31[2] = { 0xE2, 't' };
|
278
|
-
static const symbol s_6_32[2] = { 'e', 'z' };
|
279
|
-
static const symbol s_6_33[3] = { 'i', 'e', 'z' };
|
280
|
-
static const symbol s_6_34[5] = { 'e', 'r', 'i', 'e', 'z' };
|
281
|
-
static const symbol s_6_35[6] = { 'a', 's', 's', 'i', 'e', 'z' };
|
282
|
-
static const symbol s_6_36[4] = { 'e', 'r', 'e', 'z' };
|
283
|
-
static const symbol s_6_37[1] = { 0xE9 };
|
284
|
-
|
285
|
-
static const struct among a_6[38] =
|
286
|
-
{
|
287
|
-
{ 1, s_6_0, -1, 3, 0},
|
288
|
-
{ 3, s_6_1, 0, 2, 0},
|
289
|
-
{ 4, s_6_2, -1, 3, 0},
|
290
|
-
{ 4, s_6_3, -1, 3, 0},
|
291
|
-
{ 2, s_6_4, -1, 2, 0},
|
292
|
-
{ 2, s_6_5, -1, 3, 0},
|
293
|
-
{ 4, s_6_6, 5, 2, 0},
|
294
|
-
{ 2, s_6_7, -1, 2, 0},
|
295
|
-
{ 2, s_6_8, -1, 3, 0},
|
296
|
-
{ 4, s_6_9, 8, 2, 0},
|
297
|
-
{ 4, s_6_10, -1, 3, 0},
|
298
|
-
{ 5, s_6_11, -1, 3, 0},
|
299
|
-
{ 5, s_6_12, -1, 3, 0},
|
300
|
-
{ 4, s_6_13, -1, 3, 0},
|
301
|
-
{ 3, s_6_14, -1, 2, 0},
|
302
|
-
{ 3, s_6_15, -1, 3, 0},
|
303
|
-
{ 5, s_6_16, 15, 2, 0},
|
304
|
-
{ 4, s_6_17, -1, 1, 0},
|
305
|
-
{ 6, s_6_18, 17, 2, 0},
|
306
|
-
{ 7, s_6_19, 17, 3, 0},
|
307
|
-
{ 5, s_6_20, -1, 2, 0},
|
308
|
-
{ 4, s_6_21, -1, 3, 0},
|
309
|
-
{ 2, s_6_22, -1, 2, 0},
|
310
|
-
{ 3, s_6_23, -1, 3, 0},
|
311
|
-
{ 5, s_6_24, 23, 2, 0},
|
312
|
-
{ 3, s_6_25, -1, 3, 0},
|
313
|
-
{ 5, s_6_26, -1, 3, 0},
|
314
|
-
{ 7, s_6_27, 26, 2, 0},
|
315
|
-
{ 5, s_6_28, -1, 2, 0},
|
316
|
-
{ 6, s_6_29, -1, 3, 0},
|
317
|
-
{ 5, s_6_30, -1, 2, 0},
|
318
|
-
{ 2, s_6_31, -1, 3, 0},
|
319
|
-
{ 2, s_6_32, -1, 2, 0},
|
320
|
-
{ 3, s_6_33, 32, 2, 0},
|
321
|
-
{ 5, s_6_34, 33, 2, 0},
|
322
|
-
{ 6, s_6_35, 33, 3, 0},
|
323
|
-
{ 4, s_6_36, 32, 2, 0},
|
324
|
-
{ 1, s_6_37, -1, 2, 0}
|
325
|
-
};
|
326
|
-
|
327
|
-
static const symbol s_7_0[1] = { 'e' };
|
328
|
-
static const symbol s_7_1[4] = { 'I', 0xE8, 'r', 'e' };
|
329
|
-
static const symbol s_7_2[4] = { 'i', 0xE8, 'r', 'e' };
|
330
|
-
static const symbol s_7_3[3] = { 'i', 'o', 'n' };
|
331
|
-
static const symbol s_7_4[3] = { 'I', 'e', 'r' };
|
332
|
-
static const symbol s_7_5[3] = { 'i', 'e', 'r' };
|
333
|
-
|
334
|
-
static const struct among a_7[6] =
|
335
|
-
{
|
336
|
-
{ 1, s_7_0, -1, 3, 0},
|
337
|
-
{ 4, s_7_1, 0, 2, 0},
|
338
|
-
{ 4, s_7_2, 0, 2, 0},
|
339
|
-
{ 3, s_7_3, -1, 1, 0},
|
340
|
-
{ 3, s_7_4, -1, 2, 0},
|
341
|
-
{ 3, s_7_5, -1, 2, 0}
|
342
|
-
};
|
343
|
-
|
344
|
-
static const symbol s_8_0[3] = { 'e', 'l', 'l' };
|
345
|
-
static const symbol s_8_1[4] = { 'e', 'i', 'l', 'l' };
|
346
|
-
static const symbol s_8_2[3] = { 'e', 'n', 'n' };
|
347
|
-
static const symbol s_8_3[3] = { 'o', 'n', 'n' };
|
348
|
-
static const symbol s_8_4[3] = { 'e', 't', 't' };
|
349
|
-
|
350
|
-
static const struct among a_8[5] =
|
351
|
-
{
|
352
|
-
{ 3, s_8_0, -1, -1, 0},
|
353
|
-
{ 4, s_8_1, -1, -1, 0},
|
354
|
-
{ 3, s_8_2, -1, -1, 0},
|
355
|
-
{ 3, s_8_3, -1, -1, 0},
|
356
|
-
{ 3, s_8_4, -1, -1, 0}
|
357
|
-
};
|
358
|
-
|
359
|
-
static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 130, 103, 8, 5 };
|
360
|
-
|
361
|
-
static const unsigned char g_keep_with_s[] = { 1, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
|
362
|
-
|
363
|
-
static const symbol s_0[] = { 'U' };
|
364
|
-
static const symbol s_1[] = { 'I' };
|
365
|
-
static const symbol s_2[] = { 'Y' };
|
366
|
-
static const symbol s_3[] = { 'H', 'e' };
|
367
|
-
static const symbol s_4[] = { 'H', 'i' };
|
368
|
-
static const symbol s_5[] = { 'Y' };
|
369
|
-
static const symbol s_6[] = { 'U' };
|
370
|
-
static const symbol s_7[] = { 'i' };
|
371
|
-
static const symbol s_8[] = { 'u' };
|
372
|
-
static const symbol s_9[] = { 'y' };
|
373
|
-
static const symbol s_10[] = { 0xEB };
|
374
|
-
static const symbol s_11[] = { 0xEF };
|
375
|
-
static const symbol s_12[] = { 'i', 'c' };
|
376
|
-
static const symbol s_13[] = { 'i', 'q', 'U' };
|
377
|
-
static const symbol s_14[] = { 'l', 'o', 'g' };
|
378
|
-
static const symbol s_15[] = { 'u' };
|
379
|
-
static const symbol s_16[] = { 'e', 'n', 't' };
|
380
|
-
static const symbol s_17[] = { 'a', 't' };
|
381
|
-
static const symbol s_18[] = { 'e', 'u', 'x' };
|
382
|
-
static const symbol s_19[] = { 'i' };
|
383
|
-
static const symbol s_20[] = { 'a', 'b', 'l' };
|
384
|
-
static const symbol s_21[] = { 'i', 'q', 'U' };
|
385
|
-
static const symbol s_22[] = { 'a', 't' };
|
386
|
-
static const symbol s_23[] = { 'i', 'c' };
|
387
|
-
static const symbol s_24[] = { 'i', 'q', 'U' };
|
388
|
-
static const symbol s_25[] = { 'e', 'a', 'u' };
|
389
|
-
static const symbol s_26[] = { 'a', 'l' };
|
390
|
-
static const symbol s_27[] = { 'e', 'u', 'x' };
|
391
|
-
static const symbol s_28[] = { 'a', 'n', 't' };
|
392
|
-
static const symbol s_29[] = { 'e', 'n', 't' };
|
393
|
-
static const symbol s_30[] = { 'H', 'i' };
|
394
|
-
static const symbol s_31[] = { 'i' };
|
395
|
-
static const symbol s_32[] = { 'e' };
|
396
|
-
static const symbol s_33[] = { 'i' };
|
397
|
-
static const symbol s_34[] = { 'c' };
|
398
|
-
|
399
|
-
static int r_prelude(struct SN_env * z) {
|
400
|
-
while(1) {
|
401
|
-
int c1 = z->c;
|
402
|
-
while(1) {
|
403
|
-
int c2 = z->c;
|
404
|
-
{ int c3 = z->c;
|
405
|
-
if (in_grouping(z, g_v, 97, 251, 0)) goto lab3;
|
406
|
-
z->bra = z->c;
|
407
|
-
{ int c4 = z->c;
|
408
|
-
if (z->c == z->l || z->p[z->c] != 'u') goto lab5;
|
409
|
-
z->c++;
|
410
|
-
z->ket = z->c;
|
411
|
-
if (in_grouping(z, g_v, 97, 251, 0)) goto lab5;
|
412
|
-
{ int ret = slice_from_s(z, 1, s_0);
|
413
|
-
if (ret < 0) return ret;
|
414
|
-
}
|
415
|
-
goto lab4;
|
416
|
-
lab5:
|
417
|
-
z->c = c4;
|
418
|
-
if (z->c == z->l || z->p[z->c] != 'i') goto lab6;
|
419
|
-
z->c++;
|
420
|
-
z->ket = z->c;
|
421
|
-
if (in_grouping(z, g_v, 97, 251, 0)) goto lab6;
|
422
|
-
{ int ret = slice_from_s(z, 1, s_1);
|
423
|
-
if (ret < 0) return ret;
|
424
|
-
}
|
425
|
-
goto lab4;
|
426
|
-
lab6:
|
427
|
-
z->c = c4;
|
428
|
-
if (z->c == z->l || z->p[z->c] != 'y') goto lab3;
|
429
|
-
z->c++;
|
430
|
-
z->ket = z->c;
|
431
|
-
{ int ret = slice_from_s(z, 1, s_2);
|
432
|
-
if (ret < 0) return ret;
|
433
|
-
}
|
434
|
-
}
|
435
|
-
lab4:
|
436
|
-
goto lab2;
|
437
|
-
lab3:
|
438
|
-
z->c = c3;
|
439
|
-
z->bra = z->c;
|
440
|
-
if (z->c == z->l || z->p[z->c] != 0xEB) goto lab7;
|
441
|
-
z->c++;
|
442
|
-
z->ket = z->c;
|
443
|
-
{ int ret = slice_from_s(z, 2, s_3);
|
444
|
-
if (ret < 0) return ret;
|
445
|
-
}
|
446
|
-
goto lab2;
|
447
|
-
lab7:
|
448
|
-
z->c = c3;
|
449
|
-
z->bra = z->c;
|
450
|
-
if (z->c == z->l || z->p[z->c] != 0xEF) goto lab8;
|
451
|
-
z->c++;
|
452
|
-
z->ket = z->c;
|
453
|
-
{ int ret = slice_from_s(z, 2, s_4);
|
454
|
-
if (ret < 0) return ret;
|
455
|
-
}
|
456
|
-
goto lab2;
|
457
|
-
lab8:
|
458
|
-
z->c = c3;
|
459
|
-
z->bra = z->c;
|
460
|
-
if (z->c == z->l || z->p[z->c] != 'y') goto lab9;
|
461
|
-
z->c++;
|
462
|
-
z->ket = z->c;
|
463
|
-
if (in_grouping(z, g_v, 97, 251, 0)) goto lab9;
|
464
|
-
{ int ret = slice_from_s(z, 1, s_5);
|
465
|
-
if (ret < 0) return ret;
|
466
|
-
}
|
467
|
-
goto lab2;
|
468
|
-
lab9:
|
469
|
-
z->c = c3;
|
470
|
-
if (z->c == z->l || z->p[z->c] != 'q') goto lab1;
|
471
|
-
z->c++;
|
472
|
-
z->bra = z->c;
|
473
|
-
if (z->c == z->l || z->p[z->c] != 'u') goto lab1;
|
474
|
-
z->c++;
|
475
|
-
z->ket = z->c;
|
476
|
-
{ int ret = slice_from_s(z, 1, s_6);
|
477
|
-
if (ret < 0) return ret;
|
478
|
-
}
|
479
|
-
}
|
480
|
-
lab2:
|
481
|
-
z->c = c2;
|
482
|
-
break;
|
483
|
-
lab1:
|
484
|
-
z->c = c2;
|
485
|
-
if (z->c >= z->l) goto lab0;
|
486
|
-
z->c++;
|
487
|
-
}
|
488
|
-
continue;
|
489
|
-
lab0:
|
490
|
-
z->c = c1;
|
491
|
-
break;
|
492
|
-
}
|
493
|
-
return 1;
|
494
|
-
}
|
495
|
-
|
496
|
-
static int r_mark_regions(struct SN_env * z) {
|
497
|
-
z->I[2] = z->l;
|
498
|
-
z->I[1] = z->l;
|
499
|
-
z->I[0] = z->l;
|
500
|
-
{ int c1 = z->c;
|
501
|
-
{ int c2 = z->c;
|
502
|
-
if (in_grouping(z, g_v, 97, 251, 0)) goto lab2;
|
503
|
-
if (in_grouping(z, g_v, 97, 251, 0)) goto lab2;
|
504
|
-
if (z->c >= z->l) goto lab2;
|
505
|
-
z->c++;
|
506
|
-
goto lab1;
|
507
|
-
lab2:
|
508
|
-
z->c = c2;
|
509
|
-
if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((331776 >> (z->p[z->c + 2] & 0x1f)) & 1)) goto lab3;
|
510
|
-
if (!(find_among(z, a_0, 3))) goto lab3;
|
511
|
-
goto lab1;
|
512
|
-
lab3:
|
513
|
-
z->c = c2;
|
514
|
-
if (z->c >= z->l) goto lab0;
|
515
|
-
z->c++;
|
516
|
-
{
|
517
|
-
int ret = out_grouping(z, g_v, 97, 251, 1);
|
518
|
-
if (ret < 0) goto lab0;
|
519
|
-
z->c += ret;
|
520
|
-
}
|
521
|
-
}
|
522
|
-
lab1:
|
523
|
-
z->I[2] = z->c;
|
524
|
-
lab0:
|
525
|
-
z->c = c1;
|
526
|
-
}
|
527
|
-
{ int c3 = z->c;
|
528
|
-
{
|
529
|
-
int ret = out_grouping(z, g_v, 97, 251, 1);
|
530
|
-
if (ret < 0) goto lab4;
|
531
|
-
z->c += ret;
|
532
|
-
}
|
533
|
-
{
|
534
|
-
int ret = in_grouping(z, g_v, 97, 251, 1);
|
535
|
-
if (ret < 0) goto lab4;
|
536
|
-
z->c += ret;
|
537
|
-
}
|
538
|
-
z->I[1] = z->c;
|
539
|
-
{
|
540
|
-
int ret = out_grouping(z, g_v, 97, 251, 1);
|
541
|
-
if (ret < 0) goto lab4;
|
542
|
-
z->c += ret;
|
543
|
-
}
|
544
|
-
{
|
545
|
-
int ret = in_grouping(z, g_v, 97, 251, 1);
|
546
|
-
if (ret < 0) goto lab4;
|
547
|
-
z->c += ret;
|
548
|
-
}
|
549
|
-
z->I[0] = z->c;
|
550
|
-
lab4:
|
551
|
-
z->c = c3;
|
552
|
-
}
|
553
|
-
return 1;
|
554
|
-
}
|
555
|
-
|
556
|
-
static int r_postlude(struct SN_env * z) {
|
557
|
-
int among_var;
|
558
|
-
while(1) {
|
559
|
-
int c1 = z->c;
|
560
|
-
z->bra = z->c;
|
561
|
-
if (z->c >= z->l || z->p[z->c + 0] >> 5 != 2 || !((35652352 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 7; else
|
562
|
-
among_var = find_among(z, a_1, 7);
|
563
|
-
if (!(among_var)) goto lab0;
|
564
|
-
z->ket = z->c;
|
565
|
-
switch (among_var) {
|
566
|
-
case 1:
|
567
|
-
{ int ret = slice_from_s(z, 1, s_7);
|
568
|
-
if (ret < 0) return ret;
|
569
|
-
}
|
570
|
-
break;
|
571
|
-
case 2:
|
572
|
-
{ int ret = slice_from_s(z, 1, s_8);
|
573
|
-
if (ret < 0) return ret;
|
574
|
-
}
|
575
|
-
break;
|
576
|
-
case 3:
|
577
|
-
{ int ret = slice_from_s(z, 1, s_9);
|
578
|
-
if (ret < 0) return ret;
|
579
|
-
}
|
580
|
-
break;
|
581
|
-
case 4:
|
582
|
-
{ int ret = slice_from_s(z, 1, s_10);
|
583
|
-
if (ret < 0) return ret;
|
584
|
-
}
|
585
|
-
break;
|
586
|
-
case 5:
|
587
|
-
{ int ret = slice_from_s(z, 1, s_11);
|
588
|
-
if (ret < 0) return ret;
|
589
|
-
}
|
590
|
-
break;
|
591
|
-
case 6:
|
592
|
-
{ int ret = slice_del(z);
|
593
|
-
if (ret < 0) return ret;
|
594
|
-
}
|
595
|
-
break;
|
596
|
-
case 7:
|
597
|
-
if (z->c >= z->l) goto lab0;
|
598
|
-
z->c++;
|
599
|
-
break;
|
600
|
-
}
|
601
|
-
continue;
|
602
|
-
lab0:
|
603
|
-
z->c = c1;
|
604
|
-
break;
|
605
|
-
}
|
606
|
-
return 1;
|
607
|
-
}
|
608
|
-
|
609
|
-
static int r_RV(struct SN_env * z) {
|
610
|
-
if (!(z->I[2] <= z->c)) return 0;
|
611
|
-
return 1;
|
612
|
-
}
|
613
|
-
|
614
|
-
static int r_R1(struct SN_env * z) {
|
615
|
-
if (!(z->I[1] <= z->c)) return 0;
|
616
|
-
return 1;
|
617
|
-
}
|
618
|
-
|
619
|
-
static int r_R2(struct SN_env * z) {
|
620
|
-
if (!(z->I[0] <= z->c)) return 0;
|
621
|
-
return 1;
|
622
|
-
}
|
623
|
-
|
624
|
-
static int r_standard_suffix(struct SN_env * z) {
|
625
|
-
int among_var;
|
626
|
-
z->ket = z->c;
|
627
|
-
among_var = find_among_b(z, a_4, 43);
|
628
|
-
if (!(among_var)) return 0;
|
629
|
-
z->bra = z->c;
|
630
|
-
switch (among_var) {
|
631
|
-
case 1:
|
632
|
-
{ int ret = r_R2(z);
|
633
|
-
if (ret <= 0) return ret;
|
634
|
-
}
|
635
|
-
{ int ret = slice_del(z);
|
636
|
-
if (ret < 0) return ret;
|
637
|
-
}
|
638
|
-
break;
|
639
|
-
case 2:
|
640
|
-
{ int ret = r_R2(z);
|
641
|
-
if (ret <= 0) return ret;
|
642
|
-
}
|
643
|
-
{ int ret = slice_del(z);
|
644
|
-
if (ret < 0) return ret;
|
645
|
-
}
|
646
|
-
{ int m1 = z->l - z->c; (void)m1;
|
647
|
-
z->ket = z->c;
|
648
|
-
if (!(eq_s_b(z, 2, s_12))) { z->c = z->l - m1; goto lab0; }
|
649
|
-
z->bra = z->c;
|
650
|
-
{ int m2 = z->l - z->c; (void)m2;
|
651
|
-
{ int ret = r_R2(z);
|
652
|
-
if (ret == 0) goto lab2;
|
653
|
-
if (ret < 0) return ret;
|
654
|
-
}
|
655
|
-
{ int ret = slice_del(z);
|
656
|
-
if (ret < 0) return ret;
|
657
|
-
}
|
658
|
-
goto lab1;
|
659
|
-
lab2:
|
660
|
-
z->c = z->l - m2;
|
661
|
-
{ int ret = slice_from_s(z, 3, s_13);
|
662
|
-
if (ret < 0) return ret;
|
663
|
-
}
|
664
|
-
}
|
665
|
-
lab1:
|
666
|
-
lab0:
|
667
|
-
;
|
668
|
-
}
|
669
|
-
break;
|
670
|
-
case 3:
|
671
|
-
{ int ret = r_R2(z);
|
672
|
-
if (ret <= 0) return ret;
|
673
|
-
}
|
674
|
-
{ int ret = slice_from_s(z, 3, s_14);
|
675
|
-
if (ret < 0) return ret;
|
676
|
-
}
|
677
|
-
break;
|
678
|
-
case 4:
|
679
|
-
{ int ret = r_R2(z);
|
680
|
-
if (ret <= 0) return ret;
|
681
|
-
}
|
682
|
-
{ int ret = slice_from_s(z, 1, s_15);
|
683
|
-
if (ret < 0) return ret;
|
684
|
-
}
|
685
|
-
break;
|
686
|
-
case 5:
|
687
|
-
{ int ret = r_R2(z);
|
688
|
-
if (ret <= 0) return ret;
|
689
|
-
}
|
690
|
-
{ int ret = slice_from_s(z, 3, s_16);
|
691
|
-
if (ret < 0) return ret;
|
692
|
-
}
|
693
|
-
break;
|
694
|
-
case 6:
|
695
|
-
{ int ret = r_RV(z);
|
696
|
-
if (ret <= 0) return ret;
|
697
|
-
}
|
698
|
-
{ int ret = slice_del(z);
|
699
|
-
if (ret < 0) return ret;
|
700
|
-
}
|
701
|
-
{ int m3 = z->l - z->c; (void)m3;
|
702
|
-
z->ket = z->c;
|
703
|
-
among_var = find_among_b(z, a_2, 6);
|
704
|
-
if (!(among_var)) { z->c = z->l - m3; goto lab3; }
|
705
|
-
z->bra = z->c;
|
706
|
-
switch (among_var) {
|
707
|
-
case 1:
|
708
|
-
{ int ret = r_R2(z);
|
709
|
-
if (ret == 0) { z->c = z->l - m3; goto lab3; }
|
710
|
-
if (ret < 0) return ret;
|
711
|
-
}
|
712
|
-
{ int ret = slice_del(z);
|
713
|
-
if (ret < 0) return ret;
|
714
|
-
}
|
715
|
-
z->ket = z->c;
|
716
|
-
if (!(eq_s_b(z, 2, s_17))) { z->c = z->l - m3; goto lab3; }
|
717
|
-
z->bra = z->c;
|
718
|
-
{ int ret = r_R2(z);
|
719
|
-
if (ret == 0) { z->c = z->l - m3; goto lab3; }
|
720
|
-
if (ret < 0) return ret;
|
721
|
-
}
|
722
|
-
{ int ret = slice_del(z);
|
723
|
-
if (ret < 0) return ret;
|
724
|
-
}
|
725
|
-
break;
|
726
|
-
case 2:
|
727
|
-
{ int m4 = z->l - z->c; (void)m4;
|
728
|
-
{ int ret = r_R2(z);
|
729
|
-
if (ret == 0) goto lab5;
|
730
|
-
if (ret < 0) return ret;
|
731
|
-
}
|
732
|
-
{ int ret = slice_del(z);
|
733
|
-
if (ret < 0) return ret;
|
734
|
-
}
|
735
|
-
goto lab4;
|
736
|
-
lab5:
|
737
|
-
z->c = z->l - m4;
|
738
|
-
{ int ret = r_R1(z);
|
739
|
-
if (ret == 0) { z->c = z->l - m3; goto lab3; }
|
740
|
-
if (ret < 0) return ret;
|
741
|
-
}
|
742
|
-
{ int ret = slice_from_s(z, 3, s_18);
|
743
|
-
if (ret < 0) return ret;
|
744
|
-
}
|
745
|
-
}
|
746
|
-
lab4:
|
747
|
-
break;
|
748
|
-
case 3:
|
749
|
-
{ int ret = r_R2(z);
|
750
|
-
if (ret == 0) { z->c = z->l - m3; goto lab3; }
|
751
|
-
if (ret < 0) return ret;
|
752
|
-
}
|
753
|
-
{ int ret = slice_del(z);
|
754
|
-
if (ret < 0) return ret;
|
755
|
-
}
|
756
|
-
break;
|
757
|
-
case 4:
|
758
|
-
{ int ret = r_RV(z);
|
759
|
-
if (ret == 0) { z->c = z->l - m3; goto lab3; }
|
760
|
-
if (ret < 0) return ret;
|
761
|
-
}
|
762
|
-
{ int ret = slice_from_s(z, 1, s_19);
|
763
|
-
if (ret < 0) return ret;
|
764
|
-
}
|
765
|
-
break;
|
766
|
-
}
|
767
|
-
lab3:
|
768
|
-
;
|
769
|
-
}
|
770
|
-
break;
|
771
|
-
case 7:
|
772
|
-
{ int ret = r_R2(z);
|
773
|
-
if (ret <= 0) return ret;
|
774
|
-
}
|
775
|
-
{ int ret = slice_del(z);
|
776
|
-
if (ret < 0) return ret;
|
777
|
-
}
|
778
|
-
{ int m5 = z->l - z->c; (void)m5;
|
779
|
-
z->ket = z->c;
|
780
|
-
if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m5; goto lab6; }
|
781
|
-
among_var = find_among_b(z, a_3, 3);
|
782
|
-
if (!(among_var)) { z->c = z->l - m5; goto lab6; }
|
783
|
-
z->bra = z->c;
|
784
|
-
switch (among_var) {
|
785
|
-
case 1:
|
786
|
-
{ int m6 = z->l - z->c; (void)m6;
|
787
|
-
{ int ret = r_R2(z);
|
788
|
-
if (ret == 0) goto lab8;
|
789
|
-
if (ret < 0) return ret;
|
790
|
-
}
|
791
|
-
{ int ret = slice_del(z);
|
792
|
-
if (ret < 0) return ret;
|
793
|
-
}
|
794
|
-
goto lab7;
|
795
|
-
lab8:
|
796
|
-
z->c = z->l - m6;
|
797
|
-
{ int ret = slice_from_s(z, 3, s_20);
|
798
|
-
if (ret < 0) return ret;
|
799
|
-
}
|
800
|
-
}
|
801
|
-
lab7:
|
802
|
-
break;
|
803
|
-
case 2:
|
804
|
-
{ int m7 = z->l - z->c; (void)m7;
|
805
|
-
{ int ret = r_R2(z);
|
806
|
-
if (ret == 0) goto lab10;
|
807
|
-
if (ret < 0) return ret;
|
808
|
-
}
|
809
|
-
{ int ret = slice_del(z);
|
810
|
-
if (ret < 0) return ret;
|
811
|
-
}
|
812
|
-
goto lab9;
|
813
|
-
lab10:
|
814
|
-
z->c = z->l - m7;
|
815
|
-
{ int ret = slice_from_s(z, 3, s_21);
|
816
|
-
if (ret < 0) return ret;
|
817
|
-
}
|
818
|
-
}
|
819
|
-
lab9:
|
820
|
-
break;
|
821
|
-
case 3:
|
822
|
-
{ int ret = r_R2(z);
|
823
|
-
if (ret == 0) { z->c = z->l - m5; goto lab6; }
|
824
|
-
if (ret < 0) return ret;
|
825
|
-
}
|
826
|
-
{ int ret = slice_del(z);
|
827
|
-
if (ret < 0) return ret;
|
828
|
-
}
|
829
|
-
break;
|
830
|
-
}
|
831
|
-
lab6:
|
832
|
-
;
|
833
|
-
}
|
834
|
-
break;
|
835
|
-
case 8:
|
836
|
-
{ int ret = r_R2(z);
|
837
|
-
if (ret <= 0) return ret;
|
838
|
-
}
|
839
|
-
{ int ret = slice_del(z);
|
840
|
-
if (ret < 0) return ret;
|
841
|
-
}
|
842
|
-
{ int m8 = z->l - z->c; (void)m8;
|
843
|
-
z->ket = z->c;
|
844
|
-
if (!(eq_s_b(z, 2, s_22))) { z->c = z->l - m8; goto lab11; }
|
845
|
-
z->bra = z->c;
|
846
|
-
{ int ret = r_R2(z);
|
847
|
-
if (ret == 0) { z->c = z->l - m8; goto lab11; }
|
848
|
-
if (ret < 0) return ret;
|
849
|
-
}
|
850
|
-
{ int ret = slice_del(z);
|
851
|
-
if (ret < 0) return ret;
|
852
|
-
}
|
853
|
-
z->ket = z->c;
|
854
|
-
if (!(eq_s_b(z, 2, s_23))) { z->c = z->l - m8; goto lab11; }
|
855
|
-
z->bra = z->c;
|
856
|
-
{ int m9 = z->l - z->c; (void)m9;
|
857
|
-
{ int ret = r_R2(z);
|
858
|
-
if (ret == 0) goto lab13;
|
859
|
-
if (ret < 0) return ret;
|
860
|
-
}
|
861
|
-
{ int ret = slice_del(z);
|
862
|
-
if (ret < 0) return ret;
|
863
|
-
}
|
864
|
-
goto lab12;
|
865
|
-
lab13:
|
866
|
-
z->c = z->l - m9;
|
867
|
-
{ int ret = slice_from_s(z, 3, s_24);
|
868
|
-
if (ret < 0) return ret;
|
869
|
-
}
|
870
|
-
}
|
871
|
-
lab12:
|
872
|
-
lab11:
|
873
|
-
;
|
874
|
-
}
|
875
|
-
break;
|
876
|
-
case 9:
|
877
|
-
{ int ret = slice_from_s(z, 3, s_25);
|
878
|
-
if (ret < 0) return ret;
|
879
|
-
}
|
880
|
-
break;
|
881
|
-
case 10:
|
882
|
-
{ int ret = r_R1(z);
|
883
|
-
if (ret <= 0) return ret;
|
884
|
-
}
|
885
|
-
{ int ret = slice_from_s(z, 2, s_26);
|
886
|
-
if (ret < 0) return ret;
|
887
|
-
}
|
888
|
-
break;
|
889
|
-
case 11:
|
890
|
-
{ int m10 = z->l - z->c; (void)m10;
|
891
|
-
{ int ret = r_R2(z);
|
892
|
-
if (ret == 0) goto lab15;
|
893
|
-
if (ret < 0) return ret;
|
894
|
-
}
|
895
|
-
{ int ret = slice_del(z);
|
896
|
-
if (ret < 0) return ret;
|
897
|
-
}
|
898
|
-
goto lab14;
|
899
|
-
lab15:
|
900
|
-
z->c = z->l - m10;
|
901
|
-
{ int ret = r_R1(z);
|
902
|
-
if (ret <= 0) return ret;
|
903
|
-
}
|
904
|
-
{ int ret = slice_from_s(z, 3, s_27);
|
905
|
-
if (ret < 0) return ret;
|
906
|
-
}
|
907
|
-
}
|
908
|
-
lab14:
|
909
|
-
break;
|
910
|
-
case 12:
|
911
|
-
{ int ret = r_R1(z);
|
912
|
-
if (ret <= 0) return ret;
|
913
|
-
}
|
914
|
-
if (out_grouping_b(z, g_v, 97, 251, 0)) return 0;
|
915
|
-
{ int ret = slice_del(z);
|
916
|
-
if (ret < 0) return ret;
|
917
|
-
}
|
918
|
-
break;
|
919
|
-
case 13:
|
920
|
-
{ int ret = r_RV(z);
|
921
|
-
if (ret <= 0) return ret;
|
922
|
-
}
|
923
|
-
{ int ret = slice_from_s(z, 3, s_28);
|
924
|
-
if (ret < 0) return ret;
|
925
|
-
}
|
926
|
-
return 0;
|
927
|
-
break;
|
928
|
-
case 14:
|
929
|
-
{ int ret = r_RV(z);
|
930
|
-
if (ret <= 0) return ret;
|
931
|
-
}
|
932
|
-
{ int ret = slice_from_s(z, 3, s_29);
|
933
|
-
if (ret < 0) return ret;
|
934
|
-
}
|
935
|
-
return 0;
|
936
|
-
break;
|
937
|
-
case 15:
|
938
|
-
{ int m_test11 = z->l - z->c;
|
939
|
-
if (in_grouping_b(z, g_v, 97, 251, 0)) return 0;
|
940
|
-
{ int ret = r_RV(z);
|
941
|
-
if (ret <= 0) return ret;
|
942
|
-
}
|
943
|
-
z->c = z->l - m_test11;
|
944
|
-
}
|
945
|
-
{ int ret = slice_del(z);
|
946
|
-
if (ret < 0) return ret;
|
947
|
-
}
|
948
|
-
return 0;
|
949
|
-
break;
|
950
|
-
}
|
951
|
-
return 1;
|
952
|
-
}
|
953
|
-
|
954
|
-
static int r_i_verb_suffix(struct SN_env * z) {
|
955
|
-
|
956
|
-
{ int mlimit1;
|
957
|
-
if (z->c < z->I[2]) return 0;
|
958
|
-
mlimit1 = z->lb; z->lb = z->I[2];
|
959
|
-
z->ket = z->c;
|
960
|
-
if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68944418 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit1; return 0; }
|
961
|
-
if (!(find_among_b(z, a_5, 35))) { z->lb = mlimit1; return 0; }
|
962
|
-
z->bra = z->c;
|
963
|
-
{ int m2 = z->l - z->c; (void)m2;
|
964
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 'H') goto lab0;
|
965
|
-
z->c--;
|
966
|
-
{ z->lb = mlimit1; return 0; }
|
967
|
-
lab0:
|
968
|
-
z->c = z->l - m2;
|
969
|
-
}
|
970
|
-
if (out_grouping_b(z, g_v, 97, 251, 0)) { z->lb = mlimit1; return 0; }
|
971
|
-
{ int ret = slice_del(z);
|
972
|
-
if (ret < 0) return ret;
|
973
|
-
}
|
974
|
-
z->lb = mlimit1;
|
975
|
-
}
|
976
|
-
return 1;
|
977
|
-
}
|
978
|
-
|
979
|
-
static int r_verb_suffix(struct SN_env * z) {
|
980
|
-
int among_var;
|
981
|
-
|
982
|
-
{ int mlimit1;
|
983
|
-
if (z->c < z->I[2]) return 0;
|
984
|
-
mlimit1 = z->lb; z->lb = z->I[2];
|
985
|
-
z->ket = z->c;
|
986
|
-
among_var = find_among_b(z, a_6, 38);
|
987
|
-
if (!(among_var)) { z->lb = mlimit1; return 0; }
|
988
|
-
z->bra = z->c;
|
989
|
-
switch (among_var) {
|
990
|
-
case 1:
|
991
|
-
{ int ret = r_R2(z);
|
992
|
-
if (ret == 0) { z->lb = mlimit1; return 0; }
|
993
|
-
if (ret < 0) return ret;
|
994
|
-
}
|
995
|
-
{ int ret = slice_del(z);
|
996
|
-
if (ret < 0) return ret;
|
997
|
-
}
|
998
|
-
break;
|
999
|
-
case 2:
|
1000
|
-
{ int ret = slice_del(z);
|
1001
|
-
if (ret < 0) return ret;
|
1002
|
-
}
|
1003
|
-
break;
|
1004
|
-
case 3:
|
1005
|
-
{ int ret = slice_del(z);
|
1006
|
-
if (ret < 0) return ret;
|
1007
|
-
}
|
1008
|
-
{ int m2 = z->l - z->c; (void)m2;
|
1009
|
-
z->ket = z->c;
|
1010
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 'e') { z->c = z->l - m2; goto lab0; }
|
1011
|
-
z->c--;
|
1012
|
-
z->bra = z->c;
|
1013
|
-
{ int ret = slice_del(z);
|
1014
|
-
if (ret < 0) return ret;
|
1015
|
-
}
|
1016
|
-
lab0:
|
1017
|
-
;
|
1018
|
-
}
|
1019
|
-
break;
|
1020
|
-
}
|
1021
|
-
z->lb = mlimit1;
|
1022
|
-
}
|
1023
|
-
return 1;
|
1024
|
-
}
|
1025
|
-
|
1026
|
-
static int r_residual_suffix(struct SN_env * z) {
|
1027
|
-
int among_var;
|
1028
|
-
{ int m1 = z->l - z->c; (void)m1;
|
1029
|
-
z->ket = z->c;
|
1030
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 's') { z->c = z->l - m1; goto lab0; }
|
1031
|
-
z->c--;
|
1032
|
-
z->bra = z->c;
|
1033
|
-
{ int m_test2 = z->l - z->c;
|
1034
|
-
{ int m3 = z->l - z->c; (void)m3;
|
1035
|
-
if (!(eq_s_b(z, 2, s_30))) goto lab2;
|
1036
|
-
goto lab1;
|
1037
|
-
lab2:
|
1038
|
-
z->c = z->l - m3;
|
1039
|
-
if (out_grouping_b(z, g_keep_with_s, 97, 232, 0)) { z->c = z->l - m1; goto lab0; }
|
1040
|
-
}
|
1041
|
-
lab1:
|
1042
|
-
z->c = z->l - m_test2;
|
1043
|
-
}
|
1044
|
-
{ int ret = slice_del(z);
|
1045
|
-
if (ret < 0) return ret;
|
1046
|
-
}
|
1047
|
-
lab0:
|
1048
|
-
;
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
{ int mlimit4;
|
1052
|
-
if (z->c < z->I[2]) return 0;
|
1053
|
-
mlimit4 = z->lb; z->lb = z->I[2];
|
1054
|
-
z->ket = z->c;
|
1055
|
-
if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((278560 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit4; return 0; }
|
1056
|
-
among_var = find_among_b(z, a_7, 6);
|
1057
|
-
if (!(among_var)) { z->lb = mlimit4; return 0; }
|
1058
|
-
z->bra = z->c;
|
1059
|
-
switch (among_var) {
|
1060
|
-
case 1:
|
1061
|
-
{ int ret = r_R2(z);
|
1062
|
-
if (ret == 0) { z->lb = mlimit4; return 0; }
|
1063
|
-
if (ret < 0) return ret;
|
1064
|
-
}
|
1065
|
-
{ int m5 = z->l - z->c; (void)m5;
|
1066
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab4;
|
1067
|
-
z->c--;
|
1068
|
-
goto lab3;
|
1069
|
-
lab4:
|
1070
|
-
z->c = z->l - m5;
|
1071
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = mlimit4; return 0; }
|
1072
|
-
z->c--;
|
1073
|
-
}
|
1074
|
-
lab3:
|
1075
|
-
{ int ret = slice_del(z);
|
1076
|
-
if (ret < 0) return ret;
|
1077
|
-
}
|
1078
|
-
break;
|
1079
|
-
case 2:
|
1080
|
-
{ int ret = slice_from_s(z, 1, s_31);
|
1081
|
-
if (ret < 0) return ret;
|
1082
|
-
}
|
1083
|
-
break;
|
1084
|
-
case 3:
|
1085
|
-
{ int ret = slice_del(z);
|
1086
|
-
if (ret < 0) return ret;
|
1087
|
-
}
|
1088
|
-
break;
|
1089
|
-
}
|
1090
|
-
z->lb = mlimit4;
|
1091
|
-
}
|
1092
|
-
return 1;
|
1093
|
-
}
|
1094
|
-
|
1095
|
-
static int r_un_double(struct SN_env * z) {
|
1096
|
-
{ int m_test1 = z->l - z->c;
|
1097
|
-
if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1069056 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
|
1098
|
-
if (!(find_among_b(z, a_8, 5))) return 0;
|
1099
|
-
z->c = z->l - m_test1;
|
1100
|
-
}
|
1101
|
-
z->ket = z->c;
|
1102
|
-
if (z->c <= z->lb) return 0;
|
1103
|
-
z->c--;
|
1104
|
-
z->bra = z->c;
|
1105
|
-
{ int ret = slice_del(z);
|
1106
|
-
if (ret < 0) return ret;
|
1107
|
-
}
|
1108
|
-
return 1;
|
1109
|
-
}
|
1110
|
-
|
1111
|
-
static int r_un_accent(struct SN_env * z) {
|
1112
|
-
{ int i = 1;
|
1113
|
-
while(1) {
|
1114
|
-
if (out_grouping_b(z, g_v, 97, 251, 0)) goto lab0;
|
1115
|
-
i--;
|
1116
|
-
continue;
|
1117
|
-
lab0:
|
1118
|
-
break;
|
1119
|
-
}
|
1120
|
-
if (i > 0) return 0;
|
1121
|
-
}
|
1122
|
-
z->ket = z->c;
|
1123
|
-
{ int m1 = z->l - z->c; (void)m1;
|
1124
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 0xE9) goto lab2;
|
1125
|
-
z->c--;
|
1126
|
-
goto lab1;
|
1127
|
-
lab2:
|
1128
|
-
z->c = z->l - m1;
|
1129
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 0xE8) return 0;
|
1130
|
-
z->c--;
|
1131
|
-
}
|
1132
|
-
lab1:
|
1133
|
-
z->bra = z->c;
|
1134
|
-
{ int ret = slice_from_s(z, 1, s_32);
|
1135
|
-
if (ret < 0) return ret;
|
1136
|
-
}
|
1137
|
-
return 1;
|
1138
|
-
}
|
1139
|
-
|
1140
|
-
extern int french_ISO_8859_1_stem(struct SN_env * z) {
|
1141
|
-
{ int c1 = z->c;
|
1142
|
-
{ int ret = r_prelude(z);
|
1143
|
-
if (ret < 0) return ret;
|
1144
|
-
}
|
1145
|
-
z->c = c1;
|
1146
|
-
}
|
1147
|
-
|
1148
|
-
{ int ret = r_mark_regions(z);
|
1149
|
-
if (ret < 0) return ret;
|
1150
|
-
}
|
1151
|
-
z->lb = z->c; z->c = z->l;
|
1152
|
-
|
1153
|
-
{ int m2 = z->l - z->c; (void)m2;
|
1154
|
-
{ int m3 = z->l - z->c; (void)m3;
|
1155
|
-
{ int m4 = z->l - z->c; (void)m4;
|
1156
|
-
{ int m5 = z->l - z->c; (void)m5;
|
1157
|
-
{ int ret = r_standard_suffix(z);
|
1158
|
-
if (ret == 0) goto lab4;
|
1159
|
-
if (ret < 0) return ret;
|
1160
|
-
}
|
1161
|
-
goto lab3;
|
1162
|
-
lab4:
|
1163
|
-
z->c = z->l - m5;
|
1164
|
-
{ int ret = r_i_verb_suffix(z);
|
1165
|
-
if (ret == 0) goto lab5;
|
1166
|
-
if (ret < 0) return ret;
|
1167
|
-
}
|
1168
|
-
goto lab3;
|
1169
|
-
lab5:
|
1170
|
-
z->c = z->l - m5;
|
1171
|
-
{ int ret = r_verb_suffix(z);
|
1172
|
-
if (ret == 0) goto lab2;
|
1173
|
-
if (ret < 0) return ret;
|
1174
|
-
}
|
1175
|
-
}
|
1176
|
-
lab3:
|
1177
|
-
z->c = z->l - m4;
|
1178
|
-
{ int m6 = z->l - z->c; (void)m6;
|
1179
|
-
z->ket = z->c;
|
1180
|
-
{ int m7 = z->l - z->c; (void)m7;
|
1181
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 'Y') goto lab8;
|
1182
|
-
z->c--;
|
1183
|
-
z->bra = z->c;
|
1184
|
-
{ int ret = slice_from_s(z, 1, s_33);
|
1185
|
-
if (ret < 0) return ret;
|
1186
|
-
}
|
1187
|
-
goto lab7;
|
1188
|
-
lab8:
|
1189
|
-
z->c = z->l - m7;
|
1190
|
-
if (z->c <= z->lb || z->p[z->c - 1] != 0xE7) { z->c = z->l - m6; goto lab6; }
|
1191
|
-
z->c--;
|
1192
|
-
z->bra = z->c;
|
1193
|
-
{ int ret = slice_from_s(z, 1, s_34);
|
1194
|
-
if (ret < 0) return ret;
|
1195
|
-
}
|
1196
|
-
}
|
1197
|
-
lab7:
|
1198
|
-
lab6:
|
1199
|
-
;
|
1200
|
-
}
|
1201
|
-
}
|
1202
|
-
goto lab1;
|
1203
|
-
lab2:
|
1204
|
-
z->c = z->l - m3;
|
1205
|
-
{ int ret = r_residual_suffix(z);
|
1206
|
-
if (ret == 0) goto lab0;
|
1207
|
-
if (ret < 0) return ret;
|
1208
|
-
}
|
1209
|
-
}
|
1210
|
-
lab1:
|
1211
|
-
lab0:
|
1212
|
-
z->c = z->l - m2;
|
1213
|
-
}
|
1214
|
-
{ int m8 = z->l - z->c; (void)m8;
|
1215
|
-
{ int ret = r_un_double(z);
|
1216
|
-
if (ret < 0) return ret;
|
1217
|
-
}
|
1218
|
-
z->c = z->l - m8;
|
1219
|
-
}
|
1220
|
-
{ int m9 = z->l - z->c; (void)m9;
|
1221
|
-
{ int ret = r_un_accent(z);
|
1222
|
-
if (ret < 0) return ret;
|
1223
|
-
}
|
1224
|
-
z->c = z->l - m9;
|
1225
|
-
}
|
1226
|
-
z->c = z->lb;
|
1227
|
-
{ int c10 = z->c;
|
1228
|
-
{ int ret = r_postlude(z);
|
1229
|
-
if (ret < 0) return ret;
|
1230
|
-
}
|
1231
|
-
z->c = c10;
|
1232
|
-
}
|
1233
|
-
return 1;
|
1234
|
-
}
|
1235
|
-
|
1236
|
-
extern struct SN_env * french_ISO_8859_1_create_env(void) { return SN_create_env(0, 3); }
|
1237
|
-
|
1238
|
-
extern void french_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); }
|
1239
|
-
|