diff options
author | Roger Leigh <rleigh@debian.org> | 2008-10-26 17:28:54 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2008-10-26 17:28:54 +0000 |
commit | 33a17feb28af2d2aeabc8c7ab5ef509ea3de15a7 (patch) | |
tree | d444cf1a245694bd049a9e6722c41b8f280ad429 /src/testpattern/testpatternl.c | |
parent | 9d82a443d65ea3e4e015ba6988208231fa8fdc77 (diff) |
Imported Upstream version 5.2.1
Diffstat (limited to 'src/testpattern/testpatternl.c')
-rw-r--r-- | src/testpattern/testpatternl.c | 541 |
1 files changed, 283 insertions, 258 deletions
diff --git a/src/testpattern/testpatternl.c b/src/testpattern/testpatternl.c index be9bd04..167b521 100644 --- a/src/testpattern/testpatternl.c +++ b/src/testpattern/testpatternl.c @@ -361,8 +361,8 @@ static void yy_fatal_error (yyconst char msg[] ); *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; -#define YY_NUM_RULES 51 -#define YY_END_OF_BUFFER 52 +#define YY_NUM_RULES 54 +#define YY_END_OF_BUFFER 55 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -370,35 +370,37 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[249] = +static yyconst flex_int16_t yy_accept[264] = { 0, - 0, 0, 52, 51, 48, 50, 51, 49, 51, 51, - 45, 45, 32, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 48, 0, 49, 0, 47, 45, - 47, 0, 45, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 47, 47, 0, 46, 0, 47, 46, - 45, 47, 47, 37, 47, 47, 47, 44, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 36, 47, 20, 47, 47, 47, 47, 46, 47, - 47, 34, 1, 47, 47, 47, 47, 39, 38, 29, - 47, 47, 47, 35, 47, 47, 47, 21, 47, 47, - 47, 33, 47, 47, 47, 47, 47, 47, 47, 47, - 47, 47, 47, 7, 47, 47, 47, 47, 9, 22, - 27, 47, 47, 47, 47, 10, 47, 47, 47, 47, - 47, 47, 47, 47, 11, 23, 40, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 2, 47, 47, 47, - 47, 41, 47, 47, 47, 47, 47, 5, 47, 30, - - 47, 19, 47, 47, 8, 47, 3, 42, 43, 47, - 47, 25, 13, 47, 47, 6, 28, 47, 47, 47, - 47, 26, 24, 12, 4, 31, 14, 47, 47, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 15, 47, - 47, 47, 47, 18, 17, 47, 16, 0 + 0, 0, 55, 54, 51, 53, 54, 52, 54, 54, + 48, 48, 33, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 51, 0, 52, 0, 50, 48, + 50, 0, 48, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 50, 0, 49, 0, 50, 49, + 48, 50, 50, 38, 50, 50, 50, 47, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 37, 50, 50, 21, 50, 50, 50, 50, 49, + 50, 50, 35, 1, 50, 50, 50, 50, 50, 40, + 39, 30, 50, 50, 50, 36, 50, 50, 50, 22, + 50, 50, 50, 34, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 50, 50, 7, 50, 50, 50, + 50, 50, 9, 23, 28, 50, 50, 50, 50, 10, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 11, + 24, 41, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 2, 50, 50, 50, 50, 42, 50, 50, + + 50, 50, 50, 50, 5, 50, 31, 50, 20, 46, + 50, 50, 8, 50, 3, 43, 44, 50, 50, 26, + 13, 50, 50, 50, 6, 29, 50, 50, 50, 50, + 50, 27, 25, 12, 4, 32, 14, 45, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 15, 50, 16, 50, 50, 50, 19, 18, + 50, 17, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -411,12 +413,12 @@ static yyconst flex_int32_t yy_ec[256] = 11, 11, 11, 11, 11, 11, 11, 1, 12, 1, 1, 1, 1, 1, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 23, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 1, 1, 1, 1, 13, 1, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, - 28, 29, 23, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 1, 1, 1, 1, 1, 1, 1, 1, + 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -433,206 +435,214 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[39] = +static yyconst flex_int32_t yy_meta[40] = { 0, 1, 1, 2, 3, 1, 1, 1, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4 + 4, 4, 4, 4, 4, 4, 4, 4, 4 } ; -static yyconst flex_int16_t yy_base[253] = +static yyconst flex_int16_t yy_base[268] = { 0, - 0, 0, 516, 517, 513, 517, 0, 0, 508, 29, - 32, 35, 517, 504, 38, 39, 43, 42, 40, 46, - 48, 50, 49, 70, 55, 62, 71, 72, 64, 63, - 73, 78, 77, 84, 510, 507, 0, 504, 517, 98, - 500, 79, 101, 113, 104, 91, 116, 94, 118, 108, - 109, 117, 119, 120, 126, 128, 124, 130, 132, 140, - 133, 144, 134, 151, 138, 148, 152, 153, 161, 165, - 150, 164, 168, 178, 169, 188, 190, 178, 193, 196, - 200, 203, 154, 204, 188, 205, 162, 499, 207, 208, - 209, 211, 212, 213, 215, 217, 218, 222, 223, 224, - - 227, 231, 232, 230, 234, 228, 233, 236, 244, 247, - 248, 498, 254, 497, 255, 256, 257, 259, 259, 258, - 263, 496, 495, 262, 264, 265, 267, 494, 493, 492, - 276, 282, 271, 491, 288, 289, 286, 490, 290, 292, - 295, 489, 296, 298, 299, 302, 304, 305, 307, 308, - 309, 311, 312, 314, 315, 316, 320, 325, 488, 487, - 486, 323, 335, 321, 337, 485, 326, 327, 340, 341, - 344, 345, 347, 348, 484, 483, 482, 350, 351, 352, - 353, 355, 358, 361, 362, 360, 481, 363, 367, 371, - 373, 480, 376, 378, 384, 383, 385, 479, 387, 478, - - 388, 477, 390, 394, 476, 392, 475, 468, 465, 391, - 399, 461, 458, 393, 400, 457, 450, 395, 412, 410, - 403, 447, 446, 397, 396, 269, 421, 416, 413, 427, - 422, 428, 431, 430, 432, 433, 434, 436, 268, 435, - 444, 439, 442, 182, 176, 445, 88, 517, 471, 475, - 479, 90 + 0, 0, 547, 548, 544, 548, 0, 0, 539, 30, + 33, 36, 548, 535, 39, 40, 44, 46, 49, 43, + 41, 56, 68, 70, 62, 51, 60, 67, 73, 80, + 83, 84, 85, 86, 541, 538, 0, 535, 548, 91, + 531, 86, 101, 113, 107, 116, 117, 90, 118, 98, + 120, 124, 104, 125, 126, 130, 129, 133, 136, 140, + 141, 144, 137, 150, 145, 149, 152, 156, 159, 161, + 162, 164, 171, 175, 172, 188, 190, 177, 193, 196, + 200, 203, 204, 205, 206, 207, 185, 209, 212, 211, + 154, 214, 215, 217, 218, 226, 219, 225, 227, 231, + + 233, 235, 237, 232, 240, 238, 234, 242, 253, 239, + 250, 530, 252, 259, 529, 260, 261, 262, 264, 264, + 267, 269, 528, 527, 272, 270, 275, 273, 271, 526, + 525, 524, 284, 292, 278, 523, 295, 297, 296, 522, + 298, 281, 303, 521, 304, 305, 306, 311, 312, 313, + 315, 317, 316, 318, 319, 322, 320, 323, 326, 324, + 331, 338, 520, 519, 518, 334, 344, 335, 345, 517, + 333, 349, 352, 355, 358, 356, 361, 362, 359, 516, + 515, 514, 364, 366, 367, 369, 370, 372, 376, 375, + 374, 377, 513, 378, 390, 388, 394, 512, 386, 387, + + 398, 400, 404, 402, 511, 405, 510, 406, 503, 500, + 407, 408, 495, 410, 494, 493, 492, 409, 417, 491, + 489, 412, 414, 419, 488, 487, 413, 420, 427, 429, + 435, 486, 485, 484, 483, 482, 438, 457, 452, 430, + 443, 440, 445, 446, 447, 450, 448, 453, 454, 444, + 455, 464, 329, 461, 277, 471, 473, 478, 181, 94, + 479, 50, 548, 506, 510, 514, 52 } ; -static yyconst flex_int16_t yy_def[253] = +static yyconst flex_int16_t yy_def[268] = { 0, - 248, 1, 248, 248, 248, 248, 249, 250, 251, 248, - 252, 252, 248, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 248, 249, 250, 251, 248, 248, - 252, 248, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 248, 248, 248, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 248, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, - 252, 252, 252, 252, 252, 252, 252, 0, 248, 248, - 248, 248 + 263, 1, 263, 263, 263, 263, 264, 265, 266, 263, + 267, 267, 263, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 263, 264, 265, 266, 263, 263, + 267, 263, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 263, 263, 263, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 263, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 0, 263, 263, 263, 263 } ; -static yyconst flex_int16_t yy_nxt[556] = +static yyconst flex_int16_t yy_nxt[588] = { 0, 4, 5, 6, 7, 8, 9, 10, 10, 4, 11, 12, 13, 14, 14, 15, 16, 17, 18, 14, 19, - 20, 21, 14, 22, 23, 24, 25, 26, 27, 28, - 29, 30, 14, 31, 32, 33, 34, 14, 40, 40, - 42, 43, 43, 42, 43, 43, 248, 248, 248, 44, - 248, 248, 44, 54, 248, 50, 248, 248, 248, 47, - 51, 60, 46, 248, 48, 59, 61, 45, 52, 55, - 248, 248, 248, 57, 58, 49, 56, 53, 248, 248, - 248, 248, 65, 62, 67, 248, 248, 63, 77, 77, - 71, 69, 248, 41, 66, 70, 248, 64, 73, 248, - - 68, 75, 248, 72, 82, 74, 42, 40, 40, 42, - 43, 43, 248, 81, 81, 76, 248, 248, 44, 78, - 79, 248, 80, 80, 248, 248, 248, 248, 248, 83, - 84, 85, 248, 88, 248, 87, 248, 95, 248, 91, - 248, 248, 248, 92, 86, 90, 248, 93, 248, 94, - 89, 101, 248, 96, 98, 99, 248, 97, 248, 248, - 248, 248, 248, 103, 104, 100, 102, 105, 106, 248, - 248, 108, 248, 248, 111, 112, 248, 248, 114, 107, - 121, 109, 113, 110, 248, 115, 248, 119, 119, 116, - 248, 117, 125, 118, 78, 78, 248, 119, 119, 77, - - 77, 248, 80, 80, 248, 80, 80, 76, 248, 81, - 81, 248, 248, 248, 123, 248, 248, 248, 120, 248, - 248, 248, 124, 248, 126, 248, 248, 122, 130, 133, - 248, 248, 248, 127, 132, 248, 248, 137, 248, 248, - 248, 248, 248, 143, 248, 128, 135, 129, 139, 140, - 131, 142, 248, 145, 134, 248, 248, 146, 138, 136, - 141, 144, 248, 248, 248, 248, 248, 248, 119, 119, - 248, 248, 248, 248, 148, 248, 248, 248, 147, 248, - 159, 154, 149, 153, 248, 157, 156, 151, 152, 155, - 248, 158, 150, 160, 248, 162, 248, 248, 248, 161, - - 248, 163, 164, 248, 248, 165, 248, 248, 168, 169, - 248, 171, 248, 248, 166, 248, 248, 248, 167, 248, - 248, 173, 248, 248, 248, 176, 177, 172, 248, 248, - 170, 248, 181, 248, 248, 248, 174, 175, 180, 179, - 182, 184, 178, 248, 185, 248, 190, 187, 248, 248, - 186, 183, 248, 248, 188, 248, 248, 189, 248, 248, - 248, 248, 194, 248, 191, 196, 248, 197, 248, 248, - 248, 248, 192, 199, 193, 248, 195, 200, 203, 248, - 207, 248, 201, 205, 248, 198, 248, 204, 208, 206, - 209, 248, 248, 248, 202, 248, 248, 210, 248, 248, - - 248, 248, 248, 248, 248, 248, 217, 248, 248, 211, - 212, 248, 213, 215, 214, 218, 221, 223, 248, 222, - 248, 248, 216, 219, 248, 225, 224, 226, 220, 248, - 248, 229, 227, 228, 230, 248, 248, 231, 248, 248, - 248, 248, 248, 248, 248, 233, 232, 248, 235, 242, - 248, 234, 248, 248, 248, 248, 243, 238, 248, 236, - 237, 244, 240, 239, 247, 248, 248, 241, 246, 248, - 245, 36, 36, 248, 36, 37, 248, 37, 37, 38, - 38, 38, 38, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - - 248, 248, 248, 248, 248, 248, 248, 248, 248, 39, - 39, 35, 248, 39, 35, 248, 3, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248 + 20, 21, 14, 22, 23, 24, 25, 26, 27, 14, + 28, 29, 30, 14, 31, 32, 33, 34, 14, 40, + 40, 42, 43, 43, 42, 43, 43, 263, 263, 263, + 44, 263, 263, 44, 263, 41, 50, 263, 263, 263, + 47, 51, 54, 46, 263, 48, 57, 58, 263, 45, + 263, 59, 52, 67, 56, 263, 263, 49, 263, 55, + 60, 263, 53, 62, 66, 61, 69, 63, 263, 65, + 68, 263, 263, 263, 263, 77, 77, 64, 263, 42, + + 40, 40, 263, 75, 73, 70, 263, 71, 76, 42, + 43, 43, 263, 74, 72, 263, 81, 81, 44, 78, + 79, 263, 80, 80, 263, 263, 263, 84, 263, 82, + 83, 85, 263, 263, 263, 86, 89, 263, 263, 91, + 88, 263, 95, 92, 263, 263, 87, 93, 263, 263, + 90, 94, 263, 263, 98, 99, 96, 263, 263, 101, + 263, 97, 263, 103, 263, 100, 105, 263, 104, 263, + 263, 108, 263, 112, 113, 102, 106, 111, 114, 263, + 263, 107, 109, 263, 110, 116, 120, 120, 118, 263, + 115, 130, 117, 263, 78, 78, 119, 120, 120, 77, + + 77, 263, 80, 80, 263, 80, 80, 76, 263, 81, + 81, 263, 263, 263, 263, 263, 126, 263, 121, 263, + 263, 127, 263, 263, 125, 263, 263, 263, 123, 128, + 122, 132, 124, 263, 263, 263, 129, 134, 135, 263, + 263, 263, 263, 263, 139, 263, 263, 263, 263, 137, + 263, 131, 141, 145, 142, 133, 136, 144, 263, 147, + 263, 263, 146, 143, 138, 140, 148, 263, 263, 263, + 263, 149, 263, 120, 120, 263, 150, 263, 263, 263, + 263, 263, 151, 263, 163, 263, 263, 152, 156, 263, + 157, 160, 263, 154, 155, 158, 159, 161, 153, 162, + + 263, 164, 166, 263, 263, 263, 263, 171, 167, 165, + 168, 263, 263, 263, 263, 169, 172, 173, 175, 263, + 263, 263, 170, 263, 263, 263, 263, 263, 263, 177, + 263, 263, 263, 181, 263, 182, 176, 263, 174, 263, + 186, 263, 263, 263, 185, 178, 263, 179, 180, 184, + 187, 183, 263, 263, 190, 191, 188, 263, 189, 192, + 263, 193, 194, 263, 263, 195, 263, 263, 196, 263, + 263, 203, 263, 200, 263, 263, 197, 263, 263, 202, + 263, 204, 263, 263, 263, 263, 263, 198, 206, 199, + 210, 201, 211, 207, 263, 263, 263, 208, 263, 212, + + 213, 205, 263, 215, 214, 216, 263, 218, 263, 209, + 263, 217, 263, 263, 263, 263, 263, 263, 263, 219, + 263, 263, 263, 226, 220, 263, 222, 263, 263, 227, + 221, 224, 223, 235, 230, 263, 233, 263, 263, 231, + 232, 225, 228, 263, 236, 234, 263, 229, 263, 238, + 239, 263, 263, 263, 263, 263, 263, 245, 263, 237, + 263, 263, 263, 263, 247, 263, 240, 241, 255, 263, + 242, 248, 263, 243, 250, 252, 246, 257, 249, 263, + 251, 263, 258, 244, 254, 253, 263, 263, 259, 256, + 263, 263, 263, 263, 263, 263, 263, 263, 262, 263, + + 263, 263, 263, 263, 261, 260, 36, 36, 263, 36, + 37, 263, 37, 37, 38, 38, 38, 38, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 39, 39, 35, 263, 39, 35, 263, 3, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263 } ; -static yyconst flex_int16_t yy_chk[556] = +static yyconst flex_int16_t yy_chk[588] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, - 11, 11, 11, 12, 12, 12, 15, 16, 19, 11, - 18, 17, 12, 19, 20, 17, 21, 23, 22, 16, - 17, 23, 15, 25, 16, 22, 23, 11, 18, 19, - 26, 30, 29, 21, 21, 16, 20, 18, 24, 27, - 28, 31, 25, 24, 27, 33, 32, 24, 42, 42, - 30, 28, 34, 252, 26, 29, 247, 24, 32, 46, - - 27, 34, 48, 31, 46, 33, 40, 40, 40, 43, - 43, 43, 45, 45, 45, 40, 50, 51, 43, 44, - 44, 44, 44, 44, 47, 52, 49, 53, 54, 47, - 48, 49, 57, 52, 55, 51, 56, 57, 58, 55, - 59, 61, 63, 55, 50, 54, 65, 55, 60, 56, - 53, 61, 62, 58, 60, 60, 66, 59, 71, 64, - 67, 68, 83, 62, 63, 60, 61, 64, 65, 69, - 87, 67, 72, 70, 68, 69, 73, 75, 71, 66, - 83, 67, 70, 67, 245, 72, 74, 78, 78, 73, - 244, 74, 87, 75, 76, 76, 85, 76, 76, 77, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, + 10, 11, 11, 11, 12, 12, 12, 15, 16, 21, + 11, 20, 17, 12, 18, 267, 17, 19, 262, 26, + 16, 17, 19, 15, 22, 16, 21, 21, 27, 11, + 25, 22, 18, 27, 20, 28, 23, 16, 24, 19, + 23, 29, 18, 24, 26, 23, 28, 24, 30, 25, + 27, 31, 32, 33, 34, 42, 42, 24, 48, 40, + + 40, 40, 260, 34, 32, 29, 50, 30, 40, 43, + 43, 43, 53, 33, 31, 45, 45, 45, 43, 44, + 44, 44, 44, 44, 46, 47, 49, 48, 51, 46, + 47, 49, 52, 54, 55, 50, 53, 57, 56, 55, + 52, 58, 57, 55, 59, 63, 51, 55, 60, 61, + 54, 56, 62, 65, 60, 60, 58, 66, 64, 61, + 67, 59, 91, 62, 68, 60, 64, 69, 63, 70, + 71, 67, 72, 69, 70, 61, 65, 68, 70, 73, + 75, 66, 67, 74, 67, 72, 78, 78, 74, 259, + 71, 91, 73, 87, 76, 76, 75, 76, 76, 77, 77, 79, 79, 79, 80, 80, 80, 77, 81, 81, - 81, 82, 84, 86, 85, 89, 90, 91, 82, 92, - 93, 94, 86, 95, 89, 96, 97, 84, 93, 96, - 98, 99, 100, 90, 95, 101, 106, 100, 104, 102, - 103, 107, 105, 106, 108, 91, 98, 92, 102, 103, - 94, 105, 109, 108, 97, 110, 111, 109, 101, 99, - 104, 107, 113, 115, 116, 117, 120, 118, 119, 119, - 124, 121, 125, 126, 111, 127, 239, 226, 110, 133, - 127, 120, 113, 118, 131, 125, 124, 116, 117, 121, - 132, 126, 115, 131, 137, 133, 135, 136, 139, 132, - - 140, 135, 136, 141, 143, 137, 144, 145, 141, 143, - 146, 145, 147, 148, 139, 149, 150, 151, 140, 152, - 153, 147, 154, 155, 156, 150, 151, 146, 157, 164, - 144, 162, 155, 158, 167, 168, 148, 149, 154, 153, - 156, 158, 152, 163, 162, 165, 168, 164, 169, 170, - 163, 157, 171, 172, 165, 173, 174, 167, 178, 179, - 180, 181, 172, 182, 169, 174, 183, 178, 186, 184, - 185, 188, 170, 180, 171, 189, 173, 181, 184, 190, - 189, 191, 182, 186, 193, 179, 194, 185, 190, 188, - 191, 196, 195, 197, 183, 199, 201, 193, 203, 210, - - 206, 214, 204, 218, 225, 224, 203, 211, 215, 194, - 195, 221, 196, 199, 197, 204, 211, 215, 220, 214, - 219, 229, 201, 206, 228, 219, 218, 220, 210, 227, - 231, 228, 221, 227, 228, 230, 232, 228, 234, 233, - 235, 236, 237, 240, 238, 229, 228, 242, 231, 238, - 243, 230, 241, 246, 223, 222, 240, 234, 217, 232, - 233, 241, 236, 235, 246, 216, 213, 237, 243, 212, - 242, 249, 249, 209, 249, 250, 208, 250, 250, 251, - 251, 251, 251, 207, 205, 202, 200, 198, 192, 187, - 177, 176, 175, 166, 161, 160, 159, 142, 138, 134, - - 130, 129, 128, 123, 122, 114, 112, 88, 41, 38, - 36, 35, 14, 9, 5, 3, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, - 248, 248, 248, 248, 248 + 81, 82, 83, 84, 85, 86, 87, 88, 82, 90, + 89, 88, 92, 93, 86, 94, 95, 97, 84, 89, + 83, 93, 85, 98, 96, 99, 90, 95, 96, 100, + 104, 101, 107, 102, 100, 103, 106, 110, 105, 98, + 108, 92, 102, 106, 103, 94, 97, 105, 111, 108, + 113, 109, 107, 104, 99, 101, 109, 114, 116, 117, + 118, 110, 119, 120, 120, 121, 111, 122, 126, 129, + 125, 128, 113, 127, 129, 255, 135, 114, 119, 142, + 121, 126, 133, 117, 118, 122, 125, 127, 116, 128, + + 134, 133, 135, 137, 139, 138, 141, 142, 137, 134, + 138, 143, 145, 146, 147, 139, 143, 145, 147, 148, + 149, 150, 141, 151, 153, 152, 154, 155, 157, 149, + 156, 158, 160, 153, 159, 154, 148, 253, 146, 161, + 158, 171, 166, 168, 157, 150, 162, 151, 152, 156, + 159, 155, 167, 169, 162, 166, 160, 172, 161, 167, + 173, 168, 169, 174, 176, 171, 175, 179, 172, 177, + 178, 179, 183, 176, 184, 185, 173, 186, 187, 178, + 188, 183, 191, 190, 189, 192, 194, 174, 185, 175, + 189, 177, 190, 186, 199, 200, 196, 187, 195, 191, + + 192, 184, 197, 195, 194, 196, 201, 199, 202, 188, + 204, 197, 203, 206, 208, 211, 212, 218, 214, 200, + 222, 227, 223, 211, 201, 219, 203, 224, 228, 212, + 202, 206, 204, 228, 219, 229, 224, 230, 240, 222, + 223, 208, 214, 231, 229, 227, 237, 218, 242, 231, + 237, 241, 250, 243, 244, 245, 247, 240, 246, 230, + 239, 248, 249, 251, 242, 238, 239, 239, 250, 254, + 239, 243, 252, 239, 245, 247, 241, 252, 244, 256, + 246, 257, 254, 239, 249, 248, 258, 261, 256, 251, + 236, 235, 234, 233, 232, 226, 225, 221, 261, 220, + + 217, 216, 215, 213, 258, 257, 264, 264, 210, 264, + 265, 209, 265, 265, 266, 266, 266, 266, 207, 205, + 198, 193, 182, 181, 180, 170, 165, 164, 163, 144, + 140, 136, 132, 131, 130, 124, 123, 115, 112, 41, + 38, 36, 35, 14, 9, 5, 3, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, + 263, 263, 263, 263, 263, 263, 263 } ; static yy_state_type yy_last_accepting_state; @@ -651,7 +661,7 @@ int yy_flex_debug = 0; char *yytext; #line 1 "testpatternl.l" /* - * "$Id: testpatternl.l,v 1.20 2008/02/03 02:48:20 rlk Exp $" + * "$Id: testpatternl.l,v 1.22 2008/06/08 01:03:51 rlk Exp $" * * Test pattern generator for Gimp-Print * @@ -711,7 +721,7 @@ do \ while (0) -#line 715 "testpatternl.c" +#line 725 "testpatternl.c" #define INITIAL 0 @@ -867,7 +877,7 @@ YY_DECL #line 73 "testpatternl.l" -#line 871 "testpatternl.c" +#line 881 "testpatternl.c" if ( !(yy_init) ) { @@ -920,13 +930,13 @@ yy_match: while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 249 ) + if ( yy_current_state >= 264 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } - while ( yy_base[yy_current_state] != 517 ); + while ( yy_base[yy_current_state] != 548 ); yy_find_action: yy_act = yy_accept[yy_current_state]; @@ -1028,117 +1038,117 @@ DBG(PARAMETER_INT); return PARAMETER_INT; case 16: YY_RULE_SETUP #line 90 "testpatternl.l" -DBG(PARAMETER); return PARAMETER; +DBG(PARAMETER_BOOL); return PARAMETER_BOOL; YY_BREAK case 17: YY_RULE_SETUP #line 91 "testpatternl.l" -DBG(PARAMETER_FLOAT); return PARAMETER_FLOAT; +DBG(PARAMETER); return PARAMETER; YY_BREAK case 18: YY_RULE_SETUP #line 92 "testpatternl.l" -DBG(PARAMETER_CURVE); return PARAMETER_CURVE; +DBG(PARAMETER_FLOAT); return PARAMETER_FLOAT; YY_BREAK case 19: YY_RULE_SETUP #line 93 "testpatternl.l" -DBG(DENSITY); return DENSITY; +DBG(PARAMETER_CURVE); return PARAMETER_CURVE; YY_BREAK case 20: YY_RULE_SETUP #line 94 "testpatternl.l" -DBG(TOP); return TOP; +DBG(DENSITY); return DENSITY; YY_BREAK case 21: YY_RULE_SETUP #line 95 "testpatternl.l" -DBG(LEFT); return LEFT; +DBG(TOP); return TOP; YY_BREAK case 22: YY_RULE_SETUP #line 96 "testpatternl.l" -DBG(HSIZE); return HSIZE; +DBG(LEFT); return LEFT; YY_BREAK case 23: YY_RULE_SETUP #line 97 "testpatternl.l" -DBG(VSIZE); return VSIZE; +DBG(HSIZE); return HSIZE; YY_BREAK case 24: YY_RULE_SETUP #line 98 "testpatternl.l" -DBG(BLACKLINE); return BLACKLINE; +DBG(VSIZE); return VSIZE; YY_BREAK case 25: YY_RULE_SETUP #line 99 "testpatternl.l" -DBG(PATTERN); return PATTERN; +DBG(BLACKLINE); return BLACKLINE; YY_BREAK case 26: YY_RULE_SETUP #line 100 "testpatternl.l" -DBG(XPATTERN); return XPATTERN; +DBG(PATTERN); return PATTERN; YY_BREAK case 27: YY_RULE_SETUP #line 101 "testpatternl.l" -DBG(IMAGE); return IMAGE; +DBG(XPATTERN); return XPATTERN; YY_BREAK case 28: YY_RULE_SETUP #line 102 "testpatternl.l" -DBG(EXTENDED); return EXTENDED; +DBG(IMAGE); return IMAGE; YY_BREAK case 29: YY_RULE_SETUP #line 103 "testpatternl.l" -DBG(GRID); return GRID; +DBG(EXTENDED); return EXTENDED; YY_BREAK case 30: YY_RULE_SETUP #line 104 "testpatternl.l" -DBG(CHANNEL); return CHANNEL; +DBG(GRID); return GRID; YY_BREAK case 31: YY_RULE_SETUP #line 105 "testpatternl.l" -DBG(PAGESIZE); return PAGESIZE; +DBG(CHANNEL); return CHANNEL; YY_BREAK case 32: YY_RULE_SETUP #line 106 "testpatternl.l" -DBG(SEMI); return SEMI; +DBG(PAGESIZE); return PAGESIZE; YY_BREAK case 33: YY_RULE_SETUP #line 107 "testpatternl.l" -DBG(MODE); return MODE; +DBG(SEMI); return SEMI; YY_BREAK case 34: YY_RULE_SETUP #line 108 "testpatternl.l" -yylval.ival = CMYK;DBG(CMYK); return CMYK; +DBG(MODE); return MODE; YY_BREAK case 35: YY_RULE_SETUP #line 109 "testpatternl.l" -yylval.ival = CMYK;DBG(KCMY); return KCMY; +yylval.ival = CMYK;DBG(CMYK); return CMYK; YY_BREAK case 36: YY_RULE_SETUP #line 110 "testpatternl.l" -yylval.ival = RGB;DBG(RGB); return RGB; +yylval.ival = CMYK;DBG(KCMY); return KCMY; YY_BREAK case 37: YY_RULE_SETUP #line 111 "testpatternl.l" -yylval.ival = RGB;DBG(CMY); return CMY; +yylval.ival = RGB;DBG(RGB); return RGB; YY_BREAK case 38: YY_RULE_SETUP #line 112 "testpatternl.l" -yylval.ival = GRAY;DBG(GRAY); return GRAY; +yylval.ival = RGB;DBG(CMY); return CMY; YY_BREAK case 39: YY_RULE_SETUP @@ -1148,66 +1158,81 @@ yylval.ival = GRAY;DBG(GRAY); return GRAY; case 40: YY_RULE_SETUP #line 114 "testpatternl.l" -yylval.ival = WHITE;DBG(WHITE); return WHITE; +yylval.ival = GRAY;DBG(GRAY); return GRAY; YY_BREAK case 41: YY_RULE_SETUP #line 115 "testpatternl.l" -DBG(OUTPUT); return OUTPUT; +yylval.ival = WHITE;DBG(WHITE); return WHITE; YY_BREAK case 42: YY_RULE_SETUP #line 116 "testpatternl.l" -DBG(MESSAGE); return MESSAGE; +DBG(OUTPUT); return OUTPUT; YY_BREAK case 43: YY_RULE_SETUP #line 117 "testpatternl.l" -DBG(NOSCALE); return NOSCALE; +DBG(MESSAGE); return MESSAGE; YY_BREAK case 44: YY_RULE_SETUP #line 118 "testpatternl.l" -DBG(END); return END; +DBG(NOSCALE); return NOSCALE; YY_BREAK case 45: YY_RULE_SETUP -#line 121 "testpatternl.l" -yylval.ival = strtol(yytext, NULL, 0); yylval.dval = (double) yylval.ival; DBG(tINT); return tINT; +#line 119 "testpatternl.l" +DBG(START_JOB); return START_JOB; YY_BREAK case 46: YY_RULE_SETUP -#line 122 "testpatternl.l" -yylval.dval = strtod(yytext, NULL); DBG(tDOUBLE); return tDOUBLE; +#line 120 "testpatternl.l" +DBG(END_JOB); return END_JOB; YY_BREAK case 47: -/* rule 47 can match eol */ YY_RULE_SETUP -#line 123 "testpatternl.l" -yylval.sval = c_strstrip(yytext); DBG(tSTRING); return tSTRING; +#line 121 "testpatternl.l" +DBG(END); return END; YY_BREAK case 48: YY_RULE_SETUP #line 124 "testpatternl.l" -DBG(whitespace); /* Skip blanks/tabs */ +yylval.ival = strtol(yytext, NULL, 0); yylval.dval = (double) yylval.ival; DBG(tINT); return tINT; YY_BREAK case 49: YY_RULE_SETUP #line 125 "testpatternl.l" -DBG(comment); /* Skip comments */ +yylval.dval = strtod(yytext, NULL); DBG(tDOUBLE); return tDOUBLE; YY_BREAK case 50: /* rule 50 can match eol */ YY_RULE_SETUP #line 126 "testpatternl.l" -DBG(newline); mylineno++; +yylval.sval = c_strstrip(yytext); DBG(tSTRING); return tSTRING; YY_BREAK case 51: YY_RULE_SETUP #line 127 "testpatternl.l" +DBG(whitespace); /* Skip blanks/tabs */ + YY_BREAK +case 52: +YY_RULE_SETUP +#line 128 "testpatternl.l" +DBG(comment); /* Skip comments */ + YY_BREAK +case 53: +/* rule 53 can match eol */ +YY_RULE_SETUP +#line 129 "testpatternl.l" +DBG(newline); mylineno++; + YY_BREAK +case 54: +YY_RULE_SETUP +#line 130 "testpatternl.l" ECHO; YY_BREAK -#line 1211 "testpatternl.c" +#line 1236 "testpatternl.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -1491,7 +1516,7 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 249 ) + if ( yy_current_state >= 264 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -1519,11 +1544,11 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 249 ) + if ( yy_current_state >= 264 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 248); + yy_is_jam = (yy_current_state == 263); return yy_is_jam ? 0 : yy_current_state; } @@ -2174,4 +2199,4 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 127 "testpatternl.l" +#line 130 "testpatternl.l" |