OLD | NEW |
1 | 1 |
2 #line 1 "hb-ot-shape-complex-use-machine.rl" | 2 #line 1 "hb-ot-shape-complex-use-machine.rl" |
3 /* | 3 /* |
4 * Copyright © 2015 Mozilla Foundation. | 4 * Copyright © 2015 Mozilla Foundation. |
5 * Copyright © 2015 Google, Inc. | 5 * Copyright © 2015 Google, Inc. |
6 * | 6 * |
7 * This is part of HarfBuzz, a text shaping library. | 7 * This is part of HarfBuzz, a text shaping library. |
8 * | 8 * |
9 * Permission is hereby granted, without written agreement and without | 9 * Permission is hereby granted, without written agreement and without |
10 * license or royalty fees, to use, copy, modify, and distribute this | 10 * license or royalty fees, to use, copy, modify, and distribute this |
(...skipping 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH | 31 #ifndef HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH |
32 #define HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH | 32 #define HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH |
33 | 33 |
34 #include "hb-private.hh" | 34 #include "hb-private.hh" |
35 | 35 |
36 | 36 |
37 #line 38 "hb-ot-shape-complex-use-machine.hh" | 37 #line 38 "hb-ot-shape-complex-use-machine.hh" |
38 static const unsigned char _use_syllable_machine_trans_keys[] = { | 38 static const unsigned char _use_syllable_machine_trans_keys[] = { |
39 » 0u, 0u, 4u, 4u, 1u, 1u, 0u, 39u, 21u, 21u, 8u, 39u, 8u, 39u, 1u, 1u, | 39 » 1u, 1u, 0u, 39u, 21u, 21u, 8u, 39u, 8u, 39u, 1u, 1u, 8u, 39u, 8u, 39u, |
40 » 8u, 39u, 8u, 39u, 8u, 39u, 8u, 26u, 8u, 26u, 8u, 26u, 8u, 39u, 8u, 39u, | 40 » 8u, 39u, 8u, 26u, 8u, 26u, 8u, 26u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, |
41 » 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, | 41 » 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 13u, 21u,
|
42 » 8u, 39u, 8u, 39u, 8u, 39u, 1u, 1u, 8u, 39u, 8u, 39u, 8u, 26u, 8u, 26u, | 42 » 4u, 4u, 13u, 13u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 26u, 8u, 26u, |
43 8u, 26u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, | 43 8u, 26u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, |
44 » 8u, 39u, 12u, 21u, 12u, 13u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 26u
, | 44 » 8u, 39u, 8u, 39u, 8u, 39u, 1u, 1u, 1u, 39u, 8u, 39u, 21u, 42u, 41u, 42u,
|
45 » 8u, 26u, 8u, 26u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, | |
46 » 8u, 39u, 8u, 39u, 8u, 39u, 8u, 39u, 1u, 39u, 8u, 39u, 21u, 42u, 41u, 42u
, | |
47 42u, 42u, 0 | 45 42u, 42u, 0 |
48 }; | 46 }; |
49 | 47 |
50 static const char _use_syllable_machine_key_spans[] = { | 48 static const char _use_syllable_machine_key_spans[] = { |
51 » 0, 1, 1, 40, 1, 32, 32, 1, | 49 » 1, 40, 1, 32, 32, 1, 32, 32, |
52 » 32, 32, 32, 19, 19, 19, 32, 32, | 50 » 32, 19, 19, 19, 32, 32, 32, 32, |
53 » 32, 32, 32, 32, 32, 32, 32, 32, | 51 » 32, 32, 32, 32, 32, 32, 32, 9, |
54 » 32, 32, 32, 1, 32, 32, 19, 19, | 52 » 1, 1, 32, 32, 32, 32, 19, 19, |
55 19, 32, 32, 32, 32, 32, 32, 32, | 53 19, 32, 32, 32, 32, 32, 32, 32, |
56 » 32, 10, 2, 32, 32, 32, 32, 19, | 54 » 32, 32, 32, 1, 39, 32, 22, 2, |
57 » 19, 19, 32, 32, 32, 32, 32, 32, | |
58 » 32, 32, 32, 32, 39, 32, 22, 2, | |
59 1 | 55 1 |
60 }; | 56 }; |
61 | 57 |
62 static const short _use_syllable_machine_index_offsets[] = { | 58 static const short _use_syllable_machine_index_offsets[] = { |
63 » 0, 0, 2, 4, 45, 47, 80, 113, | 59 » 0, 2, 43, 45, 78, 111, 113, 146, |
64 » 115, 148, 181, 214, 234, 254, 274, 307, | 60 » 179, 212, 232, 252, 272, 305, 338, 371, |
65 » 340, 373, 406, 439, 472, 505, 538, 571, | 61 » 404, 437, 470, 503, 536, 569, 602, 635, |
66 » 604, 637, 670, 703, 705, 738, 771, 791, | 62 » 645, 647, 649, 682, 715, 748, 781, 801, |
67 » 811, 831, 864, 897, 930, 963, 996, 1029, | 63 » 821, 841, 874, 907, 940, 973, 1006, 1039, |
68 » 1062, 1095, 1106, 1109, 1142, 1175, 1208, 1241, | 64 » 1072, 1105, 1138, 1171, 1173, 1213, 1246, 1269, |
69 » 1261, 1281, 1301, 1334, 1367, 1400, 1433, 1466, | 65 » 1272 |
70 » 1499, 1532, 1565, 1598, 1631, 1671, 1704, 1727, | |
71 » 1730 | |
72 }; | 66 }; |
73 | 67 |
74 static const char _use_syllable_machine_indicies[] = { | 68 static const char _use_syllable_machine_indicies[] = { |
75 1, 0, 3, 2, 4, 5, 6, | 69 1, 0, 2, 3, 4, 2, 5, 3, |
76 4, 1, 5, 8, 8, 7, 8, 8, | 70 4, 4, 6, 4, 4, 1, 7, 4, |
77 3, 9, 8, 8, 8, 4, 4, 10, | 71 4, 4, 2, 2, 8, 9, 4, 4, |
78 11, 8, 8, 12, 13, 14, 15, 16, | 72 10, 11, 12, 13, 14, 15, 16, 10, |
79 17, 18, 12, 19, 20, 21, 22, 23, | 73 17, 18, 19, 20, 21, 22, 4, 23, |
80 24, 8, 25, 26, 27, 8, 29, 28, | 74 24, 25, 4, 27, 26, 29, 28, 28, |
81 31, 30, 30, 32, 33, 30, 30, 30, | 75 30, 31, 28, 28, 28, 28, 28, 28, |
82 30, 30, 30, 30, 30, 34, 35, 36, | 76 28, 28, 32, 33, 34, 35, 36, 37, |
83 37, 38, 39, 40, 41, 35, 42, 34, | 77 38, 39, 33, 40, 32, 41, 42, 43, |
84 43, 44, 45, 46, 30, 47, 48, 49, | 78 44, 28, 45, 46, 47, 28, 29, 28, |
85 30, 31, 30, 30, 32, 33, 30, 30, | 79 28, 30, 31, 28, 28, 28, 28, 28, |
86 30, 30, 30, 30, 30, 30, 50, 35, | 80 28, 28, 28, 48, 33, 34, 35, 36, |
87 36, 37, 38, 39, 40, 41, 35, 42, | 81 37, 38, 39, 33, 40, 41, 41, 42, |
88 43, 43, 44, 45, 46, 30, 47, 48, | 82 43, 44, 28, 45, 46, 47, 28, 30, |
89 49, 30, 32, 51, 31, 30, 30, 32, | 83 49, 29, 28, 28, 30, 31, 28, 28, |
90 33, 30, 30, 30, 30, 30, 30, 30, | 84 28, 28, 28, 28, 28, 28, 28, 33, |
91 30, 30, 35, 36, 37, 38, 39, 40, | 85 34, 35, 36, 37, 38, 39, 33, 40, |
92 41, 35, 42, 43, 43, 44, 45, 46, | 86 41, 41, 42, 43, 44, 28, 45, 46, |
93 30, 47, 48, 49, 30, 31, 30, 30, | 87 47, 28, 29, 28, 28, 28, 28, 28, |
94 30, 30, 30, 30, 30, 30, 30, 30, | 88 28, 28, 28, 28, 28, 28, 28, 28, |
95 30, 30, 30, 35, 36, 37, 38, 39, | 89 33, 34, 35, 36, 37, 28, 28, 28, |
96 30, 30, 30, 30, 30, 30, 44, 45, | 90 28, 28, 28, 42, 43, 44, 28, 45, |
97 46, 30, 47, 48, 49, 30, 31, 30, | 91 46, 47, 28, 29, 28, 28, 28, 28, |
98 30, 30, 30, 30, 30, 30, 30, 30, | 92 28, 28, 28, 28, 28, 28, 28, 28, |
99 30, 30, 30, 30, 30, 36, 37, 38, | 93 28, 28, 34, 35, 36, 37, 28, 28, |
100 39, 30, 30, 30, 30, 30, 30, 30, | 94 28, 28, 28, 28, 28, 28, 28, 28, |
101 30, 30, 30, 47, 48, 49, 30, 31, | 95 45, 46, 47, 28, 29, 28, 28, 28, |
102 30, 30, 30, 30, 30, 30, 30, 30, | 96 28, 28, 28, 28, 28, 28, 28, 28, |
103 30, 30, 30, 30, 30, 30, 30, 37, | 97 28, 28, 28, 28, 35, 36, 37, 28, |
104 38, 39, 30, 31, 30, 30, 30, 30, | 98 29, 28, 28, 28, 28, 28, 28, 28, |
105 30, 30, 30, 30, 30, 30, 30, 30, | 99 28, 28, 28, 28, 28, 28, 28, 28, |
106 30, 30, 30, 30, 38, 39, 30, 31, | 100 28, 36, 37, 28, 29, 28, 28, 28, |
107 30, 30, 30, 30, 30, 30, 30, 30, | 101 28, 28, 28, 28, 28, 28, 28, 28, |
108 30, 30, 30, 30, 30, 30, 30, 30, | 102 28, 28, 28, 28, 28, 28, 37, 28, |
109 30, 39, 30, 31, 30, 30, 30, 30, | 103 29, 28, 28, 28, 28, 28, 28, 28, |
110 30, 30, 30, 30, 30, 30, 30, 30, | 104 28, 28, 28, 28, 28, 28, 28, 28, |
111 30, 30, 30, 37, 38, 39, 30, 30, | 105 35, 36, 37, 28, 28, 28, 28, 28, |
112 30, 30, 30, 30, 30, 30, 30, 30, | 106 28, 28, 28, 28, 28, 45, 46, 47, |
113 47, 48, 49, 30, 31, 30, 30, 30, | 107 28, 29, 28, 28, 28, 28, 28, 28, |
114 30, 30, 30, 30, 30, 30, 30, 30, | 108 28, 28, 28, 28, 28, 28, 28, 28, |
115 30, 30, 30, 30, 37, 38, 39, 30, | 109 28, 35, 36, 37, 28, 28, 28, 28, |
116 30, 30, 30, 30, 30, 30, 30, 30, | 110 28, 28, 28, 28, 28, 28, 28, 46, |
117 30, 30, 48, 49, 30, 31, 30, 30, | 111 47, 28, 29, 28, 28, 28, 28, 28, |
118 30, 30, 30, 30, 30, 30, 30, 30, | 112 28, 28, 28, 28, 28, 28, 28, 28, |
119 30, 30, 30, 30, 30, 37, 38, 39, | 113 28, 28, 35, 36, 37, 28, 28, 28, |
120 30, 30, 30, 30, 30, 30, 30, 30, | 114 28, 28, 28, 28, 28, 28, 28, 28, |
121 30, 30, 30, 30, 49, 30, 31, 30, | 115 28, 47, 28, 29, 28, 28, 28, 28, |
122 30, 30, 30, 30, 30, 30, 30, 30, | 116 28, 28, 28, 28, 28, 28, 28, 28, |
123 30, 30, 30, 30, 30, 36, 37, 38, | 117 28, 28, 34, 35, 36, 37, 28, 28, |
124 39, 30, 30, 30, 30, 30, 30, 44, | 118 28, 28, 28, 28, 42, 43, 44, 28, |
125 45, 46, 30, 47, 48, 49, 30, 31, | 119 45, 46, 47, 28, 29, 28, 28, 28, |
126 30, 30, 30, 30, 30, 30, 30, 30, | 120 28, 28, 28, 28, 28, 28, 28, 28, |
127 30, 30, 30, 30, 30, 30, 36, 37, | 121 28, 28, 28, 34, 35, 36, 37, 28, |
128 38, 39, 30, 30, 30, 30, 30, 30, | 122 28, 28, 28, 28, 28, 28, 43, 44, |
129 30, 45, 46, 30, 47, 48, 49, 30, | 123 28, 45, 46, 47, 28, 29, 28, 28, |
130 31, 30, 30, 30, 30, 30, 30, 30, | 124 28, 28, 28, 28, 28, 28, 28, 28, |
131 30, 30, 30, 30, 30, 30, 30, 36, | 125 28, 28, 28, 28, 34, 35, 36, 37, |
132 37, 38, 39, 30, 30, 30, 30, 30, | 126 28, 28, 28, 28, 28, 28, 28, 28, |
133 30, 30, 30, 46, 30, 47, 48, 49, | 127 44, 28, 45, 46, 47, 28, 29, 28, |
134 30, 31, 30, 30, 30, 30, 30, 30, | 128 28, 28, 28, 28, 28, 28, 28, 28, |
135 30, 30, 30, 30, 30, 30, 30, 35, | 129 28, 28, 28, 28, 33, 34, 35, 36, |
136 36, 37, 38, 39, 30, 41, 35, 30, | 130 37, 28, 39, 33, 28, 28, 28, 42, |
137 30, 30, 44, 45, 46, 30, 47, 48, | 131 43, 44, 28, 45, 46, 47, 28, 29, |
138 49, 30, 31, 30, 30, 30, 30, 30, | 132 28, 28, 28, 28, 28, 28, 28, 28, |
139 30, 30, 30, 30, 30, 30, 30, 30, | 133 28, 28, 28, 28, 28, 33, 34, 35, |
140 35, 36, 37, 38, 39, 30, 30, 35, | 134 36, 37, 28, 28, 33, 28, 28, 28, |
141 30, 30, 30, 44, 45, 46, 30, 47, | 135 42, 43, 44, 28, 45, 46, 47, 28, |
142 48, 49, 30, 31, 30, 30, 30, 30, | 136 29, 28, 28, 28, 28, 28, 28, 28, |
143 30, 30, 30, 30, 30, 30, 30, 30, | 137 28, 28, 28, 28, 28, 28, 33, 34, |
144 30, 35, 36, 37, 38, 39, 40, 41, | 138 35, 36, 37, 38, 39, 33, 28, 28, |
145 35, 30, 30, 30, 44, 45, 46, 30, | 139 28, 42, 43, 44, 28, 45, 46, 47, |
146 47, 48, 49, 30, 31, 30, 30, 32, | 140 28, 29, 28, 28, 30, 31, 28, 28, |
147 33, 30, 30, 30, 30, 30, 30, 30, | 141 28, 28, 28, 28, 28, 28, 28, 33, |
148 30, 30, 35, 36, 37, 38, 39, 40, | 142 34, 35, 36, 37, 38, 39, 33, 40, |
149 41, 35, 42, 30, 43, 44, 45, 46, | 143 28, 41, 42, 43, 44, 28, 45, 46, |
150 30, 47, 48, 49, 30, 31, 30, 30, | 144 47, 28, 29, 28, 28, 30, 31, 28, |
151 32, 33, 30, 30, 30, 30, 30, 30, | 145 28, 28, 28, 28, 28, 28, 28, 28, |
152 30, 30, 30, 35, 36, 37, 38, 39, | 146 33, 34, 35, 36, 37, 38, 39, 33, |
153 40, 41, 35, 42, 34, 43, 44, 45, | 147 40, 32, 41, 42, 43, 44, 28, 45, |
154 46, 30, 47, 48, 49, 30, 53, 52, | 148 46, 47, 28, 51, 50, 50, 50, 50, |
155 52, 54, 55, 52, 52, 52, 52, 52, | 149 50, 50, 50, 52, 50, 5, 53, 51, |
156 52, 52, 52, 56, 52, 57, 58, 59, | 150 50, 6, 54, 54, 1, 55, 54, 54, |
157 60, 61, 62, 57, 63, 56, 64, 52, | 151 54, 54, 54, 54, 54, 54, 56, 10, |
158 52, 52, 52, 65, 66, 67, 52, 53, | 152 11, 12, 13, 14, 15, 16, 10, 17, |
159 52, 52, 54, 55, 52, 52, 52, 52, | 153 19, 19, 20, 21, 22, 54, 23, 24, |
160 52, 52, 52, 52, 68, 52, 57, 58, | 154 25, 54, 6, 54, 54, 1, 55, 54, |
161 59, 60, 61, 62, 57, 63, 64, 64, | 155 54, 54, 54, 54, 54, 54, 54, 54, |
162 52, 52, 52, 52, 65, 66, 67, 52, | 156 10, 11, 12, 13, 14, 15, 16, 10, |
163 54, 51, 53, 52, 52, 54, 55, 52, | 157 17, 19, 19, 20, 21, 22, 54, 23, |
164 52, 52, 52, 52, 52, 52, 52, 52, | 158 24, 25, 54, 6, 54, 54, 54, 54, |
165 52, 57, 58, 59, 60, 61, 62, 57, | 159 54, 54, 54, 54, 54, 54, 54, 54, |
166 63, 64, 64, 52, 52, 52, 52, 65, | 160 54, 10, 11, 12, 13, 14, 54, 54, |
167 66, 67, 52, 53, 52, 52, 52, 52, | 161 54, 54, 54, 54, 20, 21, 22, 54, |
168 52, 52, 52, 52, 52, 52, 52, 52, | 162 23, 24, 25, 54, 6, 54, 54, 54, |
169 52, 52, 57, 58, 59, 60, 52, 52, | 163 54, 54, 54, 54, 54, 54, 54, 54, |
170 52, 52, 52, 52, 52, 52, 52, 52, | 164 54, 54, 54, 11, 12, 13, 14, 54, |
171 65, 66, 67, 52, 53, 52, 52, 52, | 165 54, 54, 54, 54, 54, 54, 54, 54, |
172 52, 52, 52, 52, 52, 52, 52, 52, | 166 54, 23, 24, 25, 54, 6, 54, 54, |
173 52, 52, 52, 52, 58, 59, 60, 52, | 167 54, 54, 54, 54, 54, 54, 54, 54, |
174 53, 52, 52, 52, 52, 52, 52, 52, | 168 54, 54, 54, 54, 54, 12, 13, 14, |
175 52, 52, 52, 52, 52, 52, 52, 52, | 169 54, 6, 54, 54, 54, 54, 54, 54, |
176 52, 59, 60, 52, 53, 52, 52, 52, | 170 54, 54, 54, 54, 54, 54, 54, 54, |
177 52, 52, 52, 52, 52, 52, 52, 52, | 171 54, 54, 13, 14, 54, 6, 54, 54, |
178 52, 52, 52, 52, 52, 52, 60, 52, | 172 54, 54, 54, 54, 54, 54, 54, 54, |
179 53, 52, 52, 52, 52, 52, 52, 52, | 173 54, 54, 54, 54, 54, 54, 54, 14, |
180 52, 52, 52, 52, 52, 52, 52, 52, | 174 54, 6, 54, 54, 54, 54, 54, 54, |
181 58, 59, 60, 52, 52, 52, 52, 52, | 175 54, 54, 54, 54, 54, 54, 54, 54, |
182 52, 52, 52, 52, 52, 65, 66, 67, | 176 54, 12, 13, 14, 54, 54, 54, 54, |
183 52, 53, 52, 52, 52, 52, 52, 52, | 177 54, 54, 54, 54, 54, 54, 23, 24, |
184 52, 52, 52, 52, 52, 52, 52, 52, | 178 25, 54, 6, 54, 54, 54, 54, 54, |
185 52, 58, 59, 60, 52, 52, 52, 52, | 179 54, 54, 54, 54, 54, 54, 54, 54, |
186 52, 52, 52, 52, 52, 52, 52, 66, | 180 54, 54, 12, 13, 14, 54, 54, 54, |
187 67, 52, 53, 52, 52, 52, 52, 52, | 181 54, 54, 54, 54, 54, 54, 54, 54, |
188 52, 52, 52, 52, 52, 52, 52, 52, | 182 24, 25, 54, 6, 54, 54, 54, 54, |
189 52, 52, 58, 59, 60, 52, 52, 52, | 183 54, 54, 54, 54, 54, 54, 54, 54, |
190 52, 52, 52, 52, 52, 52, 52, 52, | 184 54, 54, 54, 12, 13, 14, 54, 54, |
191 52, 67, 52, 53, 52, 52, 52, 52, | 185 54, 54, 54, 54, 54, 54, 54, 54, |
192 52, 52, 52, 52, 52, 52, 52, 52, | 186 54, 54, 25, 54, 6, 54, 54, 54, |
193 52, 52, 57, 58, 59, 60, 52, 62, | 187 54, 54, 54, 54, 54, 54, 54, 54, |
194 57, 52, 52, 52, 52, 52, 52, 52, | 188 54, 54, 54, 11, 12, 13, 14, 54, |
195 65, 66, 67, 52, 53, 52, 52, 52, | 189 54, 54, 54, 54, 54, 20, 21, 22, |
196 52, 52, 52, 52, 52, 52, 52, 52, | 190 54, 23, 24, 25, 54, 6, 54, 54, |
197 52, 52, 52, 57, 58, 59, 60, 52, | 191 54, 54, 54, 54, 54, 54, 54, 54, |
198 52, 57, 52, 52, 52, 52, 52, 52, | 192 54, 54, 54, 54, 11, 12, 13, 14, |
199 52, 65, 66, 67, 52, 53, 52, 52, | 193 54, 54, 54, 54, 54, 54, 54, 21, |
200 52, 52, 52, 52, 52, 52, 52, 52, | 194 22, 54, 23, 24, 25, 54, 6, 54, |
201 52, 52, 52, 52, 57, 58, 59, 60, | 195 54, 54, 54, 54, 54, 54, 54, 54, |
202 61, 62, 57, 52, 52, 52, 52, 52, | 196 54, 54, 54, 54, 54, 11, 12, 13, |
203 52, 52, 65, 66, 67, 52, 53, 52, | 197 14, 54, 54, 54, 54, 54, 54, 54, |
204 52, 54, 55, 52, 52, 52, 52, 52, | 198 54, 22, 54, 23, 24, 25, 54, 6, |
205 52, 52, 52, 52, 52, 57, 58, 59, | 199 54, 54, 54, 54, 54, 54, 54, 54, |
206 60, 61, 62, 57, 63, 52, 64, 52, | 200 54, 54, 54, 54, 54, 10, 11, 12, |
207 52, 52, 52, 65, 66, 67, 52, 53, | 201 13, 14, 54, 16, 10, 54, 54, 54, |
208 52, 52, 54, 55, 52, 52, 52, 52, | 202 20, 21, 22, 54, 23, 24, 25, 54, |
209 52, 52, 52, 52, 52, 52, 57, 58, | 203 6, 54, 54, 54, 54, 54, 54, 54, |
210 59, 60, 61, 62, 57, 63, 56, 64, | 204 54, 54, 54, 54, 54, 54, 10, 11, |
211 52, 52, 52, 52, 65, 66, 67, 52, | 205 12, 13, 14, 54, 54, 10, 54, 54, |
212 70, 71, 69, 69, 69, 69, 69, 69, | 206 54, 20, 21, 22, 54, 23, 24, 25, |
213 69, 72, 69, 70, 71, 69, 7, 73, | 207 54, 6, 54, 54, 54, 54, 54, 54, |
214 73, 3, 9, 73, 73, 73, 73, 73, | 208 54, 54, 54, 54, 54, 54, 54, 10, |
215 73, 73, 73, 74, 12, 13, 14, 15, | 209 11, 12, 13, 14, 15, 16, 10, 54, |
216 16, 17, 18, 12, 19, 21, 21, 22, | 210 54, 54, 20, 21, 22, 54, 23, 24, |
217 23, 24, 73, 25, 26, 27, 73, 7, | 211 25, 54, 6, 54, 54, 1, 55, 54, |
218 73, 73, 3, 9, 73, 73, 73, 73, | 212 54, 54, 54, 54, 54, 54, 54, 54, |
219 73, 73, 73, 73, 73, 12, 13, 14, | 213 10, 11, 12, 13, 14, 15, 16, 10, |
220 15, 16, 17, 18, 12, 19, 21, 21, | 214 17, 54, 19, 20, 21, 22, 54, 23, |
221 22, 23, 24, 73, 25, 26, 27, 73, | 215 24, 25, 54, 1, 57, 3, 54, 54, |
222 7, 73, 73, 73, 73, 73, 73, 73, | 216 54, 3, 54, 54, 6, 54, 54, 1, |
223 73, 73, 73, 73, 73, 73, 12, 13, | 217 55, 54, 54, 54, 54, 54, 54, 54, |
224 14, 15, 16, 73, 73, 73, 73, 73, | 218 54, 54, 10, 11, 12, 13, 14, 15, |
225 73, 22, 23, 24, 73, 25, 26, 27, | 219 16, 10, 17, 18, 19, 20, 21, 22, |
226 73, 7, 73, 73, 73, 73, 73, 73, | 220 54, 23, 24, 25, 54, 6, 54, 54, |
227 73, 73, 73, 73, 73, 73, 73, 73, | 221 1, 55, 54, 54, 54, 54, 54, 54, |
228 13, 14, 15, 16, 73, 73, 73, 73, | 222 54, 54, 54, 10, 11, 12, 13, 14, |
229 73, 73, 73, 73, 73, 73, 25, 26, | 223 15, 16, 10, 17, 18, 19, 20, 21, |
230 27, 73, 7, 73, 73, 73, 73, 73, | 224 22, 54, 23, 24, 25, 54, 59, 58, |
231 73, 73, 73, 73, 73, 73, 73, 73, | 225 58, 58, 58, 58, 58, 58, 58, 58, |
232 73, 73, 14, 15, 16, 73, 7, 73, | 226 58, 58, 58, 58, 58, 58, 58, 58, |
233 73, 73, 73, 73, 73, 73, 73, 73, | 227 58, 58, 59, 60, 58, 59, 60, 58, |
234 73, 73, 73, 73, 73, 73, 73, 15, | 228 60, 58, 0 |
235 16, 73, 7, 73, 73, 73, 73, 73, | |
236 73, 73, 73, 73, 73, 73, 73, 73, | |
237 73, 73, 73, 73, 16, 73, 7, 73, | |
238 73, 73, 73, 73, 73, 73, 73, 73, | |
239 73, 73, 73, 73, 73, 73, 14, 15, | |
240 16, 73, 73, 73, 73, 73, 73, 73, | |
241 73, 73, 73, 25, 26, 27, 73, 7, | |
242 73, 73, 73, 73, 73, 73, 73, 73, | |
243 73, 73, 73, 73, 73, 73, 73, 14, | |
244 15, 16, 73, 73, 73, 73, 73, 73, | |
245 73, 73, 73, 73, 73, 26, 27, 73, | |
246 7, 73, 73, 73, 73, 73, 73, 73, | |
247 73, 73, 73, 73, 73, 73, 73, 73, | |
248 14, 15, 16, 73, 73, 73, 73, 73, | |
249 73, 73, 73, 73, 73, 73, 73, 27, | |
250 73, 7, 73, 73, 73, 73, 73, 73, | |
251 73, 73, 73, 73, 73, 73, 73, 73, | |
252 13, 14, 15, 16, 73, 73, 73, 73, | |
253 73, 73, 22, 23, 24, 73, 25, 26, | |
254 27, 73, 7, 73, 73, 73, 73, 73, | |
255 73, 73, 73, 73, 73, 73, 73, 73, | |
256 73, 13, 14, 15, 16, 73, 73, 73, | |
257 73, 73, 73, 73, 23, 24, 73, 25, | |
258 26, 27, 73, 7, 73, 73, 73, 73, | |
259 73, 73, 73, 73, 73, 73, 73, 73, | |
260 73, 73, 13, 14, 15, 16, 73, 73, | |
261 73, 73, 73, 73, 73, 73, 24, 73, | |
262 25, 26, 27, 73, 7, 73, 73, 73, | |
263 73, 73, 73, 73, 73, 73, 73, 73, | |
264 73, 73, 12, 13, 14, 15, 16, 73, | |
265 18, 12, 73, 73, 73, 22, 23, 24, | |
266 73, 25, 26, 27, 73, 7, 73, 73, | |
267 73, 73, 73, 73, 73, 73, 73, 73, | |
268 73, 73, 73, 12, 13, 14, 15, 16, | |
269 73, 73, 12, 73, 73, 73, 22, 23, | |
270 24, 73, 25, 26, 27, 73, 7, 73, | |
271 73, 73, 73, 73, 73, 73, 73, 73, | |
272 73, 73, 73, 73, 12, 13, 14, 15, | |
273 16, 17, 18, 12, 73, 73, 73, 22, | |
274 23, 24, 73, 25, 26, 27, 73, 7, | |
275 73, 73, 3, 9, 73, 73, 73, 73, | |
276 73, 73, 73, 73, 73, 12, 13, 14, | |
277 15, 16, 17, 18, 12, 19, 73, 21, | |
278 22, 23, 24, 73, 25, 26, 27, 73, | |
279 5, 6, 73, 73, 5, 73, 73, 7, | |
280 73, 73, 3, 9, 73, 73, 73, 73, | |
281 73, 73, 73, 73, 73, 12, 13, 14, | |
282 15, 16, 17, 18, 12, 19, 20, 21, | |
283 22, 23, 24, 73, 25, 26, 27, 73, | |
284 7, 73, 73, 3, 9, 73, 73, 73, | |
285 73, 73, 73, 73, 73, 73, 12, 13, | |
286 14, 15, 16, 17, 18, 12, 19, 20, | |
287 21, 22, 23, 24, 73, 25, 26, 27, | |
288 73, 76, 75, 75, 75, 75, 75, 75, | |
289 75, 75, 75, 75, 75, 75, 75, 75, | |
290 75, 75, 75, 75, 75, 76, 77, 75, | |
291 76, 77, 75, 77, 75, 0 | |
292 }; | 229 }; |
293 | 230 |
294 static const char _use_syllable_machine_trans_targs[] = { | 231 static const char _use_syllable_machine_trans_targs[] = { |
295 » 3, 41, 3, 43, 4, 5, 25, 3, | 232 » 1, 26, 2, 3, 1, 23, 1, 43, |
296 » 0, 2, 60, 62, 45, 46, 47, 48, | 233 » 44, 46, 28, 29, 30, 31, 32, 39, |
297 » 49, 56, 57, 58, 61, 59, 53, 54, | 234 » 40, 41, 45, 42, 36, 37, 38, 33, |
298 » 55, 50, 51, 52, 3, 3, 3, 3, | 235 » 34, 35, 1, 1, 1, 1, 4, 5, |
299 » 6, 7, 24, 9, 10, 11, 12, 13, | 236 » 22, 7, 8, 9, 10, 11, 18, 19, |
300 » 20, 21, 22, 23, 17, 18, 19, 14, | 237 » 20, 21, 15, 16, 17, 12, 13, 14, |
301 » 15, 16, 8, 3, 3, 3, 26, 27, | 238 » 6, 1, 1, 24, 25, 1, 1, 0, |
302 » 40, 29, 30, 31, 32, 36, 37, 38, | 239 » 27, 1, 1, 47, 48 |
303 » 39, 33, 34, 35, 28, 3, 3, 1, | |
304 » 42, 3, 44, 3, 63, 64 | |
305 }; | 240 }; |
306 | 241 |
307 static const char _use_syllable_machine_trans_actions[] = { | 242 static const char _use_syllable_machine_trans_actions[] = { |
308 » 1, 2, 3, 4, 0, 0, 0, 7, | 243 » 1, 2, 0, 0, 5, 0, 6, 0, |
309 » 0, 0, 4, 0, 0, 0, 0, 0, | 244 » 2, 0, 0, 0, 0, 0, 0, 0, |
310 » 0, 0, 0, 0, 4, 4, 0, 0, | 245 » 0, 0, 2, 2, 0, 0, 0, 0, |
311 » 0, 0, 0, 0, 8, 9, 10, 11, | 246 » 0, 0, 7, 8, 9, 10, 0, 0, |
312 » 0, 0, 0, 0, 0, 0, 0, 0, | 247 » 0, 0, 0, 0, 0, 0, 0, 0, |
313 » 0, 0, 0, 0, 0, 0, 0, 0, | 248 » 0, 0, 0, 0, 0, 0, 0, 0, |
314 » 0, 0, 0, 12, 13, 14, 0, 0, | 249 » 0, 11, 12, 0, 0, 13, 14, 0, |
315 » 0, 0, 0, 0, 0, 0, 0, 0, | 250 » 2, 15, 16, 0, 0 |
316 » 0, 0, 0, 0, 0, 15, 16, 0, | |
317 » 2, 17, 4, 18, 0, 0 | |
318 }; | 251 }; |
319 | 252 |
320 static const char _use_syllable_machine_to_state_actions[] = { | 253 static const char _use_syllable_machine_to_state_actions[] = { |
321 » 0, 0, 0, 5, 0, 0, 0, 0, | 254 » 0, 3, 0, 0, 0, 0, 0, 0, |
322 » 0, 0, 0, 0, 0, 0, 0, 0, | 255 » 0, 0, 0, 0, 0, 0, 0, 0, |
323 » 0, 0, 0, 0, 0, 0, 0, 0, | 256 » 0, 0, 0, 0, 0, 0, 0, 0, |
324 » 0, 0, 0, 0, 0, 0, 0, 0, | 257 » 0, 0, 0, 0, 0, 0, 0, 0, |
325 » 0, 0, 0, 0, 0, 0, 0, 0, | |
326 » 0, 0, 0, 0, 0, 0, 0, 0, | |
327 0, 0, 0, 0, 0, 0, 0, 0, | 258 0, 0, 0, 0, 0, 0, 0, 0, |
328 0, 0, 0, 0, 0, 0, 0, 0, | 259 0, 0, 0, 0, 0, 0, 0, 0, |
329 0 | 260 0 |
330 }; | 261 }; |
331 | 262 |
332 static const char _use_syllable_machine_from_state_actions[] = { | 263 static const char _use_syllable_machine_from_state_actions[] = { |
333 » 0, 0, 0, 6, 0, 0, 0, 0, | 264 » 0, 4, 0, 0, 0, 0, 0, 0, |
334 0, 0, 0, 0, 0, 0, 0, 0, | 265 0, 0, 0, 0, 0, 0, 0, 0, |
335 0, 0, 0, 0, 0, 0, 0, 0, | 266 0, 0, 0, 0, 0, 0, 0, 0, |
336 0, 0, 0, 0, 0, 0, 0, 0, | 267 0, 0, 0, 0, 0, 0, 0, 0, |
337 0, 0, 0, 0, 0, 0, 0, 0, | |
338 0, 0, 0, 0, 0, 0, 0, 0, | |
339 0, 0, 0, 0, 0, 0, 0, 0, | 268 0, 0, 0, 0, 0, 0, 0, 0, |
340 0, 0, 0, 0, 0, 0, 0, 0, | 269 0, 0, 0, 0, 0, 0, 0, 0, |
341 0 | 270 0 |
342 }; | 271 }; |
343 | 272 |
344 static const short _use_syllable_machine_eof_trans[] = { | 273 static const short _use_syllable_machine_eof_trans[] = { |
345 » 0, 1, 3, 0, 29, 31, 31, 52, | 274 » 1, 0, 27, 29, 29, 50, 29, 29, |
346 » 31, 31, 31, 31, 31, 31, 31, 31, | 275 » 29, 29, 29, 29, 29, 29, 29, 29, |
347 » 31, 31, 31, 31, 31, 31, 31, 31, | 276 » 29, 29, 29, 29, 29, 29, 29, 51, |
348 » 31, 53, 53, 52, 53, 53, 53, 53, | 277 » 54, 51, 55, 55, 55, 55, 55, 55, |
349 » 53, 53, 53, 53, 53, 53, 53, 53, | 278 » 55, 55, 55, 55, 55, 55, 55, 55, |
350 » 53, 70, 70, 74, 74, 74, 74, 74, | 279 » 55, 55, 55, 58, 55, 55, 59, 59, |
351 » 74, 74, 74, 74, 74, 74, 74, 74, | 280 » 59 |
352 » 74, 74, 74, 74, 74, 74, 76, 76, | |
353 » 76 | |
354 }; | 281 }; |
355 | 282 |
356 static const int use_syllable_machine_start = 3; | 283 static const int use_syllable_machine_start = 1; |
357 static const int use_syllable_machine_first_final = 3; | 284 static const int use_syllable_machine_first_final = 1; |
358 static const int use_syllable_machine_error = 0; | 285 static const int use_syllable_machine_error = -1; |
359 | 286 |
360 static const int use_syllable_machine_en_main = 3; | 287 static const int use_syllable_machine_en_main = 1; |
361 | 288 |
362 | 289 |
363 #line 38 "hb-ot-shape-complex-use-machine.rl" | 290 #line 38 "hb-ot-shape-complex-use-machine.rl" |
364 | 291 |
365 | 292 |
366 | 293 |
367 #line 145 "hb-ot-shape-complex-use-machine.rl" | 294 #line 138 "hb-ot-shape-complex-use-machine.rl" |
368 | 295 |
369 | 296 |
370 #define found_syllable(syllable_type) \ | 297 #define found_syllable(syllable_type) \ |
371 HB_STMT_START { \ | 298 HB_STMT_START { \ |
372 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type);
\ | 299 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type);
\ |
373 for (unsigned int i = last; i < p+1; i++) \ | 300 for (unsigned int i = last; i < p+1; i++) \ |
374 info[i].syllable() = (syllable_serial << 4) | syllable_type; \ | 301 info[i].syllable() = (syllable_serial << 4) | syllable_type; \ |
375 last = p+1; \ | 302 last = p+1; \ |
376 syllable_serial++; \ | 303 syllable_serial++; \ |
377 if (unlikely (syllable_serial == 16)) syllable_serial = 1; \ | 304 if (unlikely (syllable_serial == 16)) syllable_serial = 1; \ |
378 } HB_STMT_END | 305 } HB_STMT_END |
379 | 306 |
380 static void | 307 static void |
381 find_syllables (hb_buffer_t *buffer) | 308 find_syllables (hb_buffer_t *buffer) |
382 { | 309 { |
383 unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED; | 310 unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED; |
384 int cs; | 311 int cs; |
385 hb_glyph_info_t *info = buffer->info; | 312 hb_glyph_info_t *info = buffer->info; |
386 | 313 |
387 #line 388 "hb-ot-shape-complex-use-machine.hh" | 314 #line 315 "hb-ot-shape-complex-use-machine.hh" |
388 { | 315 { |
389 cs = use_syllable_machine_start; | 316 cs = use_syllable_machine_start; |
390 ts = 0; | 317 ts = 0; |
391 te = 0; | 318 te = 0; |
392 act = 0; | 319 act = 0; |
393 } | 320 } |
394 | 321 |
395 #line 166 "hb-ot-shape-complex-use-machine.rl" | 322 #line 159 "hb-ot-shape-complex-use-machine.rl" |
396 | 323 |
397 | 324 |
398 p = 0; | 325 p = 0; |
399 pe = eof = buffer->len; | 326 pe = eof = buffer->len; |
400 | 327 |
401 unsigned int last = 0; | 328 unsigned int last = 0; |
402 unsigned int syllable_serial = 1; | 329 unsigned int syllable_serial = 1; |
403 | 330 |
404 #line 405 "hb-ot-shape-complex-use-machine.hh" | 331 #line 332 "hb-ot-shape-complex-use-machine.hh" |
405 { | 332 { |
406 int _slen; | 333 int _slen; |
407 int _trans; | 334 int _trans; |
408 const unsigned char *_keys; | 335 const unsigned char *_keys; |
409 const char *_inds; | 336 const char *_inds; |
410 if ( p == pe ) | 337 if ( p == pe ) |
411 goto _test_eof; | 338 goto _test_eof; |
412 if ( cs == 0 ) | |
413 goto _out; | |
414 _resume: | 339 _resume: |
415 switch ( _use_syllable_machine_from_state_actions[cs] ) { | 340 switch ( _use_syllable_machine_from_state_actions[cs] ) { |
416 » case 6: | 341 » case 4: |
417 #line 1 "NONE" | 342 #line 1 "NONE" |
418 {ts = p;} | 343 {ts = p;} |
419 break; | 344 break; |
420 #line 421 "hb-ot-shape-complex-use-machine.hh" | 345 #line 346 "hb-ot-shape-complex-use-machine.hh" |
421 } | 346 } |
422 | 347 |
423 _keys = _use_syllable_machine_trans_keys + (cs<<1); | 348 _keys = _use_syllable_machine_trans_keys + (cs<<1); |
424 _inds = _use_syllable_machine_indicies + _use_syllable_machine_index_off
sets[cs]; | 349 _inds = _use_syllable_machine_indicies + _use_syllable_machine_index_off
sets[cs]; |
425 | 350 |
426 _slen = _use_syllable_machine_key_spans[cs]; | 351 _slen = _use_syllable_machine_key_spans[cs]; |
427 _trans = _inds[ _slen > 0 && _keys[0] <=( info[p].use_category()) && | 352 _trans = _inds[ _slen > 0 && _keys[0] <=( info[p].use_category()) && |
428 ( info[p].use_category()) <= _keys[1] ? | 353 ( info[p].use_category()) <= _keys[1] ? |
429 ( info[p].use_category()) - _keys[0] : _slen ]; | 354 ( info[p].use_category()) - _keys[0] : _slen ]; |
430 | 355 |
431 _eof_trans: | 356 _eof_trans: |
432 cs = _use_syllable_machine_trans_targs[_trans]; | 357 cs = _use_syllable_machine_trans_targs[_trans]; |
433 | 358 |
434 if ( _use_syllable_machine_trans_actions[_trans] == 0 ) | 359 if ( _use_syllable_machine_trans_actions[_trans] == 0 ) |
435 goto _again; | 360 goto _again; |
436 | 361 |
437 switch ( _use_syllable_machine_trans_actions[_trans] ) { | 362 switch ( _use_syllable_machine_trans_actions[_trans] ) { |
438 case 2: | 363 case 2: |
439 #line 1 "NONE" | 364 #line 1 "NONE" |
440 {te = p+1;} | 365 {te = p+1;} |
441 break; | 366 break; |
442 » case 9: | 367 » case 8: |
443 #line 134 "hb-ot-shape-complex-use-machine.rl" | 368 #line 127 "hb-ot-shape-complex-use-machine.rl" |
444 {te = p+1;{ found_syllable (independent_cluster); }} | 369 {te = p+1;{ found_syllable (independent_cluster); }} |
445 break; | 370 break; |
| 371 case 10: |
| 372 #line 129 "hb-ot-shape-complex-use-machine.rl" |
| 373 {te = p+1;{ found_syllable (standard_cluster); }} |
| 374 break; |
| 375 case 6: |
| 376 #line 133 "hb-ot-shape-complex-use-machine.rl" |
| 377 {te = p+1;{ found_syllable (broken_cluster); }} |
| 378 break; |
| 379 case 5: |
| 380 #line 134 "hb-ot-shape-complex-use-machine.rl" |
| 381 {te = p+1;{ found_syllable (non_cluster); }} |
| 382 break; |
| 383 case 7: |
| 384 #line 127 "hb-ot-shape-complex-use-machine.rl" |
| 385 {te = p;p--;{ found_syllable (independent_cluster); }} |
| 386 break; |
446 case 11: | 387 case 11: |
447 #line 136 "hb-ot-shape-complex-use-machine.rl" | 388 #line 128 "hb-ot-shape-complex-use-machine.rl" |
448 » {te = p+1;{ found_syllable (consonant_cluster); }} | 389 » {te = p;p--;{ found_syllable (virama_terminated_cluster); }} |
| 390 » break; |
| 391 » case 9: |
| 392 #line 129 "hb-ot-shape-complex-use-machine.rl" |
| 393 » {te = p;p--;{ found_syllable (standard_cluster); }} |
| 394 » break; |
| 395 » case 13: |
| 396 #line 130 "hb-ot-shape-complex-use-machine.rl" |
| 397 » {te = p;p--;{ found_syllable (number_joiner_terminated_cluster); }} |
| 398 » break; |
| 399 » case 12: |
| 400 #line 131 "hb-ot-shape-complex-use-machine.rl" |
| 401 » {te = p;p--;{ found_syllable (numeral_cluster); }} |
| 402 » break; |
| 403 » case 16: |
| 404 #line 132 "hb-ot-shape-complex-use-machine.rl" |
| 405 » {te = p;p--;{ found_syllable (symbol_cluster); }} |
449 break; | 406 break; |
450 case 14: | 407 case 14: |
451 #line 137 "hb-ot-shape-complex-use-machine.rl" | 408 #line 133 "hb-ot-shape-complex-use-machine.rl" |
452 » {te = p+1;{ found_syllable (vowel_cluster); }} | 409 » {te = p;p--;{ found_syllable (broken_cluster); }} |
453 » break; | |
454 » case 16: | |
455 #line 138 "hb-ot-shape-complex-use-machine.rl" | |
456 » {te = p+1;{ found_syllable (number_joiner_terminated_cluster); }} | |
457 » break; | |
458 » case 7: | |
459 #line 141 "hb-ot-shape-complex-use-machine.rl" | |
460 » {te = p+1;{ found_syllable (broken_cluster); }} | |
461 » break; | |
462 » case 8: | |
463 #line 134 "hb-ot-shape-complex-use-machine.rl" | |
464 » {te = p;p--;{ found_syllable (independent_cluster); }} | |
465 » break; | |
466 » case 12: | |
467 #line 135 "hb-ot-shape-complex-use-machine.rl" | |
468 » {te = p;p--;{ found_syllable (virama_terminated_cluster); }} | |
469 » break; | |
470 » case 10: | |
471 #line 136 "hb-ot-shape-complex-use-machine.rl" | |
472 » {te = p;p--;{ found_syllable (consonant_cluster); }} | |
473 » break; | |
474 » case 13: | |
475 #line 137 "hb-ot-shape-complex-use-machine.rl" | |
476 » {te = p;p--;{ found_syllable (vowel_cluster); }} | |
477 break; | 410 break; |
478 case 15: | 411 case 15: |
479 #line 139 "hb-ot-shape-complex-use-machine.rl" | 412 #line 134 "hb-ot-shape-complex-use-machine.rl" |
480 » {te = p;p--;{ found_syllable (numeral_cluster); }} | 413 » {te = p;p--;{ found_syllable (non_cluster); }} |
481 » break; | |
482 » case 18: | |
483 #line 140 "hb-ot-shape-complex-use-machine.rl" | |
484 » {te = p;p--;{ found_syllable (symbol_cluster); }} | |
485 » break; | |
486 » case 17: | |
487 #line 141 "hb-ot-shape-complex-use-machine.rl" | |
488 » {te = p;p--;{ found_syllable (broken_cluster); }} | |
489 break; | 414 break; |
490 case 1: | 415 case 1: |
491 #line 139 "hb-ot-shape-complex-use-machine.rl" | 416 #line 133 "hb-ot-shape-complex-use-machine.rl" |
492 » {{p = ((te))-1;}{ found_syllable (numeral_cluster); }} | 417 » {{p = ((te))-1;}{ found_syllable (broken_cluster); }} |
493 break; | 418 break; |
494 » case 3: | 419 #line 420 "hb-ot-shape-complex-use-machine.hh" |
495 #line 1 "NONE" | |
496 » {» switch( act ) { | |
497 » case 0: | |
498 » {{cs = 0; goto _again;}} | |
499 » break; | |
500 » case 8: | |
501 » {{p = ((te))-1;} found_syllable (broken_cluster); } | |
502 » break; | |
503 » } | |
504 » } | |
505 » break; | |
506 » case 4: | |
507 #line 1 "NONE" | |
508 » {te = p+1;} | |
509 #line 141 "hb-ot-shape-complex-use-machine.rl" | |
510 » {act = 8;} | |
511 » break; | |
512 #line 513 "hb-ot-shape-complex-use-machine.hh" | |
513 } | 420 } |
514 | 421 |
515 _again: | 422 _again: |
516 switch ( _use_syllable_machine_to_state_actions[cs] ) { | 423 switch ( _use_syllable_machine_to_state_actions[cs] ) { |
517 » case 5: | 424 » case 3: |
518 #line 1 "NONE" | 425 #line 1 "NONE" |
519 {ts = 0;} | 426 {ts = 0;} |
520 #line 1 "NONE" | |
521 {act = 0;} | |
522 break; | 427 break; |
523 #line 524 "hb-ot-shape-complex-use-machine.hh" | 428 #line 429 "hb-ot-shape-complex-use-machine.hh" |
524 } | 429 } |
525 | 430 |
526 if ( cs == 0 ) | |
527 goto _out; | |
528 if ( ++p != pe ) | 431 if ( ++p != pe ) |
529 goto _resume; | 432 goto _resume; |
530 _test_eof: {} | 433 _test_eof: {} |
531 if ( p == eof ) | 434 if ( p == eof ) |
532 { | 435 { |
533 if ( _use_syllable_machine_eof_trans[cs] > 0 ) { | 436 if ( _use_syllable_machine_eof_trans[cs] > 0 ) { |
534 _trans = _use_syllable_machine_eof_trans[cs] - 1; | 437 _trans = _use_syllable_machine_eof_trans[cs] - 1; |
535 goto _eof_trans; | 438 goto _eof_trans; |
536 } | 439 } |
537 } | 440 } |
538 | 441 |
539 _out: {} | |
540 } | 442 } |
541 | 443 |
542 #line 175 "hb-ot-shape-complex-use-machine.rl" | 444 #line 168 "hb-ot-shape-complex-use-machine.rl" |
543 | 445 |
544 } | 446 } |
545 | 447 |
546 #undef found_syllable | 448 #undef found_syllable |
547 | 449 |
548 #endif /* HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH */ | 450 #endif /* HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH */ |
OLD | NEW |