From a27179c535686dd990d693cda2c73c269f32e718 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Thu, 7 Jan 2016 14:24:52 +0000 Subject: [PATCH] Serialize '--skeleton' generated data in little-endian. This commit fixes bug #132 "test failure on big endian archs with 0.15.3". Tests failed because re2c with '--skeleton' option used host endianness when serializing binary data to file. Expected test result was generated on little-endian arch, while actual test was run on big-endian arch. Only three tests failed (out of ~40 tests that are always run with '--skeleton'), because in most cases data unit is 1 byte and endianness doesn't matter. The fix: re2c now converts binary data from host-endian to little-endian before dumping it to file. Skeleton programs convert data back from little-endian to host-endian when reading it from file (iff data unit size is greater than 1 byte). --- re2c/src/ir/skeleton/generate_code.cc | 29 +- re2c/src/ir/skeleton/generate_data.cc | 19 +- re2c/test/repeat-07_default.gir--skeleton.c | 12 + ...cks.u--skeleton--encoding-policy(ignore).c | 636 ++++++++++++++++++ ...cks.x--skeleton--encoding-policy(ignore).c | 636 ++++++++++++++++++ 5 files changed, 1327 insertions(+), 5 deletions(-) diff --git a/re2c/src/ir/skeleton/generate_code.cc b/re2c/src/ir/skeleton/generate_code.cc index f13d2eda..f4fef544 100644 --- a/re2c/src/ir/skeleton/generate_code.cc +++ b/re2c/src/ir/skeleton/generate_code.cc @@ -39,6 +39,18 @@ static void exact_uint (OutputFile & o, size_t width) } } +static void from_le(OutputFile &o, uint32_t ind, size_t size, const char *expr) +{ + o.ws("\n").wind(ind).ws("/* from little-endian to host-endian */"); + o.ws("\n").wind(ind).ws("unsigned char *p = (unsigned char*)&").ws(expr).ws(";"); + o.ws("\n").wind(ind).ws(expr).ws(" = p[0]"); + for (uint32_t i = 1; i < size; ++i) + { + o.ws(" + (p[").wu32(i).ws("] << ").wu32(i * 8).ws("u)"); + } + o.ws(";"); +} + void Skeleton::emit_prolog (OutputFile & o) { o.ws("\n#include "); @@ -99,10 +111,11 @@ void Skeleton::emit_start , bool accept ) const { + const size_t sizeof_cunit = opts->encoding.szCodeUnit(); const uint32_t default_rule = rule2key (rule_rank_t::none ()); o.ws("\n#define YYCTYPE "); - exact_uint (o, opts->encoding.szCodeUnit ()); + exact_uint (o, sizeof_cunit); o.ws("\n#define YYKEYTYPE "); exact_uint (o, sizeof_key); o.ws("\n#define YYPEEK() *cursor"); @@ -187,6 +200,13 @@ void Skeleton::emit_start o.ws("\n").wind(2).ws("goto end;"); o.ws("\n").wind(1).ws("}"); o.ws("\n"); + if (sizeof_cunit > 1) + { + o.ws("\n").wind(1).ws("for (i = 0; i < input_len; ++i) {"); + from_le(o, 2, sizeof_cunit, "input[i]"); + o.ws("\n").wind(1).ws("}"); + o.ws("\n"); + } o.ws("\n").wind(1).ws("keys = (YYKEYTYPE *) read_file"); o.ws("\n").wind(2).ws("(\"").wstring(o.file_name).ws(".").wstring(name).ws(".keys\""); o.ws("\n").wind(2).ws(", 3 * sizeof (YYKEYTYPE)"); @@ -198,6 +218,13 @@ void Skeleton::emit_start o.ws("\n").wind(2).ws("goto end;"); o.ws("\n").wind(1).ws("}"); o.ws("\n"); + if (sizeof_key > 1) + { + o.ws("\n").wind(1).ws("for (i = 0; i < 3 * keys_count; ++i) {"); + from_le(o, 2, sizeof_key, "keys[i]"); + o.ws("\n").wind(1).ws("}"); + o.ws("\n"); + } o.ws("\n").wind(1).ws("cursor = input;"); o.ws("\n").wind(1).ws("limit = input + input_len + padding;"); o.ws("\n").wind(1).ws("eof = input + input_len;"); diff --git a/re2c/src/ir/skeleton/generate_data.cc b/re2c/src/ir/skeleton/generate_data.cc index 13e9f8a7..60af8376 100644 --- a/re2c/src/ir/skeleton/generate_data.cc +++ b/re2c/src/ir/skeleton/generate_data.cc @@ -147,6 +147,17 @@ void Skeleton::emit_data (const char * fname) fclose (keys); } +template static uintn_t to_le(uintn_t n) +{ + uintn_t m; + uint8_t *p = reinterpret_cast(&m); + for (size_t i = 0; i < sizeof(uintn_t); ++i) + { + p[i] = static_cast(n >> (i * 8)); + } + return m; +} + template static void keygen (FILE * f, size_t count, size_t len, size_t len_match, rule_rank_t match) { @@ -156,9 +167,9 @@ template key_t * keys = new key_t [keys_size]; for (uint32_t i = 0; i < keys_size;) { - keys[i++] = static_cast (len); - keys[i++] = static_cast (len_match); - keys[i++] = m; + keys[i++] = to_le(static_cast (len)); + keys[i++] = to_le(static_cast (len_match)); + keys[i++] = to_le(m); } fwrite (keys, sizeof (key_t), keys_size, f); delete [] keys; @@ -188,7 +199,7 @@ template for (size_t j = 0; j < count; ++j) { const size_t k = j % width; - buffer[j * len + i] = static_cast (arc[k]); + buffer[j * len + i] = to_le(static_cast (arc[k])); } } fwrite (buffer, sizeof (cunit_t), buffer_size, input); diff --git a/re2c/test/repeat-07_default.gir--skeleton.c b/re2c/test/repeat-07_default.gir--skeleton.c index 6e4af426..9f7e573f 100644 --- a/re2c/test/repeat-07_default.gir--skeleton.c +++ b/re2c/test/repeat-07_default.gir--skeleton.c @@ -310,6 +310,12 @@ int lex_line46() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("repeat-07_default.gir--skeleton.c.line46.keys" , 3 * sizeof (YYKEYTYPE) @@ -499,6 +505,12 @@ int lex_line64() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("repeat-07_default.gir--skeleton.c.line64.keys" , 3 * sizeof (YYKEYTYPE) diff --git a/re2c/test/unicode_blocks.u--skeleton--encoding-policy(ignore).c b/re2c/test/unicode_blocks.u--skeleton--encoding-policy(ignore).c index 316afa2b..f7fdb9a2 100644 --- a/re2c/test/unicode_blocks.u--skeleton--encoding-policy(ignore).c +++ b/re2c/test/unicode_blocks.u--skeleton--encoding-policy(ignore).c @@ -122,6 +122,12 @@ int lex_line344() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line344.keys" , 3 * sizeof (YYKEYTYPE) @@ -253,6 +259,12 @@ int lex_line351() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line351.keys" , 3 * sizeof (YYKEYTYPE) @@ -386,6 +398,12 @@ int lex_line358() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line358.keys" , 3 * sizeof (YYKEYTYPE) @@ -519,6 +537,12 @@ int lex_line365() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line365.keys" , 3 * sizeof (YYKEYTYPE) @@ -652,6 +676,12 @@ int lex_line372() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line372.keys" , 3 * sizeof (YYKEYTYPE) @@ -785,6 +815,12 @@ int lex_line379() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line379.keys" , 3 * sizeof (YYKEYTYPE) @@ -918,6 +954,12 @@ int lex_line386() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line386.keys" , 3 * sizeof (YYKEYTYPE) @@ -1051,6 +1093,12 @@ int lex_line393() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line393.keys" , 3 * sizeof (YYKEYTYPE) @@ -1184,6 +1232,12 @@ int lex_line400() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line400.keys" , 3 * sizeof (YYKEYTYPE) @@ -1317,6 +1371,12 @@ int lex_line407() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line407.keys" , 3 * sizeof (YYKEYTYPE) @@ -1450,6 +1510,12 @@ int lex_line414() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line414.keys" , 3 * sizeof (YYKEYTYPE) @@ -1583,6 +1649,12 @@ int lex_line421() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line421.keys" , 3 * sizeof (YYKEYTYPE) @@ -1716,6 +1788,12 @@ int lex_line428() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line428.keys" , 3 * sizeof (YYKEYTYPE) @@ -1849,6 +1927,12 @@ int lex_line435() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line435.keys" , 3 * sizeof (YYKEYTYPE) @@ -1982,6 +2066,12 @@ int lex_line442() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line442.keys" , 3 * sizeof (YYKEYTYPE) @@ -2115,6 +2205,12 @@ int lex_line449() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line449.keys" , 3 * sizeof (YYKEYTYPE) @@ -2248,6 +2344,12 @@ int lex_line456() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line456.keys" , 3 * sizeof (YYKEYTYPE) @@ -2381,6 +2483,12 @@ int lex_line463() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line463.keys" , 3 * sizeof (YYKEYTYPE) @@ -2514,6 +2622,12 @@ int lex_line470() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line470.keys" , 3 * sizeof (YYKEYTYPE) @@ -2647,6 +2761,12 @@ int lex_line477() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line477.keys" , 3 * sizeof (YYKEYTYPE) @@ -2780,6 +2900,12 @@ int lex_line484() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line484.keys" , 3 * sizeof (YYKEYTYPE) @@ -2913,6 +3039,12 @@ int lex_line491() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line491.keys" , 3 * sizeof (YYKEYTYPE) @@ -3046,6 +3178,12 @@ int lex_line498() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line498.keys" , 3 * sizeof (YYKEYTYPE) @@ -3179,6 +3317,12 @@ int lex_line505() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line505.keys" , 3 * sizeof (YYKEYTYPE) @@ -3312,6 +3456,12 @@ int lex_line512() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line512.keys" , 3 * sizeof (YYKEYTYPE) @@ -3445,6 +3595,12 @@ int lex_line519() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line519.keys" , 3 * sizeof (YYKEYTYPE) @@ -3578,6 +3734,12 @@ int lex_line526() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line526.keys" , 3 * sizeof (YYKEYTYPE) @@ -3711,6 +3873,12 @@ int lex_line533() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line533.keys" , 3 * sizeof (YYKEYTYPE) @@ -3844,6 +4012,12 @@ int lex_line540() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line540.keys" , 3 * sizeof (YYKEYTYPE) @@ -3977,6 +4151,12 @@ int lex_line547() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line547.keys" , 3 * sizeof (YYKEYTYPE) @@ -4110,6 +4290,12 @@ int lex_line554() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line554.keys" , 3 * sizeof (YYKEYTYPE) @@ -4243,6 +4429,12 @@ int lex_line561() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line561.keys" , 3 * sizeof (YYKEYTYPE) @@ -4376,6 +4568,12 @@ int lex_line568() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line568.keys" , 3 * sizeof (YYKEYTYPE) @@ -4509,6 +4707,12 @@ int lex_line575() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line575.keys" , 3 * sizeof (YYKEYTYPE) @@ -4642,6 +4846,12 @@ int lex_line582() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line582.keys" , 3 * sizeof (YYKEYTYPE) @@ -4775,6 +4985,12 @@ int lex_line589() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line589.keys" , 3 * sizeof (YYKEYTYPE) @@ -4908,6 +5124,12 @@ int lex_line596() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line596.keys" , 3 * sizeof (YYKEYTYPE) @@ -5041,6 +5263,12 @@ int lex_line603() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line603.keys" , 3 * sizeof (YYKEYTYPE) @@ -5174,6 +5402,12 @@ int lex_line610() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line610.keys" , 3 * sizeof (YYKEYTYPE) @@ -5307,6 +5541,12 @@ int lex_line617() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line617.keys" , 3 * sizeof (YYKEYTYPE) @@ -5440,6 +5680,12 @@ int lex_line624() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line624.keys" , 3 * sizeof (YYKEYTYPE) @@ -5573,6 +5819,12 @@ int lex_line631() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line631.keys" , 3 * sizeof (YYKEYTYPE) @@ -5706,6 +5958,12 @@ int lex_line638() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line638.keys" , 3 * sizeof (YYKEYTYPE) @@ -5839,6 +6097,12 @@ int lex_line645() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line645.keys" , 3 * sizeof (YYKEYTYPE) @@ -5972,6 +6236,12 @@ int lex_line652() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line652.keys" , 3 * sizeof (YYKEYTYPE) @@ -6105,6 +6375,12 @@ int lex_line659() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line659.keys" , 3 * sizeof (YYKEYTYPE) @@ -6238,6 +6514,12 @@ int lex_line666() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line666.keys" , 3 * sizeof (YYKEYTYPE) @@ -6371,6 +6653,12 @@ int lex_line673() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line673.keys" , 3 * sizeof (YYKEYTYPE) @@ -6504,6 +6792,12 @@ int lex_line680() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line680.keys" , 3 * sizeof (YYKEYTYPE) @@ -6637,6 +6931,12 @@ int lex_line687() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line687.keys" , 3 * sizeof (YYKEYTYPE) @@ -6770,6 +7070,12 @@ int lex_line694() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line694.keys" , 3 * sizeof (YYKEYTYPE) @@ -6903,6 +7209,12 @@ int lex_line701() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line701.keys" , 3 * sizeof (YYKEYTYPE) @@ -7036,6 +7348,12 @@ int lex_line708() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line708.keys" , 3 * sizeof (YYKEYTYPE) @@ -7169,6 +7487,12 @@ int lex_line715() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line715.keys" , 3 * sizeof (YYKEYTYPE) @@ -7302,6 +7626,12 @@ int lex_line722() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line722.keys" , 3 * sizeof (YYKEYTYPE) @@ -7435,6 +7765,12 @@ int lex_line729() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line729.keys" , 3 * sizeof (YYKEYTYPE) @@ -7568,6 +7904,12 @@ int lex_line736() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line736.keys" , 3 * sizeof (YYKEYTYPE) @@ -7701,6 +8043,12 @@ int lex_line743() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line743.keys" , 3 * sizeof (YYKEYTYPE) @@ -7834,6 +8182,12 @@ int lex_line750() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line750.keys" , 3 * sizeof (YYKEYTYPE) @@ -7967,6 +8321,12 @@ int lex_line757() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line757.keys" , 3 * sizeof (YYKEYTYPE) @@ -8100,6 +8460,12 @@ int lex_line764() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line764.keys" , 3 * sizeof (YYKEYTYPE) @@ -8233,6 +8599,12 @@ int lex_line771() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line771.keys" , 3 * sizeof (YYKEYTYPE) @@ -8366,6 +8738,12 @@ int lex_line778() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line778.keys" , 3 * sizeof (YYKEYTYPE) @@ -8499,6 +8877,12 @@ int lex_line785() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line785.keys" , 3 * sizeof (YYKEYTYPE) @@ -8632,6 +9016,12 @@ int lex_line792() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line792.keys" , 3 * sizeof (YYKEYTYPE) @@ -8765,6 +9155,12 @@ int lex_line799() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line799.keys" , 3 * sizeof (YYKEYTYPE) @@ -8898,6 +9294,12 @@ int lex_line806() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line806.keys" , 3 * sizeof (YYKEYTYPE) @@ -9031,6 +9433,12 @@ int lex_line813() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line813.keys" , 3 * sizeof (YYKEYTYPE) @@ -9164,6 +9572,12 @@ int lex_line820() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line820.keys" , 3 * sizeof (YYKEYTYPE) @@ -9297,6 +9711,12 @@ int lex_line827() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line827.keys" , 3 * sizeof (YYKEYTYPE) @@ -9430,6 +9850,12 @@ int lex_line834() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line834.keys" , 3 * sizeof (YYKEYTYPE) @@ -9563,6 +9989,12 @@ int lex_line841() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line841.keys" , 3 * sizeof (YYKEYTYPE) @@ -9696,6 +10128,12 @@ int lex_line848() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line848.keys" , 3 * sizeof (YYKEYTYPE) @@ -9829,6 +10267,12 @@ int lex_line855() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line855.keys" , 3 * sizeof (YYKEYTYPE) @@ -9962,6 +10406,12 @@ int lex_line862() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line862.keys" , 3 * sizeof (YYKEYTYPE) @@ -10095,6 +10545,12 @@ int lex_line869() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line869.keys" , 3 * sizeof (YYKEYTYPE) @@ -10228,6 +10684,12 @@ int lex_line876() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line876.keys" , 3 * sizeof (YYKEYTYPE) @@ -10361,6 +10823,12 @@ int lex_line883() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line883.keys" , 3 * sizeof (YYKEYTYPE) @@ -10494,6 +10962,12 @@ int lex_line890() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line890.keys" , 3 * sizeof (YYKEYTYPE) @@ -10627,6 +11101,12 @@ int lex_line897() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line897.keys" , 3 * sizeof (YYKEYTYPE) @@ -10760,6 +11240,12 @@ int lex_line904() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line904.keys" , 3 * sizeof (YYKEYTYPE) @@ -10893,6 +11379,12 @@ int lex_line911() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line911.keys" , 3 * sizeof (YYKEYTYPE) @@ -11026,6 +11518,12 @@ int lex_line918() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line918.keys" , 3 * sizeof (YYKEYTYPE) @@ -11159,6 +11657,12 @@ int lex_line925() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line925.keys" , 3 * sizeof (YYKEYTYPE) @@ -11292,6 +11796,12 @@ int lex_line932() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line932.keys" , 3 * sizeof (YYKEYTYPE) @@ -11425,6 +11935,12 @@ int lex_line939() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line939.keys" , 3 * sizeof (YYKEYTYPE) @@ -11558,6 +12074,12 @@ int lex_line946() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line946.keys" , 3 * sizeof (YYKEYTYPE) @@ -11691,6 +12213,12 @@ int lex_line953() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line953.keys" , 3 * sizeof (YYKEYTYPE) @@ -11824,6 +12352,12 @@ int lex_line960() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line960.keys" , 3 * sizeof (YYKEYTYPE) @@ -11957,6 +12491,12 @@ int lex_line967() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line967.keys" , 3 * sizeof (YYKEYTYPE) @@ -12090,6 +12630,12 @@ int lex_line974() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line974.keys" , 3 * sizeof (YYKEYTYPE) @@ -12223,6 +12769,12 @@ int lex_line981() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line981.keys" , 3 * sizeof (YYKEYTYPE) @@ -12356,6 +12908,12 @@ int lex_line988() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line988.keys" , 3 * sizeof (YYKEYTYPE) @@ -12489,6 +13047,12 @@ int lex_line995() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line995.keys" , 3 * sizeof (YYKEYTYPE) @@ -12622,6 +13186,12 @@ int lex_line1002() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1002.keys" , 3 * sizeof (YYKEYTYPE) @@ -12755,6 +13325,12 @@ int lex_line1009() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1009.keys" , 3 * sizeof (YYKEYTYPE) @@ -12888,6 +13464,12 @@ int lex_line1016() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1016.keys" , 3 * sizeof (YYKEYTYPE) @@ -13021,6 +13603,12 @@ int lex_line1023() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1023.keys" , 3 * sizeof (YYKEYTYPE) @@ -13154,6 +13742,12 @@ int lex_line1030() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1030.keys" , 3 * sizeof (YYKEYTYPE) @@ -13287,6 +13881,12 @@ int lex_line1037() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1037.keys" , 3 * sizeof (YYKEYTYPE) @@ -13420,6 +14020,12 @@ int lex_line1044() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1044.keys" , 3 * sizeof (YYKEYTYPE) @@ -13553,6 +14159,12 @@ int lex_line1051() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1051.keys" , 3 * sizeof (YYKEYTYPE) @@ -13686,6 +14298,12 @@ int lex_line1058() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1058.keys" , 3 * sizeof (YYKEYTYPE) @@ -13819,6 +14437,12 @@ int lex_line1065() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1065.keys" , 3 * sizeof (YYKEYTYPE) @@ -13952,6 +14576,12 @@ int lex_line1072() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1072.keys" , 3 * sizeof (YYKEYTYPE) @@ -14085,6 +14715,12 @@ int lex_line1079() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u) + (p[2] << 16u) + (p[3] << 24u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.u--skeleton--encoding-policy(ignore).c.line1079.keys" , 3 * sizeof (YYKEYTYPE) diff --git a/re2c/test/unicode_blocks.x--skeleton--encoding-policy(ignore).c b/re2c/test/unicode_blocks.x--skeleton--encoding-policy(ignore).c index a922f0e4..ed0ac52e 100644 --- a/re2c/test/unicode_blocks.x--skeleton--encoding-policy(ignore).c +++ b/re2c/test/unicode_blocks.x--skeleton--encoding-policy(ignore).c @@ -122,6 +122,12 @@ int lex_line344() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line344.keys" , 3 * sizeof (YYKEYTYPE) @@ -253,6 +259,12 @@ int lex_line351() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line351.keys" , 3 * sizeof (YYKEYTYPE) @@ -386,6 +398,12 @@ int lex_line358() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line358.keys" , 3 * sizeof (YYKEYTYPE) @@ -519,6 +537,12 @@ int lex_line365() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line365.keys" , 3 * sizeof (YYKEYTYPE) @@ -652,6 +676,12 @@ int lex_line372() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line372.keys" , 3 * sizeof (YYKEYTYPE) @@ -785,6 +815,12 @@ int lex_line379() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line379.keys" , 3 * sizeof (YYKEYTYPE) @@ -918,6 +954,12 @@ int lex_line386() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line386.keys" , 3 * sizeof (YYKEYTYPE) @@ -1051,6 +1093,12 @@ int lex_line393() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line393.keys" , 3 * sizeof (YYKEYTYPE) @@ -1184,6 +1232,12 @@ int lex_line400() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line400.keys" , 3 * sizeof (YYKEYTYPE) @@ -1317,6 +1371,12 @@ int lex_line407() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line407.keys" , 3 * sizeof (YYKEYTYPE) @@ -1450,6 +1510,12 @@ int lex_line414() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line414.keys" , 3 * sizeof (YYKEYTYPE) @@ -1583,6 +1649,12 @@ int lex_line421() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line421.keys" , 3 * sizeof (YYKEYTYPE) @@ -1716,6 +1788,12 @@ int lex_line428() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line428.keys" , 3 * sizeof (YYKEYTYPE) @@ -1849,6 +1927,12 @@ int lex_line435() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line435.keys" , 3 * sizeof (YYKEYTYPE) @@ -1982,6 +2066,12 @@ int lex_line442() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line442.keys" , 3 * sizeof (YYKEYTYPE) @@ -2115,6 +2205,12 @@ int lex_line449() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line449.keys" , 3 * sizeof (YYKEYTYPE) @@ -2248,6 +2344,12 @@ int lex_line456() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line456.keys" , 3 * sizeof (YYKEYTYPE) @@ -2381,6 +2483,12 @@ int lex_line463() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line463.keys" , 3 * sizeof (YYKEYTYPE) @@ -2514,6 +2622,12 @@ int lex_line470() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line470.keys" , 3 * sizeof (YYKEYTYPE) @@ -2647,6 +2761,12 @@ int lex_line477() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line477.keys" , 3 * sizeof (YYKEYTYPE) @@ -2780,6 +2900,12 @@ int lex_line484() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line484.keys" , 3 * sizeof (YYKEYTYPE) @@ -2913,6 +3039,12 @@ int lex_line491() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line491.keys" , 3 * sizeof (YYKEYTYPE) @@ -3046,6 +3178,12 @@ int lex_line498() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line498.keys" , 3 * sizeof (YYKEYTYPE) @@ -3179,6 +3317,12 @@ int lex_line505() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line505.keys" , 3 * sizeof (YYKEYTYPE) @@ -3312,6 +3456,12 @@ int lex_line512() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line512.keys" , 3 * sizeof (YYKEYTYPE) @@ -3445,6 +3595,12 @@ int lex_line519() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line519.keys" , 3 * sizeof (YYKEYTYPE) @@ -3578,6 +3734,12 @@ int lex_line526() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line526.keys" , 3 * sizeof (YYKEYTYPE) @@ -3711,6 +3873,12 @@ int lex_line533() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line533.keys" , 3 * sizeof (YYKEYTYPE) @@ -3844,6 +4012,12 @@ int lex_line540() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line540.keys" , 3 * sizeof (YYKEYTYPE) @@ -3977,6 +4151,12 @@ int lex_line547() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line547.keys" , 3 * sizeof (YYKEYTYPE) @@ -4110,6 +4290,12 @@ int lex_line554() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line554.keys" , 3 * sizeof (YYKEYTYPE) @@ -4243,6 +4429,12 @@ int lex_line561() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line561.keys" , 3 * sizeof (YYKEYTYPE) @@ -4376,6 +4568,12 @@ int lex_line568() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line568.keys" , 3 * sizeof (YYKEYTYPE) @@ -4509,6 +4707,12 @@ int lex_line575() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line575.keys" , 3 * sizeof (YYKEYTYPE) @@ -4642,6 +4846,12 @@ int lex_line582() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line582.keys" , 3 * sizeof (YYKEYTYPE) @@ -4775,6 +4985,12 @@ int lex_line589() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line589.keys" , 3 * sizeof (YYKEYTYPE) @@ -4908,6 +5124,12 @@ int lex_line596() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line596.keys" , 3 * sizeof (YYKEYTYPE) @@ -5041,6 +5263,12 @@ int lex_line603() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line603.keys" , 3 * sizeof (YYKEYTYPE) @@ -5174,6 +5402,12 @@ int lex_line610() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line610.keys" , 3 * sizeof (YYKEYTYPE) @@ -5307,6 +5541,12 @@ int lex_line617() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line617.keys" , 3 * sizeof (YYKEYTYPE) @@ -5440,6 +5680,12 @@ int lex_line624() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line624.keys" , 3 * sizeof (YYKEYTYPE) @@ -5573,6 +5819,12 @@ int lex_line631() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line631.keys" , 3 * sizeof (YYKEYTYPE) @@ -5706,6 +5958,12 @@ int lex_line638() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line638.keys" , 3 * sizeof (YYKEYTYPE) @@ -5839,6 +6097,12 @@ int lex_line645() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line645.keys" , 3 * sizeof (YYKEYTYPE) @@ -5972,6 +6236,12 @@ int lex_line652() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line652.keys" , 3 * sizeof (YYKEYTYPE) @@ -6105,6 +6375,12 @@ int lex_line659() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line659.keys" , 3 * sizeof (YYKEYTYPE) @@ -6238,6 +6514,12 @@ int lex_line666() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line666.keys" , 3 * sizeof (YYKEYTYPE) @@ -6371,6 +6653,12 @@ int lex_line673() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line673.keys" , 3 * sizeof (YYKEYTYPE) @@ -6504,6 +6792,12 @@ int lex_line680() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line680.keys" , 3 * sizeof (YYKEYTYPE) @@ -6637,6 +6931,12 @@ int lex_line687() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line687.keys" , 3 * sizeof (YYKEYTYPE) @@ -6770,6 +7070,12 @@ int lex_line694() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line694.keys" , 3 * sizeof (YYKEYTYPE) @@ -6903,6 +7209,12 @@ int lex_line701() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line701.keys" , 3 * sizeof (YYKEYTYPE) @@ -7036,6 +7348,12 @@ int lex_line708() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line708.keys" , 3 * sizeof (YYKEYTYPE) @@ -7169,6 +7487,12 @@ int lex_line715() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line715.keys" , 3 * sizeof (YYKEYTYPE) @@ -7302,6 +7626,12 @@ int lex_line722() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line722.keys" , 3 * sizeof (YYKEYTYPE) @@ -7435,6 +7765,12 @@ int lex_line729() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line729.keys" , 3 * sizeof (YYKEYTYPE) @@ -7568,6 +7904,12 @@ int lex_line736() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line736.keys" , 3 * sizeof (YYKEYTYPE) @@ -7701,6 +8043,12 @@ int lex_line743() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line743.keys" , 3 * sizeof (YYKEYTYPE) @@ -7834,6 +8182,12 @@ int lex_line750() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line750.keys" , 3 * sizeof (YYKEYTYPE) @@ -7967,6 +8321,12 @@ int lex_line757() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line757.keys" , 3 * sizeof (YYKEYTYPE) @@ -8100,6 +8460,12 @@ int lex_line764() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line764.keys" , 3 * sizeof (YYKEYTYPE) @@ -8233,6 +8599,12 @@ int lex_line771() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line771.keys" , 3 * sizeof (YYKEYTYPE) @@ -8366,6 +8738,12 @@ int lex_line778() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line778.keys" , 3 * sizeof (YYKEYTYPE) @@ -8499,6 +8877,12 @@ int lex_line785() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line785.keys" , 3 * sizeof (YYKEYTYPE) @@ -8632,6 +9016,12 @@ int lex_line792() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line792.keys" , 3 * sizeof (YYKEYTYPE) @@ -8765,6 +9155,12 @@ int lex_line799() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line799.keys" , 3 * sizeof (YYKEYTYPE) @@ -8898,6 +9294,12 @@ int lex_line806() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line806.keys" , 3 * sizeof (YYKEYTYPE) @@ -9031,6 +9433,12 @@ int lex_line813() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line813.keys" , 3 * sizeof (YYKEYTYPE) @@ -9164,6 +9572,12 @@ int lex_line820() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line820.keys" , 3 * sizeof (YYKEYTYPE) @@ -9297,6 +9711,12 @@ int lex_line827() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line827.keys" , 3 * sizeof (YYKEYTYPE) @@ -9430,6 +9850,12 @@ int lex_line834() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line834.keys" , 3 * sizeof (YYKEYTYPE) @@ -9563,6 +9989,12 @@ int lex_line841() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line841.keys" , 3 * sizeof (YYKEYTYPE) @@ -9696,6 +10128,12 @@ int lex_line848() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line848.keys" , 3 * sizeof (YYKEYTYPE) @@ -9829,6 +10267,12 @@ int lex_line855() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line855.keys" , 3 * sizeof (YYKEYTYPE) @@ -9962,6 +10406,12 @@ int lex_line862() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line862.keys" , 3 * sizeof (YYKEYTYPE) @@ -10095,6 +10545,12 @@ int lex_line869() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line869.keys" , 3 * sizeof (YYKEYTYPE) @@ -10228,6 +10684,12 @@ int lex_line876() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line876.keys" , 3 * sizeof (YYKEYTYPE) @@ -10361,6 +10823,12 @@ int lex_line883() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line883.keys" , 3 * sizeof (YYKEYTYPE) @@ -10494,6 +10962,12 @@ int lex_line890() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line890.keys" , 3 * sizeof (YYKEYTYPE) @@ -10627,6 +11101,12 @@ int lex_line897() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line897.keys" , 3 * sizeof (YYKEYTYPE) @@ -10760,6 +11240,12 @@ int lex_line904() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line904.keys" , 3 * sizeof (YYKEYTYPE) @@ -10893,6 +11379,12 @@ int lex_line911() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line911.keys" , 3 * sizeof (YYKEYTYPE) @@ -11026,6 +11518,12 @@ int lex_line918() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line918.keys" , 3 * sizeof (YYKEYTYPE) @@ -11159,6 +11657,12 @@ int lex_line925() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line925.keys" , 3 * sizeof (YYKEYTYPE) @@ -11292,6 +11796,12 @@ int lex_line932() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line932.keys" , 3 * sizeof (YYKEYTYPE) @@ -11425,6 +11935,12 @@ int lex_line939() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line939.keys" , 3 * sizeof (YYKEYTYPE) @@ -11558,6 +12074,12 @@ int lex_line946() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line946.keys" , 3 * sizeof (YYKEYTYPE) @@ -11691,6 +12213,12 @@ int lex_line953() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line953.keys" , 3 * sizeof (YYKEYTYPE) @@ -11824,6 +12352,12 @@ int lex_line960() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line960.keys" , 3 * sizeof (YYKEYTYPE) @@ -11957,6 +12491,12 @@ int lex_line967() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line967.keys" , 3 * sizeof (YYKEYTYPE) @@ -12090,6 +12630,12 @@ int lex_line974() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line974.keys" , 3 * sizeof (YYKEYTYPE) @@ -12223,6 +12769,12 @@ int lex_line981() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line981.keys" , 3 * sizeof (YYKEYTYPE) @@ -12356,6 +12908,12 @@ int lex_line988() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line988.keys" , 3 * sizeof (YYKEYTYPE) @@ -12489,6 +13047,12 @@ int lex_line995() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line995.keys" , 3 * sizeof (YYKEYTYPE) @@ -12622,6 +13186,12 @@ int lex_line1002() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1002.keys" , 3 * sizeof (YYKEYTYPE) @@ -12755,6 +13325,12 @@ int lex_line1009() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1009.keys" , 3 * sizeof (YYKEYTYPE) @@ -12888,6 +13464,12 @@ int lex_line1016() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1016.keys" , 3 * sizeof (YYKEYTYPE) @@ -13021,6 +13603,12 @@ int lex_line1023() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1023.keys" , 3 * sizeof (YYKEYTYPE) @@ -13154,6 +13742,12 @@ int lex_line1030() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1030.keys" , 3 * sizeof (YYKEYTYPE) @@ -13287,6 +13881,12 @@ int lex_line1037() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1037.keys" , 3 * sizeof (YYKEYTYPE) @@ -13420,6 +14020,12 @@ int lex_line1044() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1044.keys" , 3 * sizeof (YYKEYTYPE) @@ -13553,6 +14159,12 @@ int lex_line1051() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1051.keys" , 3 * sizeof (YYKEYTYPE) @@ -13686,6 +14298,12 @@ int lex_line1058() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1058.keys" , 3 * sizeof (YYKEYTYPE) @@ -13819,6 +14437,12 @@ int lex_line1065() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1065.keys" , 3 * sizeof (YYKEYTYPE) @@ -13952,6 +14576,12 @@ int lex_line1072() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1072.keys" , 3 * sizeof (YYKEYTYPE) @@ -14083,6 +14713,12 @@ int lex_line1079() goto end; } + for (i = 0; i < input_len; ++i) { + /* from little-endian to host-endian */ + unsigned char *p = (unsigned char*)&input[i]; + input[i] = p[0] + (p[1] << 8u); + } + keys = (YYKEYTYPE *) read_file ("unicode_blocks.x--skeleton--encoding-policy(ignore).c.line1079.keys" , 3 * sizeof (YYKEYTYPE) -- 2.40.0