gfx/harfbuzz/src/hb-ot-shape-complex-myanmar-machine.hh

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1
michael@0 2 #line 1 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 3 /*
michael@0 4 * Copyright © 2011,2012 Google, Inc.
michael@0 5 *
michael@0 6 * This is part of HarfBuzz, a text shaping library.
michael@0 7 *
michael@0 8 * Permission is hereby granted, without written agreement and without
michael@0 9 * license or royalty fees, to use, copy, modify, and distribute this
michael@0 10 * software and its documentation for any purpose, provided that the
michael@0 11 * above copyright notice and the following two paragraphs appear in
michael@0 12 * all copies of this software.
michael@0 13 *
michael@0 14 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
michael@0 15 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
michael@0 16 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
michael@0 17 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
michael@0 18 * DAMAGE.
michael@0 19 *
michael@0 20 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
michael@0 21 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
michael@0 22 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
michael@0 23 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
michael@0 24 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
michael@0 25 *
michael@0 26 * Google Author(s): Behdad Esfahbod
michael@0 27 */
michael@0 28
michael@0 29 #ifndef HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH
michael@0 30 #define HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH
michael@0 31
michael@0 32 #include "hb-private.hh"
michael@0 33
michael@0 34
michael@0 35 #line 36 "hb-ot-shape-complex-myanmar-machine.hh.tmp"
michael@0 36 static const unsigned char _myanmar_syllable_machine_trans_keys[] = {
michael@0 37 1u, 31u, 3u, 30u, 5u, 29u, 5u, 8u, 5u, 29u, 3u, 25u, 5u, 25u, 5u, 25u,
michael@0 38 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u, 1u, 16u, 3u, 29u, 3u, 29u, 3u, 29u,
michael@0 39 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u, 5u, 29u, 5u, 8u,
michael@0 40 5u, 29u, 3u, 25u, 5u, 25u, 5u, 25u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u,
michael@0 41 3u, 30u, 3u, 29u, 1u, 30u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u,
michael@0 42 3u, 29u, 3u, 29u, 3u, 29u, 3u, 29u, 8u, 8u, 0
michael@0 43 };
michael@0 44
michael@0 45 static const char _myanmar_syllable_machine_key_spans[] = {
michael@0 46 31, 28, 25, 4, 25, 23, 21, 21,
michael@0 47 27, 27, 27, 27, 16, 27, 27, 27,
michael@0 48 27, 27, 27, 27, 27, 27, 25, 4,
michael@0 49 25, 23, 21, 21, 27, 27, 27, 27,
michael@0 50 28, 27, 30, 27, 27, 27, 27, 27,
michael@0 51 27, 27, 27, 27, 1
michael@0 52 };
michael@0 53
michael@0 54 static const short _myanmar_syllable_machine_index_offsets[] = {
michael@0 55 0, 32, 61, 87, 92, 118, 142, 164,
michael@0 56 186, 214, 242, 270, 298, 315, 343, 371,
michael@0 57 399, 427, 455, 483, 511, 539, 567, 593,
michael@0 58 598, 624, 648, 670, 692, 720, 748, 776,
michael@0 59 804, 833, 861, 892, 920, 948, 976, 1004,
michael@0 60 1032, 1060, 1088, 1116, 1144
michael@0 61 };
michael@0 62
michael@0 63 static const char _myanmar_syllable_machine_indicies[] = {
michael@0 64 1, 1, 2, 3, 4, 4, 0, 5,
michael@0 65 0, 6, 0, 1, 0, 0, 0, 7,
michael@0 66 0, 8, 1, 0, 9, 10, 11, 12,
michael@0 67 13, 14, 15, 16, 17, 18, 19, 0,
michael@0 68 21, 22, 23, 23, 20, 24, 20, 25,
michael@0 69 20, 20, 20, 20, 20, 20, 20, 26,
michael@0 70 20, 20, 27, 28, 29, 30, 31, 32,
michael@0 71 33, 34, 35, 36, 20, 23, 23, 20,
michael@0 72 24, 20, 20, 20, 20, 20, 20, 20,
michael@0 73 20, 20, 37, 20, 20, 20, 20, 20,
michael@0 74 20, 31, 20, 20, 20, 35, 20, 23,
michael@0 75 23, 20, 24, 20, 23, 23, 20, 24,
michael@0 76 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 77 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 78 31, 20, 20, 20, 35, 20, 38, 20,
michael@0 79 23, 23, 20, 24, 20, 31, 20, 20,
michael@0 80 20, 20, 20, 20, 20, 39, 20, 20,
michael@0 81 20, 20, 20, 20, 31, 20, 23, 23,
michael@0 82 20, 24, 20, 20, 20, 20, 20, 20,
michael@0 83 20, 20, 20, 39, 20, 20, 20, 20,
michael@0 84 20, 20, 31, 20, 23, 23, 20, 24,
michael@0 85 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 86 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 87 31, 20, 21, 20, 23, 23, 20, 24,
michael@0 88 20, 25, 20, 20, 20, 20, 20, 20,
michael@0 89 20, 40, 20, 20, 40, 20, 20, 20,
michael@0 90 31, 41, 20, 20, 35, 20, 21, 20,
michael@0 91 23, 23, 20, 24, 20, 25, 20, 20,
michael@0 92 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 93 20, 20, 20, 20, 31, 20, 20, 20,
michael@0 94 35, 20, 21, 20, 23, 23, 20, 24,
michael@0 95 20, 25, 20, 20, 20, 20, 20, 20,
michael@0 96 20, 40, 20, 20, 20, 20, 20, 20,
michael@0 97 31, 41, 20, 20, 35, 20, 21, 20,
michael@0 98 23, 23, 20, 24, 20, 25, 20, 20,
michael@0 99 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 100 20, 20, 20, 20, 31, 41, 20, 20,
michael@0 101 35, 20, 1, 1, 20, 20, 20, 20,
michael@0 102 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 103 20, 1, 20, 21, 20, 23, 23, 20,
michael@0 104 24, 20, 25, 20, 20, 20, 20, 20,
michael@0 105 20, 20, 26, 20, 20, 27, 28, 29,
michael@0 106 30, 31, 32, 33, 34, 35, 20, 21,
michael@0 107 20, 23, 23, 20, 24, 20, 25, 20,
michael@0 108 20, 20, 20, 20, 20, 20, 34, 20,
michael@0 109 20, 20, 20, 20, 20, 31, 32, 33,
michael@0 110 34, 35, 20, 21, 20, 23, 23, 20,
michael@0 111 24, 20, 25, 20, 20, 20, 20, 20,
michael@0 112 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 113 20, 31, 32, 33, 34, 35, 20, 21,
michael@0 114 20, 23, 23, 20, 24, 20, 25, 20,
michael@0 115 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 116 20, 20, 20, 20, 20, 31, 32, 33,
michael@0 117 20, 35, 20, 21, 20, 23, 23, 20,
michael@0 118 24, 20, 25, 20, 20, 20, 20, 20,
michael@0 119 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 120 20, 31, 20, 33, 20, 35, 20, 21,
michael@0 121 20, 23, 23, 20, 24, 20, 25, 20,
michael@0 122 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 123 20, 27, 20, 29, 20, 31, 32, 33,
michael@0 124 34, 35, 20, 21, 20, 23, 23, 20,
michael@0 125 24, 20, 25, 20, 20, 20, 20, 20,
michael@0 126 20, 20, 34, 20, 20, 27, 20, 20,
michael@0 127 20, 31, 32, 33, 34, 35, 20, 21,
michael@0 128 20, 23, 23, 20, 24, 20, 25, 20,
michael@0 129 20, 20, 20, 20, 20, 20, 20, 20,
michael@0 130 20, 27, 28, 29, 20, 31, 32, 33,
michael@0 131 34, 35, 20, 21, 22, 23, 23, 20,
michael@0 132 24, 20, 25, 20, 20, 20, 20, 20,
michael@0 133 20, 20, 26, 20, 20, 27, 28, 29,
michael@0 134 30, 31, 32, 33, 34, 35, 20, 3,
michael@0 135 3, 42, 5, 42, 42, 42, 42, 42,
michael@0 136 42, 42, 42, 42, 43, 42, 42, 42,
michael@0 137 42, 42, 42, 13, 42, 42, 42, 17,
michael@0 138 42, 3, 3, 42, 5, 42, 3, 3,
michael@0 139 42, 5, 42, 42, 42, 42, 42, 42,
michael@0 140 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 141 42, 42, 13, 42, 42, 42, 17, 42,
michael@0 142 44, 42, 3, 3, 42, 5, 42, 13,
michael@0 143 42, 42, 42, 42, 42, 42, 42, 45,
michael@0 144 42, 42, 42, 42, 42, 42, 13, 42,
michael@0 145 3, 3, 42, 5, 42, 42, 42, 42,
michael@0 146 42, 42, 42, 42, 42, 45, 42, 42,
michael@0 147 42, 42, 42, 42, 13, 42, 3, 3,
michael@0 148 42, 5, 42, 42, 42, 42, 42, 42,
michael@0 149 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 150 42, 42, 13, 42, 2, 42, 3, 3,
michael@0 151 42, 5, 42, 6, 42, 42, 42, 42,
michael@0 152 42, 42, 42, 46, 42, 42, 46, 42,
michael@0 153 42, 42, 13, 47, 42, 42, 17, 42,
michael@0 154 2, 42, 3, 3, 42, 5, 42, 6,
michael@0 155 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 156 42, 42, 42, 42, 42, 42, 13, 42,
michael@0 157 42, 42, 17, 42, 2, 42, 3, 3,
michael@0 158 42, 5, 42, 6, 42, 42, 42, 42,
michael@0 159 42, 42, 42, 46, 42, 42, 42, 42,
michael@0 160 42, 42, 13, 47, 42, 42, 17, 42,
michael@0 161 2, 42, 3, 3, 42, 5, 42, 6,
michael@0 162 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 163 42, 42, 42, 42, 42, 42, 13, 47,
michael@0 164 42, 42, 17, 42, 21, 22, 23, 23,
michael@0 165 20, 24, 20, 25, 20, 20, 20, 20,
michael@0 166 20, 20, 20, 48, 20, 20, 27, 28,
michael@0 167 29, 30, 31, 32, 33, 34, 35, 36,
michael@0 168 20, 21, 49, 23, 23, 20, 24, 20,
michael@0 169 25, 20, 20, 20, 20, 20, 20, 20,
michael@0 170 26, 20, 20, 27, 28, 29, 30, 31,
michael@0 171 32, 33, 34, 35, 20, 1, 1, 2,
michael@0 172 3, 3, 3, 42, 5, 42, 6, 42,
michael@0 173 1, 42, 42, 42, 1, 42, 8, 1,
michael@0 174 42, 9, 10, 11, 12, 13, 14, 15,
michael@0 175 16, 17, 18, 42, 2, 42, 3, 3,
michael@0 176 42, 5, 42, 6, 42, 42, 42, 42,
michael@0 177 42, 42, 42, 8, 42, 42, 9, 10,
michael@0 178 11, 12, 13, 14, 15, 16, 17, 42,
michael@0 179 2, 42, 3, 3, 42, 5, 42, 6,
michael@0 180 42, 42, 42, 42, 42, 42, 42, 16,
michael@0 181 42, 42, 42, 42, 42, 42, 13, 14,
michael@0 182 15, 16, 17, 42, 2, 42, 3, 3,
michael@0 183 42, 5, 42, 6, 42, 42, 42, 42,
michael@0 184 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 185 42, 42, 13, 14, 15, 16, 17, 42,
michael@0 186 2, 42, 3, 3, 42, 5, 42, 6,
michael@0 187 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 188 42, 42, 42, 42, 42, 42, 13, 14,
michael@0 189 15, 42, 17, 42, 2, 42, 3, 3,
michael@0 190 42, 5, 42, 6, 42, 42, 42, 42,
michael@0 191 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 192 42, 42, 13, 42, 15, 42, 17, 42,
michael@0 193 2, 42, 3, 3, 42, 5, 42, 6,
michael@0 194 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 195 42, 42, 9, 42, 11, 42, 13, 14,
michael@0 196 15, 16, 17, 42, 2, 42, 3, 3,
michael@0 197 42, 5, 42, 6, 42, 42, 42, 42,
michael@0 198 42, 42, 42, 16, 42, 42, 9, 42,
michael@0 199 42, 42, 13, 14, 15, 16, 17, 42,
michael@0 200 2, 42, 3, 3, 42, 5, 42, 6,
michael@0 201 42, 42, 42, 42, 42, 42, 42, 42,
michael@0 202 42, 42, 9, 10, 11, 42, 13, 14,
michael@0 203 15, 16, 17, 42, 2, 3, 3, 3,
michael@0 204 42, 5, 42, 6, 42, 42, 42, 42,
michael@0 205 42, 42, 42, 8, 42, 42, 9, 10,
michael@0 206 11, 12, 13, 14, 15, 16, 17, 42,
michael@0 207 51, 50, 0
michael@0 208 };
michael@0 209
michael@0 210 static const char _myanmar_syllable_machine_trans_targs[] = {
michael@0 211 0, 1, 22, 0, 0, 23, 29, 32,
michael@0 212 35, 36, 40, 41, 42, 25, 38, 39,
michael@0 213 37, 28, 43, 44, 0, 2, 12, 0,
michael@0 214 3, 9, 13, 14, 18, 19, 20, 5,
michael@0 215 16, 17, 15, 8, 21, 4, 6, 7,
michael@0 216 10, 11, 0, 24, 26, 27, 30, 31,
michael@0 217 33, 34, 0, 0
michael@0 218 };
michael@0 219
michael@0 220 static const char _myanmar_syllable_machine_trans_actions[] = {
michael@0 221 3, 0, 0, 4, 5, 0, 0, 0,
michael@0 222 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 223 0, 0, 0, 0, 6, 0, 0, 7,
michael@0 224 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 225 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 226 0, 0, 8, 0, 0, 0, 0, 0,
michael@0 227 0, 0, 9, 10
michael@0 228 };
michael@0 229
michael@0 230 static const char _myanmar_syllable_machine_to_state_actions[] = {
michael@0 231 1, 0, 0, 0, 0, 0, 0, 0,
michael@0 232 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 233 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 234 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 235 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 236 0, 0, 0, 0, 0
michael@0 237 };
michael@0 238
michael@0 239 static const char _myanmar_syllable_machine_from_state_actions[] = {
michael@0 240 2, 0, 0, 0, 0, 0, 0, 0,
michael@0 241 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 242 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 243 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 244 0, 0, 0, 0, 0, 0, 0, 0,
michael@0 245 0, 0, 0, 0, 0
michael@0 246 };
michael@0 247
michael@0 248 static const short _myanmar_syllable_machine_eof_trans[] = {
michael@0 249 0, 21, 21, 21, 21, 21, 21, 21,
michael@0 250 21, 21, 21, 21, 21, 21, 21, 21,
michael@0 251 21, 21, 21, 21, 21, 21, 43, 43,
michael@0 252 43, 43, 43, 43, 43, 43, 43, 43,
michael@0 253 21, 21, 43, 43, 43, 43, 43, 43,
michael@0 254 43, 43, 43, 43, 51
michael@0 255 };
michael@0 256
michael@0 257 static const int myanmar_syllable_machine_start = 0;
michael@0 258 static const int myanmar_syllable_machine_first_final = 0;
michael@0 259 static const int myanmar_syllable_machine_error = -1;
michael@0 260
michael@0 261 static const int myanmar_syllable_machine_en_main = 0;
michael@0 262
michael@0 263
michael@0 264 #line 36 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 265
michael@0 266
michael@0 267
michael@0 268 #line 93 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 269
michael@0 270
michael@0 271 #define found_syllable(syllable_type) \
michael@0 272 HB_STMT_START { \
michael@0 273 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type); \
michael@0 274 for (unsigned int i = last; i < p+1; i++) \
michael@0 275 info[i].syllable() = (syllable_serial << 4) | syllable_type; \
michael@0 276 last = p+1; \
michael@0 277 syllable_serial++; \
michael@0 278 if (unlikely (syllable_serial == 16)) syllable_serial = 1; \
michael@0 279 } HB_STMT_END
michael@0 280
michael@0 281 static void
michael@0 282 find_syllables (hb_buffer_t *buffer)
michael@0 283 {
michael@0 284 unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED;
michael@0 285 int cs;
michael@0 286 hb_glyph_info_t *info = buffer->info;
michael@0 287
michael@0 288 #line 289 "hb-ot-shape-complex-myanmar-machine.hh.tmp"
michael@0 289 {
michael@0 290 cs = myanmar_syllable_machine_start;
michael@0 291 ts = 0;
michael@0 292 te = 0;
michael@0 293 act = 0;
michael@0 294 }
michael@0 295
michael@0 296 #line 114 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 297
michael@0 298
michael@0 299 p = 0;
michael@0 300 pe = eof = buffer->len;
michael@0 301
michael@0 302 unsigned int last = 0;
michael@0 303 unsigned int syllable_serial = 1;
michael@0 304
michael@0 305 #line 306 "hb-ot-shape-complex-myanmar-machine.hh.tmp"
michael@0 306 {
michael@0 307 int _slen;
michael@0 308 int _trans;
michael@0 309 const unsigned char *_keys;
michael@0 310 const char *_inds;
michael@0 311 if ( p == pe )
michael@0 312 goto _test_eof;
michael@0 313 _resume:
michael@0 314 switch ( _myanmar_syllable_machine_from_state_actions[cs] ) {
michael@0 315 case 2:
michael@0 316 #line 1 "NONE"
michael@0 317 {ts = p;}
michael@0 318 break;
michael@0 319 #line 320 "hb-ot-shape-complex-myanmar-machine.hh.tmp"
michael@0 320 }
michael@0 321
michael@0 322 _keys = _myanmar_syllable_machine_trans_keys + (cs<<1);
michael@0 323 _inds = _myanmar_syllable_machine_indicies + _myanmar_syllable_machine_index_offsets[cs];
michael@0 324
michael@0 325 _slen = _myanmar_syllable_machine_key_spans[cs];
michael@0 326 _trans = _inds[ _slen > 0 && _keys[0] <=( info[p].myanmar_category()) &&
michael@0 327 ( info[p].myanmar_category()) <= _keys[1] ?
michael@0 328 ( info[p].myanmar_category()) - _keys[0] : _slen ];
michael@0 329
michael@0 330 _eof_trans:
michael@0 331 cs = _myanmar_syllable_machine_trans_targs[_trans];
michael@0 332
michael@0 333 if ( _myanmar_syllable_machine_trans_actions[_trans] == 0 )
michael@0 334 goto _again;
michael@0 335
michael@0 336 switch ( _myanmar_syllable_machine_trans_actions[_trans] ) {
michael@0 337 case 7:
michael@0 338 #line 85 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 339 {te = p+1;{ found_syllable (consonant_syllable); }}
michael@0 340 break;
michael@0 341 case 5:
michael@0 342 #line 86 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 343 {te = p+1;{ found_syllable (non_myanmar_cluster); }}
michael@0 344 break;
michael@0 345 case 10:
michael@0 346 #line 87 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 347 {te = p+1;{ found_syllable (punctuation_cluster); }}
michael@0 348 break;
michael@0 349 case 4:
michael@0 350 #line 88 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 351 {te = p+1;{ found_syllable (broken_cluster); }}
michael@0 352 break;
michael@0 353 case 3:
michael@0 354 #line 89 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 355 {te = p+1;{ found_syllable (non_myanmar_cluster); }}
michael@0 356 break;
michael@0 357 case 6:
michael@0 358 #line 85 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 359 {te = p;p--;{ found_syllable (consonant_syllable); }}
michael@0 360 break;
michael@0 361 case 8:
michael@0 362 #line 88 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 363 {te = p;p--;{ found_syllable (broken_cluster); }}
michael@0 364 break;
michael@0 365 case 9:
michael@0 366 #line 89 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 367 {te = p;p--;{ found_syllable (non_myanmar_cluster); }}
michael@0 368 break;
michael@0 369 #line 370 "hb-ot-shape-complex-myanmar-machine.hh.tmp"
michael@0 370 }
michael@0 371
michael@0 372 _again:
michael@0 373 switch ( _myanmar_syllable_machine_to_state_actions[cs] ) {
michael@0 374 case 1:
michael@0 375 #line 1 "NONE"
michael@0 376 {ts = 0;}
michael@0 377 break;
michael@0 378 #line 379 "hb-ot-shape-complex-myanmar-machine.hh.tmp"
michael@0 379 }
michael@0 380
michael@0 381 if ( ++p != pe )
michael@0 382 goto _resume;
michael@0 383 _test_eof: {}
michael@0 384 if ( p == eof )
michael@0 385 {
michael@0 386 if ( _myanmar_syllable_machine_eof_trans[cs] > 0 ) {
michael@0 387 _trans = _myanmar_syllable_machine_eof_trans[cs] - 1;
michael@0 388 goto _eof_trans;
michael@0 389 }
michael@0 390 }
michael@0 391
michael@0 392 }
michael@0 393
michael@0 394 #line 123 "../../src/hb-ot-shape-complex-myanmar-machine.rl"
michael@0 395
michael@0 396 }
michael@0 397
michael@0 398 #undef found_syllable
michael@0 399
michael@0 400 #endif /* HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH */

mercurial