X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=parser.c;h=058d032f6594825048fef29716f540dedb6ec21e;hb=1f84be6944ee48b72a33cf064661fa1a2129b885;hp=ca1681b7a91fe4f1b72681f8bdeb620c65e8b035;hpb=7d36b24250db61fe2fd46465d7685ce008f7d546;p=xboard.git diff --git a/parser.c b/parser.c index ca1681b..058d032 100644 --- a/parser.c +++ b/parser.c @@ -375,7 +375,7 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_acclist[623] = +static yyconst flex_int16_t yy_acclist[646] = { 0, 44, 42, 43, 42, 43, 42, 43, 41, 42, 43, 42, 43, 26, 42, 43, 42, 43, 41, 42, 43, @@ -389,9 +389,9 @@ static yyconst flex_int16_t yy_acclist[623] = 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, - 41, 42, 43, 41, 42, 43, 42, 43, 42, 43, - 41, 42, 43, 41, 42, 43, 41, 42, 43,16411, - 41, 42, 43,16411, 42, 43, 41, 42, 43, 41, + 41, 42, 43, 41, 42, 43, 41, 42, 43, 42, + 43, 42, 43, 41, 42, 43, 41, 42, 43, 41, + 42, 43,16411, 41, 42, 43,16411, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, @@ -401,133 +401,136 @@ static yyconst flex_int16_t yy_acclist[623] = 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, 41, 42, 43, - 42, 43, 34, 41, 18, 41, 10, 41, 41, 41, - 16411, 8219, 41, 36, 41, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 10, 41, 41, 41, 41, - 37, 41, 4, 41, 41, 5, 41, 41, 41, 41, - 41, 41, 10, 41, 41, 41, 35, 41, 41, 10, - 41, 41, 41,16411, 8219, 41, 41, 41, 41, 41, - 41, 41, 41, 41, 41, 41, 41, 10, 41, 41, - 41, 41, 41, 4, 41, 41, 5, 41, 41, 41, - - 41, 41, 41, 10, 41, 41, 41, 16, 10, 41, - 24, 41, 24, 9, 41, 8219, 23, 41, 23, 25, - 41, 41, 41, 41, 41, 7, 41, 41, 41, 41, - 41, 41, 10, 41, 41, 41, 41, 5, 41, 41, - 4, 4, 41, 4, 41, 4, 41, 5, 6, 41, - 5, 5, 41, 41, 41, 41, 10, 41, 41, 35, - 40, 10, 41, 24, 41, 9, 41, 23, 41, 36, - 41, 41, 41, 41, 41, 7, 41, 41, 41, 41, - 41, 41, 10, 41, 41, 41, 41, 5, 41, 41, - 4, 41, 4, 41, 4, 41, 6, 41, 5, 41, - - 41, 41, 41, 10, 41, 41, 39, 39, 39, 38, - 26, 26, 7, 41, 11, 7, 41, 3, 41, 8, - 41, 7, 41, 7, 41, 41, 41, 20, 41, 41, + 41, 42, 43, 41, 42, 43, 42, 43, 34, 41, + 18, 41, 10, 41, 41, 41,16411, 8219, 41, 36, + 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, + 41, 10, 41, 41, 41, 41, 37, 41, 4, 41, + 41, 5, 41, 41, 41, 41, 41, 41, 10, 41, + 41, 41, 35, 41, 41, 10, 41, 41, 41,16411, + 8219, 41, 41, 41, 41, 41, 41, 41, 41, 41, + 41, 41, 41, 10, 41, 41, 41, 41, 41, 4, + + 41, 41, 5, 41, 41, 41, 41, 41, 41, 10, + 41, 41, 41, 16, 10, 41, 24, 41, 24, 9, + 41, 8219, 23, 41, 23, 25, 41, 41, 41, 41, + 41, 7, 41, 41, 41, 41, 41, 41, 10, 41, + 41, 41, 41, 5, 41, 41, 4, 4, 41, 4, + 41, 4, 41, 5, 6, 41, 5, 5, 41, 41, + 41, 41, 10, 41, 41, 35, 40, 10, 41, 24, + 41, 9, 41, 23, 41, 36, 41, 41, 41, 41, + 41, 7, 41, 41, 41, 41, 41, 41, 10, 41, + 41, 41, 41, 5, 41, 41, 4, 41, 4, 41, + + 4, 41, 6, 41, 5, 41, 41, 41, 41, 10, + 41, 41, 39, 39, 39, 38, 26, 26, 7, 41, + 11, 7, 41, 3, 41, 8, 41, 7, 41, 7, + 7, 41, 7, 41, 41, 41, 41, 20, 41, 41, 17, 41, 41, 41, 41, 41, 37, 4, 41, 4, 2, 41, 6, 5, 6, 6, 41, 41, 5, 5, 41, 41, 26, 40, 41, 7, 41, 3, 41, 8, - 41, 41, 41, 41, 41, 20, 41, 41, 17, 41, - 41, 41, 41, 41, 41, 2, 41, 6, 41, 41, - 5, 41, 41, 39, 8, 3, 8, 1, 41, 21, - 41, 41, 20, 41, 41, 41, 41, 41, 41, 31, - - 37, 2, 2, 2, 41, 6, 6, 6, 41, 40, - 1, 41, 41, 41, 20, 41, 41, 41, 41, 41, - 41, 2, 41, 6, 41, 28, 39, 1, 24, 24, - 23, 23, 25, 25, 1, 1, 41, 22, 21, 41, - 41, 41, 12, 41, 41, 29, 37, 31, 2, 2, - 28, 35, 40, 40, 1, 41, 41, 41, 41, 12, - 41, 41, 19, 1, 25, 1, 22, 20, 41, 41, - 41, 12, 41, 41, 41, 41, 41, 12, 41, 41, - 13, 41, 41, 41, 41, 13, 41, 41, 15, 41, - 41, 41, 15, 41, 41, 41, 40, 41, 41, 41, - - 41, 40, 40, 41, 41, 32, 41, 40, 40, 32, - 41, 14, 32, 33, 33, 36, 40, 40, 32, 40, - 35, 30 + 41, 41, 7, 41, 7, 41, 41, 41, 41, 20, + 41, 41, 17, 41, 41, 41, 41, 41, 41, 2, + 41, 6, 41, 41, 5, 41, 41, 39, 8, 7, + + 7, 3, 8, 8, 41, 7, 1, 41, 21, 41, + 41, 20, 41, 41, 41, 41, 41, 41, 31, 37, + 2, 2, 2, 41, 6, 6, 6, 41, 40, 8, + 41, 1, 41, 41, 41, 20, 41, 41, 41, 41, + 41, 41, 2, 41, 6, 41, 28, 39, 8, 1, + 24, 24, 23, 23, 25, 25, 8, 1, 1, 41, + 22, 21, 41, 41, 41, 12, 41, 41, 29, 37, + 31, 2, 2, 28, 35, 40, 40, 1, 41, 41, + 41, 41, 12, 41, 41, 19, 1, 25, 1, 22, + 20, 41, 41, 41, 12, 41, 41, 41, 41, 41, + + 12, 41, 41, 13, 41, 41, 41, 41, 13, 41, + 41, 15, 41, 41, 41, 15, 41, 41, 41, 40, + 41, 41, 41, 41, 40, 40, 41, 41, 32, 41, + 40, 40, 32, 41, 14, 32, 33, 33, 36, 40, + 40, 32, 40, 35, 30 } ; -static yyconst flex_int16_t yy_accept[705] = +static yyconst flex_int16_t yy_accept[720] = { 0, 1, 1, 1, 2, 4, 6, 8, 11, 13, 16, 18, 21, 25, 29, 31, 34, 37, 40, 43, 46, 49, 52, 55, 58, 61, 64, 66, 69, 72, 75, 78, 81, 84, 87, 90, 93, 96, 99, 102, 105, - 108, 111, 114, 117, 119, 121, 124, 127, 131, 135, - 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, + 108, 111, 114, 117, 120, 122, 124, 127, 130, 134, + 138, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 176, 179, 182, 185, 188, 191, 194, - 197, 200, 203, 206, 209, 212, 215, 218, 221, 223, - 223, 224, 225, 225, 225, 225, 225, 226, 226, 226, - 226, 227, 227, 229, 229, 229, 229, 230, 230, 230, - - 232, 232, 234, 234, 235, 235, 236, 236, 237, 237, - 238, 238, 239, 240, 241, 242, 243, 244, 245, 246, - 248, 249, 250, 251, 251, 251, 251, 251, 252, 253, - 255, 255, 256, 258, 259, 260, 261, 262, 263, 265, - 266, 267, 267, 267, 267, 268, 268, 269, 269, 270, - 272, 272, 273, 275, 275, 277, 277, 278, 279, 279, - 280, 281, 282, 283, 284, 285, 286, 287, 288, 290, - 291, 292, 293, 294, 296, 296, 297, 299, 300, 301, - 302, 303, 304, 306, 307, 308, 308, 308, 308, 308, - 308, 308, 308, 308, 308, 308, 308, 309, 309, 309, - - 309, 309, 309, 311, 313, 314, 316, 317, 317, 317, - 317, 319, 320, 321, 321, 322, 322, 323, 323, 324, - 325, 325, 326, 328, 328, 328, 328, 328, 328, 328, - 328, 329, 330, 331, 332, 333, 335, 336, 337, 338, - 338, 338, 338, 338, 340, 340, 341, 341, 342, 344, - 346, 348, 349, 349, 351, 352, 354, 355, 356, 357, - 359, 360, 361, 361, 361, 361, 361, 362, 364, 366, - 368, 370, 370, 371, 371, 372, 373, 373, 374, 375, - 376, 378, 378, 379, 380, 381, 382, 383, 385, 386, - 387, 388, 390, 391, 391, 393, 395, 397, 399, 401, - - 402, 403, 404, 406, 407, 407, 407, 408, 409, 409, - 409, 410, 410, 410, 411, 411, 411, 412, 412, 413, - 413, 414, 414, 414, 414, 415, 415, 415, 415, 415, - 415, 415, 415, 416, 418, 418, 418, 420, 422, 423, - 424, 424, 425, 426, 426, 426, 426, 426, 426, 426, - 427, 428, 430, 430, 431, 433, 434, 435, 436, 437, - 437, 437, 437, 437, 438, 439, 440, 440, 441, 443, - 444, 445, 445, 445, 446, 448, 449, 450, 450, 452, - 453, 453, 454, 454, 454, 454, 454, 455, 455, 456, - 456, 456, 458, 460, 462, 463, 463, 464, 465, 466, - - 468, 469, 471, 472, 473, 474, 475, 476, 478, 480, - 481, 483, 484, 484, 484, 484, 484, 485, 485, 485, - 485, 485, 486, 486, 486, 486, 486, 486, 486, 486, - 486, 486, 487, 488, 490, 490, 490, 490, 490, 490, - 491, 492, 493, 493, 495, 495, 496, 497, 498, 499, - 500, 500, 500, 502, 502, 502, 503, 503, 504, 506, - 507, 507, 508, 508, 510, 510, 510, 510, 510, 510, - 510, 510, 511, 511, 511, 513, 514, 515, 517, 518, - 519, 520, 521, 522, 524, 526, 526, 526, 526, 526, - 526, 526, 528, 528, 529, 529, 530, 530, 531, 531, - - 532, 532, 533, 533, 534, 534, 535, 535, 535, 535, - 536, 538, 538, 538, 539, 539, 539, 540, 541, 541, - 541, 541, 541, 541, 542, 543, 545, 546, 548, 548, - 549, 550, 551, 551, 551, 553, 553, 553, 554, 555, - 555, 555, 557, 558, 559, 560, 562, 563, 563, 564, - 564, 564, 564, 564, 565, 565, 566, 567, 567, 567, - 568, 568, 568, 569, 569, 569, 569, 569, 570, 571, - 572, 574, 575, 575, 575, 575, 575, 575, 576, 577, - 578, 580, 581, 581, 581, 581, 581, 581, 581, 582, - 582, 582, 582, 582, 583, 584, 584, 584, 584, 584, - - 585, 586, 586, 586, 586, 586, 587, 587, 587, 587, - 588, 589, 591, 591, 591, 591, 591, 592, 592, 593, - 595, 595, 595, 595, 595, 596, 597, 597, 597, 597, - 597, 598, 599, 600, 600, 600, 600, 600, 600, 601, - 602, 602, 602, 602, 602, 603, 604, 605, 606, 606, - 606, 606, 606, 606, 608, 608, 608, 608, 608, 609, - 610, 612, 612, 612, 613, 613, 614, 614, 615, 615, - 615, 617, 617, 618, 619, 619, 619, 619, 619, 621, - 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, - 621, 621, 621, 621, 621, 621, 621, 621, 621, 621, - - 621, 622, 623, 623 + 197, 200, 203, 206, 209, 212, 215, 218, 221, 224, + 227, 229, 229, 230, 231, 231, 231, 231, 231, 232, + 232, 232, 232, 233, 233, 235, 235, 235, 235, 236, + + 236, 236, 238, 238, 240, 240, 241, 241, 242, 242, + 243, 243, 244, 244, 245, 246, 247, 248, 249, 250, + 251, 252, 254, 255, 256, 257, 257, 257, 257, 257, + 258, 259, 261, 261, 262, 264, 265, 266, 267, 268, + 269, 271, 272, 273, 273, 273, 273, 274, 274, 275, + 275, 276, 278, 278, 279, 281, 281, 283, 283, 284, + 285, 285, 286, 287, 288, 289, 290, 291, 292, 293, + 294, 296, 297, 298, 299, 300, 302, 302, 303, 305, + 306, 307, 308, 309, 310, 312, 313, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 315, + + 315, 315, 315, 315, 315, 317, 319, 320, 322, 323, + 323, 323, 323, 325, 326, 327, 327, 328, 328, 329, + 329, 330, 331, 331, 332, 334, 334, 334, 334, 334, + 334, 334, 334, 335, 336, 337, 338, 339, 341, 342, + 343, 344, 344, 344, 344, 344, 346, 346, 347, 347, + 348, 350, 352, 354, 355, 355, 357, 358, 360, 361, + 362, 363, 365, 366, 367, 367, 367, 367, 367, 368, + 370, 372, 374, 376, 376, 377, 377, 378, 379, 379, + 380, 381, 382, 384, 384, 385, 386, 387, 388, 389, + 391, 392, 393, 394, 396, 397, 397, 399, 401, 403, + + 405, 407, 408, 409, 410, 412, 413, 413, 413, 414, + 415, 415, 415, 416, 416, 416, 417, 417, 417, 418, + 418, 419, 419, 420, 420, 420, 420, 421, 421, 421, + 421, 421, 421, 421, 421, 422, 424, 424, 424, 426, + 428, 429, 429, 430, 430, 431, 433, 435, 436, 436, + 436, 436, 436, 436, 436, 437, 438, 440, 440, 441, + 443, 444, 445, 446, 447, 447, 447, 447, 447, 448, + 449, 450, 450, 451, 453, 454, 455, 455, 455, 456, + 458, 459, 460, 460, 462, 463, 463, 464, 464, 464, + 464, 464, 465, 465, 466, 466, 466, 468, 470, 472, + + 473, 473, 475, 477, 478, 479, 480, 482, 483, 485, + 486, 487, 488, 489, 490, 492, 494, 495, 497, 498, + 498, 498, 498, 498, 499, 499, 499, 499, 499, 500, + 501, 502, 502, 502, 502, 502, 502, 502, 502, 502, + 502, 503, 503, 504, 506, 507, 509, 509, 509, 509, + 509, 509, 510, 511, 512, 512, 514, 514, 515, 516, + 517, 518, 519, 519, 519, 521, 521, 521, 522, 522, + 523, 525, 526, 526, 527, 527, 529, 529, 529, 529, + 529, 529, 529, 529, 530, 530, 530, 532, 534, 535, + 536, 538, 539, 540, 541, 542, 543, 545, 547, 547, + + 547, 547, 547, 547, 547, 549, 549, 550, 551, 551, + 552, 552, 553, 553, 554, 554, 555, 555, 556, 556, + 557, 557, 557, 558, 558, 559, 561, 561, 561, 562, + 562, 562, 563, 564, 564, 564, 564, 564, 564, 565, + 566, 568, 569, 571, 571, 572, 573, 574, 574, 574, + 576, 576, 576, 577, 578, 578, 578, 580, 581, 582, + 583, 585, 586, 586, 587, 587, 587, 587, 587, 588, + 588, 589, 590, 590, 590, 591, 591, 591, 592, 592, + 592, 592, 592, 593, 594, 595, 597, 598, 598, 598, + 598, 598, 598, 599, 600, 601, 603, 604, 604, 604, + + 604, 604, 604, 604, 605, 605, 605, 605, 605, 606, + 607, 607, 607, 607, 607, 608, 609, 609, 609, 609, + 609, 610, 610, 610, 610, 611, 612, 614, 614, 614, + 614, 614, 615, 615, 616, 618, 618, 618, 618, 618, + 619, 620, 620, 620, 620, 620, 621, 622, 623, 623, + 623, 623, 623, 623, 624, 625, 625, 625, 625, 625, + 626, 627, 628, 629, 629, 629, 629, 629, 629, 631, + 631, 631, 631, 631, 632, 633, 635, 635, 635, 636, + 636, 637, 637, 638, 638, 638, 640, 640, 641, 642, + 642, 642, 642, 642, 644, 644, 644, 644, 644, 644, + + 644, 644, 644, 644, 644, 644, 644, 644, 644, 644, + 644, 644, 644, 644, 644, 644, 645, 646, 646 } ; static yyconst flex_int32_t yy_ec[256] = @@ -574,187 +577,193 @@ static yyconst flex_int32_t yy_meta[76] = 17, 19, 17, 1, 1 } ; -static yyconst flex_int16_t yy_base[785] = +static yyconst flex_int16_t yy_base[807] = { 0, - 0, 75, 3642, 4141, 126, 135, 0, 146, 3633, 144, - 155, 175, 166, 3633, 237, 163, 3579, 3568, 123, 249, + 0, 75, 3179, 4554, 126, 135, 0, 146, 3113, 144, + 155, 175, 166, 3113, 237, 163, 3059, 3033, 123, 249, 245, 261, 253, 283, 300, 356, 418, 256, 259, 272, - 277, 286, 336, 293, 227, 295, 347, 334, 3584, 159, - 3569, 3551, 194, 405, 3614, 153, 412, 489, 396, 309, - 554, 328, 3482, 3471, 124, 430, 423, 562, 434, 566, - 440, 626, 395, 362, 433, 412, 538, 540, 445, 566, - 570, 592, 589, 325, 644, 366, 645, 652, 685, 3478, - 613, 0, 3522, 371, 699, 178, 4141, 3516, 747, 641, - 471, 3493, 3475, 3311, 509, 708, 3308, 533, 164, 711, - - 3307, 0, 3320, 4141, 0, 771, 0, 823, 0, 883, - 928, 3233, 3224, 3226, 3231, 3204, 650, 3118, 3147, 3143, - 3113, 3130, 3120, 3112, 999, 300, 1074, 4141, 1101, 1153, - 0, 1178, 1230, 672, 677, 716, 3072, 2971, 2967, 2962, - 2971, 334, 2874, 720, 2942, 2941, 380, 2939, 733, 735, - 416, 736, 1302, 655, 406, 561, 1367, 1419, 2938, 1479, - 2892, 2887, 722, 737, 764, 757, 2871, 2900, 770, 2870, - 738, 2879, 1503, 1555, 2897, 1580, 1632, 889, 896, 966, - 902, 772, 773, 909, 903, 917, 2821, 587, 607, 626, - 653, 690, 1007, 1019, 2872, 2807, 4141, 741, 1035, 2877, - - 2815, 2814, 2803, 2797, 2783, 0, 4141, 2782, 2779, 2778, - 2777, 2773, 940, 792, 797, 929, 1681, 1717, 933, 978, - 1014, 1032, 1764, 1027, 2719, 2712, 2711, 2724, 2719, 630, - 1051, 1074, 2700, 989, 2717, 2755, 2711, 2707, 1096, 824, - 1128, 701, 1836, 1902, 0, 1907, 0, 2756, 2754, 2753, - 1086, 1124, 1376, 1958, 2753, 2751, 610, 2710, 2709, 2744, - 2689, 4141, 1491, 766, 2752, 666, 2752, 825, 953, 950, - 969, 785, 2750, 1323, 1091, 2003, 2749, 1118, 1383, 1380, - 2050, 2745, 1495, 1708, 1370, 1498, 1497, 1108, 1744, 1770, - 1785, 2114, 2119, 2744, 956, 2736, 1779, 2170, 970, 1368, - - 1496, 1774, 1304, 1833, 1240, 2693, 4141, 859, 911, 915, - 1032, 1040, 1077, 4141, 1744, 2734, 2733, 2668, 2667, 1290, - 1841, 2723, 2722, 2721, 2721, 1091, 2720, 180, 2719, 1421, - 1849, 710, 4141, 2711, 1852, 1503, 0, 2710, 2709, 2175, - 1835, 4141, 1523, 2664, 2664, 2662, 2656, 2656, 2660, 2662, - 2659, 1320, 1118, 1220, 0, 2669, 2647, 2648, 2647, 1152, - 1154, 922, 1676, 2694, 2687, 1701, 1809, 4141, 1875, 1851, - 2686, 1333, 1855, 1867, 2685, 1334, 4141, 2631, 0, 2631, - 1897, 2689, 1905, 2000, 2643, 2628, 2687, 565, 1772, 256, - 1137, 1858, 1421, 1882, 2187, 2685, 2030, 1961, 2006, 2004, - - 2058, 1558, 2059, 1867, 1897, 2060, 2065, 2111, 1771, 2239, - 1635, 2241, 1966, 2635, 1108, 2676, 1113, 1231, 1235, 1267, - 1370, 2663, 1814, 2674, 2608, 2671, 2606, 2669, 2604, 2656, - 1883, 4141, 4141, 2295, 2622, 2618, 2024, 2618, 2613, 2602, - 2664, 420, 2209, 2663, 1411, 2634, 2609, 2599, 2596, 2651, - 1530, 1971, 4141, 2649, 1975, 1996, 2000, 2065, 2638, 2637, - 1743, 4141, 2583, 0, 2631, 2112, 2620, 2073, 2615, 2566, - 2559, 1599, 1807, 1719, 2332, 2247, 2246, 2248, 2244, 2249, - 2255, 2285, 2257, 1996, 2117, 2269, 983, 1424, 2614, 1455, - 1516, 4141, 2171, 2088, 2613, 2612, 2547, 2546, 2609, 2608, - - 2543, 2541, 2604, 2603, 2537, 2533, 2583, 2577, 2261, 2264, - 2580, 2527, 2536, 2224, 1783, 2533, 4141, 2532, 2569, 2521, - 2500, 2539, 2504, 2510, 2480, 1973, 2495, 4141, 2114, 4141, - 2531, 4141, 2522, 2375, 2528, 2464, 2458, 2510, 1949, 392, - 271, 2277, 2370, 2272, 2276, 2375, 2376, 2276, 4141, 2455, - 2464, 1560, 2370, 2463, 2463, 2462, 4141, 2395, 2399, 4141, - 2392, 2438, 2412, 2319, 2352, 2313, 2282, 2307, 2278, 2264, - 0, 2247, 2383, 2310, 2244, 1644, 1500, 2389, 2280, 2395, - 2287, 2396, 2404, 2248, 2290, 1798, 2218, 2195, 2066, 2169, - 2004, 2151, 2116, 2479, 2112, 2024, 2019, 1757, 842, 2554, - - 2390, 2418, 1974, 1956, 1924, 4141, 1903, 2041, 2081, 2629, - 2135, 0, 1897, 1839, 2159, 1721, 2704, 2378, 2169, 2290, - 2421, 1845, 1814, 2389, 1618, 1584, 1583, 1486, 787, 598, - 2405, 1509, 1440, 2423, 1322, 1282, 2264, 2384, 1285, 1198, - 1093, 1124, 2040, 1753, 2410, 2474, 1097, 913, 2437, 2381, - 872, 2398, 2415, 0, 916, 764, 769, 2163, 2473, 2475, - 0, 2449, 718, 4141, 686, 2400, 618, 4141, 440, 373, - 4141, 2349, 2485, 2466, 2458, 293, 273, 1809, 2517, 2468, - 168, 2409, 1309, 2347, 2456, 2504, 2508, 2532, 2535, 2536, - 2538, 2568, 2581, 2583, 2584, 2589, 2590, 2591, 2603, 2470, - - 165, 4141, 4141, 2776, 2795, 2808, 2822, 2841, 2860, 2876, - 2895, 2914, 2932, 1933, 2030, 2148, 2950, 2969, 2170, 2988, - 3007, 3023, 3042, 3061, 3080, 3099, 3118, 3137, 3156, 3168, - 3187, 3206, 3225, 3244, 3252, 2205, 3267, 3283, 3302, 3318, - 3337, 3356, 3375, 3394, 3413, 3432, 3451, 3470, 3489, 3508, - 3520, 3539, 3558, 3577, 3596, 3612, 3627, 3643, 3662, 3678, - 3697, 3716, 3735, 3754, 3773, 3792, 3811, 3830, 3849, 3868, - 3887, 3906, 3921, 3940, 3959, 3974, 3988, 4007, 4026, 4045, - 4064, 4083, 4102, 4121 + 277, 286, 336, 293, 227, 295, 347, 334, 149, 150, + 387, 322, 376, 404, 406, 3081, 401, 437, 489, 441, + 218, 554, 329, 3028, 3015, 275, 400, 395, 562, 482, + 468, 573, 616, 429, 391, 535, 566, 589, 591, 599, + 601, 628, 631, 633, 685, 686, 687, 691, 693, 709, + 721, 3025, 477, 0, 3069, 303, 735, 176, 4554, 3062, + 783, 167, 364, 3056, 3056, 3054, 462, 755, 3054, 480, + + 180, 715, 3053, 0, 3066, 4554, 0, 807, 0, 859, + 0, 919, 964, 3019, 3014, 3017, 3022, 2995, 577, 2995, + 3024, 3023, 2993, 3010, 3001, 3009, 1035, 465, 1110, 4554, + 1137, 1189, 0, 1214, 1266, 604, 729, 755, 2987, 2991, + 2990, 2985, 2994, 352, 2972, 774, 3042, 3041, 643, 3040, + 789, 711, 565, 796, 1338, 370, 695, 561, 1403, 1455, + 3039, 1515, 2993, 2988, 802, 742, 758, 763, 2972, 3001, + 809, 2971, 803, 2980, 1539, 1591, 3032, 1616, 1668, 925, + 932, 1002, 716, 926, 939, 805, 946, 806, 2969, 652, + 712, 716, 732, 776, 1043, 995, 3023, 2957, 4554, 945, + + 1051, 3027, 3026, 3025, 3014, 3023, 3018, 0, 4554, 3017, + 3016, 3015, 3012, 3001, 1063, 965, 978, 1009, 1717, 1753, + 1014, 1056, 1068, 1072, 1805, 1128, 2943, 2936, 2935, 2948, + 2943, 568, 1073, 1110, 2924, 818, 2941, 2979, 2935, 2931, + 1133, 613, 1133, 300, 1878, 1944, 0, 1949, 0, 2980, + 2978, 2977, 1128, 1149, 1412, 2000, 2977, 2975, 751, 2932, + 2930, 2966, 2911, 4554, 1527, 836, 2973, 397, 2969, 861, + 1154, 810, 1156, 785, 2967, 534, 1419, 2045, 2966, 1424, + 1522, 1523, 2097, 2964, 1744, 1886, 1134, 1887, 1425, 1162, + 1888, 1153, 1922, 2162, 2167, 2963, 1339, 2955, 1780, 2218, + + 1340, 1404, 1057, 1906, 1406, 1892, 1463, 2912, 4554, 895, + 946, 951, 976, 999, 1069, 4554, 1566, 2953, 2952, 2887, + 2886, 1326, 2262, 2942, 2941, 2937, 2936, 385, 2935, 494, + 2930, 978, 1937, 989, 4554, 2325, 1947, 1430, 0, 2361, + 806, 1131, 2358, 2036, 1267, 2935, 2934, 1561, 2877, 2870, + 2863, 2857, 2855, 2859, 2861, 2860, 270, 823, 851, 0, + 2880, 2861, 2861, 2857, 1164, 1190, 1135, 1559, 2889, 2881, + 1737, 1899, 4554, 2042, 1910, 2880, 1080, 1911, 1912, 2879, + 1298, 4554, 2825, 0, 2825, 2261, 2883, 2261, 2323, 2837, + 2816, 2875, 758, 1927, 822, 1351, 2410, 1458, 2446, 2483, + + 2873, 2003, 2861, 2488, 2265, 2317, 2319, 2037, 1594, 2046, + 1941, 1902, 2320, 2493, 2506, 2165, 2535, 1671, 2221, 2107, + 2818, 1225, 2855, 1268, 1271, 1277, 1374, 1406, 1806, 2844, + 2838, 1998, 2836, 2770, 2824, 2741, 2802, 2736, 2792, 1894, + 4554, 1936, 2320, 2795, 4554, 2590, 2744, 2726, 1996, 2719, + 2714, 2701, 2763, 785, 2453, 2762, 1581, 2736, 2711, 2697, + 2694, 2749, 1404, 1712, 4554, 2742, 2375, 2322, 2323, 2362, + 2735, 2726, 2165, 4554, 2665, 0, 2684, 2455, 2680, 2069, + 2666, 2617, 2610, 1499, 1757, 1817, 2536, 2627, 2542, 2540, + 2544, 2543, 2545, 2546, 2549, 2564, 2560, 2553, 2420, 902, + + 1460, 2665, 1628, 1673, 4554, 2569, 2638, 2508, 2636, 2635, + 2570, 2569, 2632, 2631, 2566, 2565, 2601, 2600, 2534, 2532, + 2589, 2584, 4554, 2567, 2568, 2573, 2520, 2522, 2529, 550, + 2505, 4554, 2510, 2517, 2468, 2444, 2472, 2447, 2458, 2429, + 1859, 2445, 4554, 2591, 4554, 2457, 4554, 2452, 2670, 2462, + 2412, 2407, 2459, 1790, 2178, 787, 2593, 2630, 2665, 2671, + 2672, 2673, 2681, 4554, 2408, 2449, 1841, 2690, 2448, 2453, + 2428, 4554, 2368, 2372, 4554, 2366, 2416, 2410, 2319, 2376, + 2308, 2280, 2301, 2243, 2221, 0, 2202, 2694, 2235, 2167, + 1925, 1113, 2682, 2695, 2696, 2706, 2709, 2682, 2170, 2193, + + 1882, 2113, 2105, 2015, 2056, 1787, 2045, 1955, 2777, 1960, + 1878, 1873, 2089, 1963, 2852, 2710, 2721, 1753, 1743, 1738, + 4554, 1622, 2057, 2058, 2927, 2159, 0, 1624, 1541, 1990, + 2116, 3002, 2671, 2184, 2711, 2730, 1531, 1502, 2703, 1501, + 1365, 1363, 1250, 1988, 1755, 2718, 1143, 1109, 2737, 1096, + 1065, 2705, 2179, 1065, 1036, 948, 976, 2322, 1991, 2739, + 2772, 936, 905, 2740, 2539, 713, 2182, 2183, 0, 765, + 710, 681, 2328, 2771, 2773, 0, 2747, 627, 4554, 504, + 2467, 453, 4554, 372, 418, 4554, 2088, 2788, 2783, 2806, + 266, 199, 2084, 2815, 2826, 199, 2371, 373, 1311, 1604, + + 2827, 2828, 2830, 2834, 2836, 2866, 2879, 2881, 2882, 2894, + 2901, 2903, 2909, 2910, 1946, 165, 4554, 4554, 3074, 3093, + 3106, 3120, 3139, 3158, 3174, 3193, 3212, 3230, 2162, 2251, + 2253, 3248, 3267, 2293, 3286, 3305, 3321, 3340, 3359, 3378, + 3397, 3416, 3435, 3454, 3466, 3485, 3504, 3523, 3542, 3550, + 2410, 3565, 3581, 3600, 3616, 3635, 3654, 3673, 3692, 3711, + 3730, 3749, 3768, 3787, 3806, 3818, 3833, 3847, 3866, 3885, + 3904, 3920, 3935, 3951, 3970, 3986, 4005, 4024, 4043, 4062, + 4081, 4100, 4119, 4134, 4148, 4167, 4186, 4205, 4224, 4243, + 4262, 4281, 4300, 4315, 4334, 4353, 4372, 4387, 4401, 4420, + + 4439, 4458, 4477, 4496, 4515, 4534 } ; -static yyconst flex_int16_t yy_def[785] = +static yyconst flex_int16_t yy_def[807] = { 0, - 703, 703, 703, 703, 703, 703, 704, 705, 703, 706, - 704, 703, 12, 707, 704, 15, 15, 15, 15, 15, - 15, 15, 15, 15, 15, 708, 704, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 704, 704, - 704, 704, 704, 709, 703, 710, 710, 703, 48, 707, - 710, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 51, 710, 62, 62, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 710, 710, 710, 710, 710, 709, 703, - 703, 704, 711, 712, 711, 703, 703, 703, 703, 703, - 704, 703, 704, 703, 713, 713, 704, 713, 703, 12, - - 703, 704, 707, 703, 714, 704, 715, 703, 716, 704, - 703, 110, 110, 704, 704, 704, 110, 110, 106, 704, - 110, 704, 110, 717, 708, 717, 718, 703, 704, 703, - 719, 704, 703, 704, 704, 704, 704, 704, 704, 704, - 704, 709, 720, 709, 703, 721, 722, 703, 722, 722, - 703, 722, 703, 703, 722, 723, 722, 703, 716, 157, - 160, 160, 722, 722, 722, 160, 160, 157, 722, 160, - 722, 160, 157, 703, 719, 157, 703, 722, 722, 722, - 722, 722, 722, 722, 722, 709, 703, 724, 725, 725, - 726, 727, 724, 724, 728, 729, 703, 730, 730, 703, - - 703, 703, 704, 704, 703, 704, 703, 703, 703, 703, - 704, 703, 703, 703, 704, 703, 704, 703, 704, 704, - 703, 217, 222, 730, 703, 703, 703, 703, 703, 703, - 704, 704, 704, 704, 704, 704, 704, 704, 704, 731, - 732, 733, 734, 704, 735, 704, 736, 735, 704, 246, - 704, 737, 737, 704, 253, 704, 704, 704, 704, 704, - 704, 703, 709, 703, 738, 703, 739, 740, 740, 740, - 740, 741, 738, 742, 740, 740, 218, 740, 740, 276, - 280, 224, 740, 740, 740, 740, 740, 740, 740, 740, - 740, 740, 280, 736, 740, 293, 740, 292, 740, 740, - - 740, 740, 740, 740, 709, 703, 703, 743, 744, 745, - 746, 743, 747, 703, 748, 749, 749, 750, 750, 703, - 751, 703, 703, 703, 704, 703, 703, 703, 703, 703, - 703, 703, 703, 704, 751, 703, 704, 704, 703, 704, - 335, 703, 704, 703, 703, 703, 703, 703, 703, 704, - 704, 704, 703, 704, 704, 704, 704, 704, 704, 752, - 752, 753, 754, 755, 703, 704, 703, 703, 756, 757, - 703, 703, 757, 757, 704, 704, 703, 703, 704, 704, - 709, 703, 703, 703, 703, 703, 758, 703, 740, 759, - 759, 740, 740, 740, 293, 341, 740, 740, 740, 740, - - 740, 740, 740, 740, 740, 740, 740, 760, 740, 740, - 740, 740, 709, 703, 745, 761, 762, 746, 763, 747, - 748, 703, 703, 764, 765, 766, 767, 768, 769, 703, - 703, 703, 703, 704, 703, 703, 703, 703, 703, 703, - 704, 704, 703, 704, 703, 704, 704, 704, 704, 704, - 770, 771, 703, 772, 703, 773, 773, 773, 704, 703, - 703, 703, 703, 704, 703, 709, 703, 703, 703, 703, - 703, 774, 759, 759, 740, 740, 740, 740, 740, 740, - 740, 740, 740, 740, 740, 709, 703, 762, 775, 746, - 763, 703, 748, 776, 764, 764, 765, 765, 766, 766, - - 767, 767, 768, 768, 769, 769, 703, 703, 776, 776, - 704, 703, 703, 703, 703, 703, 703, 704, 777, 703, - 703, 703, 703, 704, 704, 704, 704, 703, 703, 703, - 703, 703, 703, 709, 703, 703, 703, 774, 774, 759, - 759, 740, 740, 740, 740, 740, 740, 709, 703, 703, - 775, 762, 748, 703, 703, 703, 703, 703, 703, 703, - 703, 777, 777, 703, 703, 703, 703, 704, 704, 704, - 704, 704, 709, 703, 703, 759, 759, 740, 740, 740, - 740, 740, 709, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 778, 704, 703, 703, 759, 759, 779, - - 740, 709, 703, 703, 703, 703, 703, 780, 780, 778, - 610, 704, 703, 703, 759, 759, 779, 780, 617, 740, - 709, 703, 703, 780, 610, 610, 703, 703, 759, 759, - 781, 617, 617, 709, 703, 703, 780, 780, 610, 610, - 703, 703, 759, 759, 781, 781, 617, 617, 709, 703, - 703, 780, 780, 610, 782, 703, 783, 759, 781, 781, - 617, 709, 703, 703, 703, 780, 782, 703, 703, 783, - 703, 759, 781, 781, 709, 703, 703, 759, 781, 709, - 703, 759, 709, 784, 784, 784, 784, 784, 784, 784, - 784, 784, 784, 784, 784, 784, 784, 784, 784, 784, - - 703, 703, 0, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703 + 718, 718, 718, 718, 718, 718, 719, 720, 718, 721, + 719, 718, 12, 722, 719, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 723, 15, 27, 27, 27, + 27, 27, 27, 27, 27, 27, 27, 27, 719, 719, + 719, 719, 719, 719, 724, 718, 725, 725, 718, 49, + 722, 725, 52, 52, 52, 52, 52, 52, 52, 52, + 52, 52, 52, 63, 63, 63, 63, 63, 63, 63, + 63, 63, 63, 63, 725, 725, 725, 725, 725, 725, + 724, 718, 718, 719, 726, 727, 726, 718, 718, 718, + 718, 718, 719, 718, 719, 718, 728, 728, 719, 728, + + 718, 12, 718, 719, 722, 718, 729, 719, 730, 718, + 731, 719, 718, 112, 112, 719, 719, 719, 112, 112, + 108, 719, 112, 719, 112, 732, 723, 732, 733, 718, + 719, 718, 734, 719, 718, 719, 719, 719, 719, 719, + 719, 719, 719, 724, 735, 724, 718, 736, 737, 718, + 737, 737, 718, 737, 718, 718, 737, 738, 737, 718, + 731, 159, 162, 162, 737, 737, 737, 162, 162, 159, + 737, 162, 737, 162, 159, 718, 734, 159, 718, 737, + 737, 737, 737, 737, 737, 737, 737, 724, 718, 739, + 740, 740, 741, 742, 739, 739, 743, 744, 718, 745, + + 745, 718, 718, 718, 719, 719, 718, 719, 718, 718, + 718, 718, 719, 718, 718, 718, 719, 718, 719, 718, + 719, 719, 718, 219, 718, 745, 718, 718, 718, 718, + 718, 718, 719, 719, 719, 719, 719, 719, 719, 719, + 719, 746, 747, 748, 749, 719, 750, 719, 751, 750, + 719, 248, 719, 752, 752, 719, 255, 719, 719, 719, + 719, 719, 719, 718, 724, 718, 753, 718, 754, 755, + 755, 755, 755, 756, 753, 757, 755, 755, 220, 755, + 755, 278, 718, 226, 755, 755, 755, 755, 755, 755, + 755, 755, 755, 755, 282, 751, 755, 295, 755, 294, + + 755, 755, 755, 755, 755, 755, 724, 718, 718, 758, + 759, 760, 761, 758, 762, 718, 763, 764, 764, 765, + 765, 718, 718, 718, 718, 718, 719, 718, 718, 718, + 718, 718, 718, 718, 718, 719, 766, 718, 719, 719, + 767, 767, 719, 766, 767, 719, 343, 719, 718, 718, + 718, 718, 718, 718, 719, 719, 719, 718, 719, 719, + 719, 719, 719, 719, 768, 768, 769, 770, 771, 718, + 719, 718, 718, 772, 773, 718, 718, 773, 773, 719, + 719, 718, 718, 719, 719, 724, 718, 718, 718, 718, + 718, 774, 718, 755, 775, 775, 755, 755, 397, 755, + + 344, 755, 400, 755, 755, 755, 755, 755, 755, 755, + 755, 755, 755, 755, 776, 755, 755, 755, 755, 724, + 718, 777, 778, 779, 780, 781, 782, 783, 784, 718, + 344, 718, 785, 786, 787, 788, 789, 790, 718, 718, + 718, 784, 784, 719, 718, 719, 718, 718, 718, 718, + 718, 718, 719, 719, 718, 719, 718, 719, 719, 719, + 719, 719, 791, 792, 718, 793, 718, 794, 794, 794, + 719, 718, 718, 718, 718, 719, 718, 724, 718, 718, + 718, 718, 718, 795, 796, 796, 755, 755, 755, 755, + 755, 755, 755, 755, 755, 755, 755, 755, 724, 718, + + 779, 797, 780, 781, 718, 783, 718, 798, 785, 785, + 786, 786, 787, 787, 788, 788, 789, 789, 790, 790, + 718, 718, 718, 798, 798, 719, 718, 718, 718, 718, + 718, 718, 719, 799, 718, 718, 718, 718, 719, 719, + 719, 719, 718, 718, 718, 718, 718, 718, 724, 718, + 718, 718, 795, 795, 796, 796, 755, 755, 755, 755, + 755, 755, 724, 718, 718, 797, 779, 783, 718, 718, + 718, 718, 718, 718, 718, 718, 799, 799, 718, 718, + 718, 718, 719, 719, 719, 719, 719, 724, 718, 718, + 796, 796, 755, 755, 755, 755, 755, 724, 718, 718, + + 718, 718, 718, 718, 718, 718, 718, 718, 800, 719, + 718, 718, 796, 796, 801, 755, 724, 718, 718, 718, + 718, 718, 802, 802, 800, 625, 719, 718, 718, 796, + 796, 801, 802, 632, 755, 724, 718, 718, 802, 625, + 625, 718, 718, 796, 796, 803, 632, 632, 724, 718, + 718, 802, 802, 625, 625, 718, 718, 796, 796, 803, + 803, 632, 632, 724, 718, 718, 802, 802, 625, 804, + 718, 805, 796, 803, 803, 632, 724, 718, 718, 718, + 802, 804, 718, 718, 805, 718, 796, 803, 803, 724, + 718, 718, 796, 803, 724, 718, 796, 724, 806, 806, + + 806, 806, 806, 806, 806, 806, 806, 806, 806, 806, + 806, 806, 806, 806, 806, 718, 718, 0, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + + 718, 718, 718, 718, 718, 718 } ; -static yyconst flex_int16_t yy_nxt[4217] = +static yyconst flex_int16_t yy_nxt[4630] = { 0, 4, 4, 4, 5, 4, 4, 6, 4, 7, 8, 4, 9, 10, 7, 4, 4, 11, 12, 13, 13, @@ -762,467 +771,512 @@ static yyconst flex_int16_t yy_nxt[4217] = 19, 15, 15, 15, 15, 20, 21, 22, 21, 23, 24, 21, 21, 25, 21, 26, 4, 4, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, - 39, 7, 40, 7, 7, 41, 42, 7, 7, 7, - 43, 7, 7, 44, 4, 4, 4, 4, 5, 4, - 45, 6, 45, 7, 8, 4, 9, 10, 46, 4, - 4, 47, 48, 49, 49, 4, 50, 4, 4, 51, - - 52, 53, 54, 51, 51, 55, 51, 51, 51, 51, - 56, 57, 58, 57, 59, 60, 57, 57, 61, 57, - 26, 4, 4, 62, 63, 64, 65, 66, 67, 68, - 69, 70, 71, 72, 73, 74, 46, 75, 46, 46, - 76, 77, 46, 46, 46, 78, 46, 46, 79, 4, - 80, 81, 81, 81, 81, 84, 87, 88, 90, 115, - 164, 82, 85, 85, 85, 85, 111, 702, 91, 95, - 92, 93, 138, 148, 80, 94, 95, 95, 96, 82, - 212, 703, 213, 82, 116, 165, 703, 195, 97, 98, - 99, 100, 100, 100, 100, 101, 212, 111, 213, 102, - - 102, 102, 102, 102, 102, 102, 102, 82, 102, 82, - 82, 102, 102, 102, 102, 82, 82, 82, 102, 82, - 655, 139, 112, 102, 102, 102, 102, 102, 102, 102, - 102, 102, 102, 102, 102, 82, 102, 102, 102, 102, - 102, 82, 82, 82, 82, 82, 82, 82, 105, 141, - 106, 196, 107, 108, 108, 108, 108, 109, 104, 111, - 105, 117, 117, 117, 117, 117, 117, 117, 117, 117, - 117, 117, 117, 104, 119, 134, 134, 117, 117, 117, - 117, 106, 133, 133, 133, 110, 110, 110, 110, 110, - 110, 110, 110, 110, 110, 110, 110, 118, 120, 117, - - 117, 117, 117, 111, 473, 121, 133, 134, 106, 133, - 133, 104, 156, 240, 136, 135, 117, 117, 117, 117, - 134, 134, 133, 133, 133, 134, 134, 577, 133, 133, - 133, 111, 681, 82, 134, 134, 143, 114, 133, 133, - 133, 134, 134, 134, 134, 148, 128, 133, 133, 133, - 122, 133, 133, 133, 549, 123, 124, 125, 125, 125, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 126, - 124, 124, 115, 181, 82, 671, 124, 124, 124, 124, - 191, 192, 134, 134, 134, 134, 148, 161, 82, 133, - 133, 133, 133, 133, 104, 134, 134, 116, 111, 95, - - 148, 124, 128, 124, 133, 133, 133, 143, 145, 147, - 178, 703, 177, 177, 82, 90, 148, 180, 184, 267, - 82, 144, 144, 144, 144, 149, 148, 92, 150, 124, - 124, 129, 151, 205, 130, 130, 130, 130, 131, 166, - 166, 166, 166, 111, 576, 177, 166, 166, 166, 166, - 166, 166, 166, 166, 179, 518, 166, 166, 166, 166, - 178, 178, 132, 177, 177, 177, 133, 133, 134, 134, - 134, 134, 134, 134, 134, 134, 134, 134, 167, 145, - 518, 178, 178, 177, 177, 177, 170, 203, 204, 132, - 95, 95, 96, 178, 178, 172, 677, 82, 163, 177, - - 177, 177, 152, 98, 99, 153, 153, 153, 153, 154, - 95, 95, 95, 155, 155, 155, 155, 155, 155, 155, - 155, 147, 155, 147, 147, 155, 155, 155, 155, 147, - 147, 147, 155, 147, 95, 95, 95, 155, 155, 155, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 147, - 155, 155, 155, 155, 155, 147, 147, 147, 147, 147, - 147, 147, 82, 273, 274, 105, 472, 157, 472, 107, - 158, 158, 158, 158, 159, 168, 164, 105, 166, 166, - 166, 166, 166, 166, 166, 166, 178, 178, 178, 178, - 177, 177, 177, 177, 177, 177, 189, 307, 157, 169, - - 104, 165, 160, 160, 160, 160, 160, 160, 160, 160, - 160, 160, 160, 160, 178, 178, 191, 308, 178, 178, - 668, 177, 177, 177, 378, 157, 177, 177, 177, 81, - 81, 81, 81, 171, 82, 191, 308, 178, 178, 173, - 178, 178, 174, 174, 174, 174, 175, 177, 177, 177, - 177, 177, 82, 82, 200, 111, 201, 182, 267, 644, - 82, 202, 310, 311, 148, 148, 82, 82, 82, 82, - 176, 212, 148, 379, 177, 177, 178, 178, 178, 178, - 178, 178, 178, 178, 178, 178, 349, 143, 254, 254, - 254, 254, 349, 254, 254, 254, 254, 176, 186, 313, - - 314, 144, 144, 144, 144, 363, 183, 185, 189, 95, - 95, 95, 171, 430, 95, 193, 193, 193, 193, 194, - 385, 208, 143, 209, 82, 258, 703, 431, 210, 386, - 82, 703, 254, 254, 254, 254, 144, 144, 144, 144, - 263, 82, 148, 82, 82, 82, 82, 364, 676, 268, - 269, 270, 271, 148, 224, 148, 148, 148, 148, 145, - 109, 224, 107, 198, 198, 198, 198, 109, 259, 664, - 285, 671, 82, 147, 147, 147, 147, 382, 82, 286, - 82, 82, 383, 384, 148, 224, 290, 273, 274, 104, - 148, 109, 148, 148, 145, 199, 199, 199, 199, 199, - - 199, 199, 199, 199, 199, 199, 199, 270, 333, 333, - 333, 333, 224, 334, 334, 334, 334, 669, 109, 215, - 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, - 215, 82, 286, 82, 303, 270, 217, 361, 389, 82, - 82, 82, 82, 218, 104, 148, 643, 219, 219, 219, - 219, 219, 219, 219, 219, 219, 219, 219, 82, 82, - 82, 82, 82, 82, 82, 82, 82, 217, 313, 314, - 128, 220, 220, 220, 220, 220, 220, 220, 220, 220, - 220, 220, 220, 82, 82, 82, 82, 82, 82, 82, - 82, 82, 82, 82, 217, 82, 222, 82, 616, 223, - - 223, 223, 223, 224, 82, 298, 298, 298, 298, 148, - 82, 82, 298, 298, 298, 298, 148, 82, 668, 143, - 310, 311, 148, 148, 416, 417, 363, 222, 665, 148, - 305, 220, 220, 220, 220, 220, 220, 220, 220, 220, - 220, 220, 220, 331, 301, 335, 335, 335, 335, 337, - 337, 337, 337, 332, 222, 225, 326, 226, 82, 304, - 332, 82, 227, 228, 82, 661, 368, 229, 364, 287, - 148, 230, 330, 148, 82, 289, 148, 82, 82, 225, - 377, 226, 298, 298, 298, 298, 148, 227, 228, 148, - 148, 145, 353, 229, 338, 338, 338, 338, 230, 124, - - 125, 125, 125, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 354, 189, 307, 302, 124, - 124, 124, 124, 193, 193, 193, 193, 194, 189, 307, - 339, 339, 339, 339, 549, 315, 315, 315, 315, 354, - 703, 419, 192, 550, 124, 128, 124, 703, 224, 313, - 314, 321, 321, 321, 321, 224, 82, 82, 82, 82, - 82, 82, 82, 82, 82, 82, 82, 338, 338, 338, - 338, 703, 124, 124, 124, 241, 241, 241, 242, 224, - 124, 124, 124, 124, 124, 124, 419, 192, 124, 124, - 338, 338, 338, 338, 124, 124, 368, 124, 703, 82, - - 424, 350, 369, 369, 369, 369, 224, 392, 392, 392, - 392, 148, 338, 338, 338, 338, 82, 416, 417, 124, - 128, 403, 489, 490, 351, 661, 82, 656, 148, 241, - 241, 241, 242, 253, 393, 393, 393, 393, 148, 104, - 370, 370, 370, 370, 445, 655, 255, 124, 124, 244, - 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 244, 82, 245, 359, 425, 361, 246, 451, 445, 82, - 82, 82, 82, 247, 128, 248, 372, 249, 249, 249, - 249, 249, 249, 249, 249, 249, 249, 249, 249, 249, - 249, 249, 249, 249, 249, 249, 249, 250, 128, 474, - - 128, 251, 251, 251, 251, 251, 251, 251, 251, 251, - 251, 251, 251, 249, 249, 249, 249, 249, 249, 249, - 249, 249, 249, 249, 250, 249, 133, 133, 133, 133, - 133, 133, 133, 133, 133, 133, 133, 133, 82, 253, - 419, 192, 143, 82, 489, 490, 254, 254, 254, 254, - 654, 446, 255, 413, 256, 256, 256, 256, 256, 256, - 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, - 256, 256, 256, 256, 256, 447, 419, 192, 82, 82, - 82, 82, 257, 82, 82, 82, 82, 82, 82, 82, - 82, 82, 82, 82, 82, 82, 82, 82, 82, 82, - - 82, 82, 82, 95, 95, 95, 422, 422, 422, 422, - 82, 684, 82, 654, 145, 147, 98, 412, 153, 153, - 153, 153, 148, 443, 148, 104, 155, 155, 155, 155, - 155, 155, 155, 155, 147, 155, 147, 147, 155, 155, - 155, 155, 147, 147, 147, 155, 147, 378, 463, 651, - 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, - 155, 155, 147, 155, 155, 155, 155, 155, 147, 147, - 147, 147, 147, 147, 147, 82, 82, 390, 82, 189, - 492, 444, 378, 145, 493, 703, 391, 148, 148, 650, - 148, 82, 703, 703, 703, 703, 377, 464, 703, 394, - - 394, 394, 394, 148, 147, 147, 147, 147, 147, 147, - 147, 147, 147, 147, 147, 275, 275, 275, 275, 275, - 275, 275, 275, 275, 275, 275, 275, 82, 703, 82, - 426, 411, 276, 489, 490, 147, 147, 147, 147, 277, - 400, 148, 522, 278, 278, 278, 278, 278, 278, 278, - 278, 278, 278, 278, 147, 147, 147, 147, 147, 147, - 147, 147, 147, 276, 419, 192, 523, 279, 279, 279, - 279, 279, 279, 279, 279, 279, 279, 279, 279, 147, - 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, - 276, 147, 280, 143, 427, 281, 281, 281, 281, 282, - - 648, 353, 104, 82, 82, 82, 82, 381, 381, 381, - 381, 394, 394, 394, 394, 148, 148, 148, 148, 432, - 432, 432, 432, 280, 401, 489, 490, 279, 279, 279, - 279, 279, 279, 279, 279, 279, 279, 279, 279, 434, - 434, 434, 434, 451, 647, 398, 398, 642, 401, 402, - 280, 292, 292, 292, 292, 292, 292, 292, 292, 292, - 292, 292, 292, 82, 245, 145, 82, 599, 293, 489, - 490, 147, 147, 147, 147, 294, 528, 248, 148, 295, - 295, 295, 295, 295, 295, 295, 295, 295, 295, 295, - 295, 295, 295, 295, 295, 295, 295, 295, 295, 296, - - 539, 388, 539, 297, 297, 297, 297, 297, 297, 297, - 297, 297, 297, 297, 297, 295, 295, 295, 295, 295, - 295, 295, 295, 295, 295, 295, 296, 295, 177, 177, - 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, - 82, 253, 641, 82, 640, 147, 104, 598, 298, 298, - 298, 298, 148, 639, 255, 148, 299, 299, 299, 299, - 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, - 299, 299, 299, 299, 299, 299, 299, 452, 452, 452, - 147, 147, 147, 147, 300, 147, 147, 147, 147, 147, - 147, 147, 147, 147, 147, 147, 147, 147, 147, 147, - - 147, 147, 147, 147, 147, 219, 219, 219, 219, 219, - 219, 219, 219, 219, 219, 219, 82, 369, 369, 369, - 369, 104, 453, 104, 394, 394, 394, 394, 148, 220, - 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, - 220, 336, 336, 336, 336, 336, 336, 336, 336, 336, - 336, 336, 82, 189, 307, 104, 658, 463, 399, 104, - 421, 421, 421, 421, 148, 320, 320, 320, 320, 320, - 320, 320, 320, 320, 320, 320, 320, 340, 82, 82, - 82, 462, 82, 630, 341, 541, 342, 82, 270, 368, - 148, 148, 148, 82, 148, 408, 408, 408, 408, 148, - - 404, 394, 394, 394, 394, 148, 462, 428, 340, 104, - 615, 104, 343, 343, 343, 343, 343, 343, 343, 343, - 343, 343, 343, 343, 399, 456, 456, 456, 456, 405, - 494, 494, 494, 494, 560, 340, 124, 241, 241, 241, - 242, 82, 124, 124, 124, 124, 124, 124, 703, 517, - 124, 124, 406, 148, 341, 703, 124, 124, 428, 124, - 373, 341, 332, 342, 703, 341, 82, 540, 682, 332, - 636, 429, 341, 374, 703, 82, 373, 703, 148, 703, - 342, 124, 128, 82, 457, 341, 507, 148, 82, 703, - 82, 82, 82, 82, 82, 635, 341, 458, 508, 143, - - 406, 628, 148, 461, 433, 82, 703, 703, 90, 124, - 124, 253, 341, 466, 466, 466, 466, 148, 467, 703, - 92, 481, 429, 341, 255, 94, 256, 256, 256, 256, - 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, - 256, 256, 256, 256, 256, 256, 256, 214, 214, 482, - 539, 388, 539, 627, 257, 366, 366, 366, 366, 366, - 366, 366, 366, 366, 366, 366, 366, 373, 143, 82, - 623, 145, 452, 452, 452, 606, 529, 529, 529, 486, - 374, 148, 375, 375, 375, 375, 375, 375, 375, 375, - 375, 375, 375, 375, 375, 375, 375, 375, 375, 375, - - 375, 375, 375, 468, 82, 457, 532, 443, 622, 703, - 376, 82, 82, 469, 82, 99, 148, 453, 458, 476, - 101, 530, 703, 148, 148, 570, 148, 278, 278, 278, - 278, 278, 278, 278, 278, 278, 278, 278, 82, 571, - 145, 549, 104, 520, 216, 216, 475, 475, 475, 475, - 148, 279, 279, 279, 279, 279, 279, 279, 279, 279, - 279, 279, 279, 395, 477, 478, 82, 82, 82, 520, - 396, 624, 342, 82, 457, 614, 514, 613, 148, 148, - 148, 408, 408, 408, 408, 148, 208, 703, 209, 479, - 514, 514, 657, 210, 395, 624, 270, 509, 397, 397, - - 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, - 510, 624, 483, 480, 143, 529, 529, 529, 605, 82, - 457, 395, 82, 253, 147, 82, 534, 147, 147, 147, - 147, 148, 606, 458, 148, 624, 255, 148, 299, 299, + 39, 40, 41, 40, 40, 42, 43, 40, 40, 40, + 44, 40, 40, 45, 4, 4, 4, 4, 5, 4, + 46, 6, 46, 7, 8, 4, 9, 10, 47, 4, + 4, 48, 49, 50, 50, 4, 51, 4, 4, 52, + + 53, 54, 55, 52, 52, 56, 52, 52, 52, 52, + 57, 58, 59, 58, 60, 61, 58, 58, 62, 58, + 26, 4, 4, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 76, 76, + 78, 79, 76, 76, 76, 80, 76, 76, 81, 4, + 82, 83, 83, 83, 83, 86, 89, 90, 92, 117, + 107, 107, 87, 87, 87, 87, 113, 717, 93, 97, + 94, 95, 107, 107, 82, 96, 97, 97, 98, 84, + 202, 718, 203, 84, 118, 197, 718, 204, 99, 100, + 101, 102, 102, 102, 102, 103, 214, 139, 215, 104, + + 104, 104, 104, 104, 104, 104, 104, 84, 104, 84, + 84, 104, 104, 104, 104, 84, 84, 84, 104, 84, + 106, 158, 114, 104, 104, 104, 104, 104, 104, 104, + 104, 104, 104, 104, 104, 84, 104, 104, 104, 104, + 104, 84, 84, 84, 84, 84, 84, 84, 107, 198, + 108, 670, 109, 110, 110, 110, 110, 111, 696, 113, + 107, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 119, 455, 121, 136, 136, 119, 119, 119, + 119, 108, 135, 135, 135, 112, 112, 112, 112, 112, + 112, 112, 112, 112, 112, 112, 112, 120, 122, 119, + + 119, 119, 119, 113, 368, 123, 135, 136, 108, 135, + 135, 166, 193, 194, 138, 137, 119, 119, 119, 119, + 136, 136, 135, 135, 135, 136, 136, 564, 135, 135, + 135, 456, 113, 107, 136, 136, 167, 116, 135, 135, + 135, 136, 136, 136, 136, 107, 369, 135, 135, 135, + 124, 135, 135, 135, 145, 125, 126, 127, 127, 127, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 128, + 126, 126, 117, 269, 142, 699, 126, 126, 126, 126, + 205, 206, 136, 136, 136, 136, 214, 107, 163, 135, + 135, 135, 135, 135, 433, 136, 136, 118, 107, 107, + + 140, 126, 130, 126, 135, 135, 135, 113, 145, 84, + 107, 168, 168, 168, 168, 107, 168, 168, 168, 168, + 686, 150, 146, 146, 146, 146, 147, 107, 692, 126, + 126, 131, 113, 718, 132, 132, 132, 132, 133, 180, + 92, 179, 179, 124, 97, 84, 182, 147, 169, 141, + 151, 390, 94, 152, 149, 683, 718, 153, 434, 143, + 391, 150, 134, 97, 97, 97, 135, 135, 136, 136, + 136, 136, 136, 136, 136, 136, 136, 136, 242, 179, + 147, 97, 97, 97, 168, 168, 168, 168, 181, 134, + 97, 97, 98, 83, 83, 83, 83, 84, 168, 168, + + 168, 168, 154, 100, 101, 155, 155, 155, 155, 156, + 214, 130, 215, 157, 157, 157, 157, 157, 157, 157, + 157, 149, 157, 149, 149, 157, 157, 157, 157, 149, + 149, 149, 157, 149, 172, 173, 106, 157, 157, 157, + 157, 157, 157, 157, 157, 157, 157, 157, 157, 149, + 157, 157, 157, 157, 157, 149, 149, 149, 149, 149, + 149, 149, 84, 275, 276, 107, 691, 159, 269, 109, + 160, 160, 160, 160, 161, 170, 113, 107, 168, 168, + 168, 168, 207, 180, 180, 179, 179, 179, 395, 168, + 168, 168, 168, 84, 84, 84, 84, 396, 159, 171, + + 165, 575, 162, 162, 162, 162, 162, 162, 162, 162, + 162, 162, 162, 162, 180, 180, 532, 179, 179, 179, + 256, 256, 256, 256, 354, 159, 366, 166, 174, 175, + 354, 718, 176, 176, 176, 176, 177, 180, 180, 180, + 180, 179, 179, 179, 179, 179, 179, 180, 180, 180, + 180, 84, 167, 179, 179, 179, 179, 179, 179, 130, + 178, 191, 309, 150, 179, 179, 180, 180, 180, 180, + 180, 180, 180, 180, 180, 180, 180, 180, 679, 180, + 180, 180, 180, 686, 179, 179, 179, 178, 179, 179, + 179, 179, 179, 84, 84, 84, 107, 107, 107, 84, + + 184, 84, 107, 84, 107, 150, 150, 150, 107, 107, + 107, 150, 113, 150, 107, 150, 107, 84, 97, 84, + 107, 193, 310, 145, 84, 193, 310, 272, 84, 150, + 718, 150, 107, 183, 188, 718, 150, 146, 146, 146, + 146, 312, 313, 186, 191, 256, 256, 256, 256, 185, + 84, 195, 195, 195, 195, 196, 97, 97, 97, 484, + 173, 484, 150, 684, 187, 383, 84, 683, 210, 680, + 211, 256, 256, 256, 256, 212, 145, 260, 150, 149, + 149, 149, 149, 289, 288, 315, 316, 275, 276, 106, + 146, 146, 146, 146, 265, 147, 111, 84, 109, 200, + + 200, 200, 200, 111, 84, 270, 271, 261, 145, 150, + 84, 84, 273, 84, 384, 342, 150, 84, 84, 307, + 533, 358, 150, 150, 106, 150, 288, 111, 345, 150, + 150, 201, 201, 201, 201, 201, 201, 201, 201, 201, + 201, 201, 201, 592, 359, 533, 272, 387, 147, 457, + 287, 292, 388, 389, 111, 217, 217, 217, 217, 217, + 217, 217, 217, 217, 217, 217, 217, 84, 359, 84, + 485, 291, 219, 457, 394, 84, 84, 84, 84, 220, + 147, 150, 458, 221, 221, 221, 221, 221, 221, 221, + 221, 221, 221, 221, 84, 84, 84, 84, 84, 84, + + 84, 84, 84, 219, 315, 316, 459, 222, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 222, 222, 84, + 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, + 219, 84, 224, 84, 84, 225, 225, 225, 225, 226, + 84, 300, 300, 300, 300, 150, 150, 84, 300, 300, + 300, 300, 150, 564, 84, 312, 313, 676, 226, 150, + 423, 424, 565, 224, 676, 226, 150, 222, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 222, 222, 671, + 303, 335, 335, 335, 335, 426, 194, 435, 305, 226, + 224, 227, 439, 228, 336, 336, 336, 336, 229, 230, + + 670, 272, 306, 231, 191, 309, 440, 232, 315, 316, + 84, 317, 317, 317, 317, 227, 226, 228, 300, 300, + 300, 300, 150, 229, 230, 337, 337, 337, 337, 231, + 339, 339, 339, 339, 232, 126, 127, 127, 127, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 436, 191, 309, 304, 126, 126, 126, 126, 195, + 195, 195, 195, 196, 226, 84, 333, 323, 323, 323, + 323, 226, 340, 340, 340, 340, 334, 150, 426, 194, + 126, 130, 126, 334, 341, 341, 341, 341, 669, 340, + 340, 340, 340, 669, 383, 226, 84, 84, 84, 84, + + 84, 84, 84, 84, 84, 84, 84, 405, 126, 126, + 126, 243, 243, 243, 244, 106, 126, 126, 126, 126, + 126, 126, 226, 355, 126, 126, 340, 340, 340, 340, + 126, 126, 666, 126, 243, 243, 243, 244, 373, 368, + 718, 718, 84, 382, 374, 374, 374, 374, 718, 340, + 340, 340, 340, 718, 150, 126, 130, 328, 255, 332, + 356, 84, 84, 665, 84, 375, 375, 375, 375, 663, + 84, 257, 718, 150, 150, 410, 150, 366, 662, 130, + 614, 369, 150, 126, 126, 246, 246, 246, 246, 246, + 246, 246, 246, 246, 246, 246, 246, 84, 247, 718, + + 364, 377, 248, 463, 407, 84, 84, 84, 84, 249, + 130, 250, 412, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 251, 251, 251, 252, 423, 424, 130, 253, 253, 253, + 253, 253, 253, 253, 253, 253, 253, 253, 253, 251, + 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, + 252, 251, 135, 135, 135, 135, 135, 135, 135, 135, + 135, 135, 135, 135, 84, 255, 342, 502, 503, 84, + 426, 194, 256, 256, 256, 256, 502, 503, 257, 718, + 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, + + 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, + 258, 657, 475, 701, 84, 84, 84, 84, 259, 84, + 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, + 84, 84, 84, 84, 84, 84, 84, 84, 84, 97, + 97, 97, 429, 429, 429, 429, 84, 84, 84, 373, + 382, 149, 100, 106, 155, 155, 155, 155, 150, 150, + 150, 476, 157, 157, 157, 157, 157, 157, 157, 157, + 149, 157, 149, 149, 157, 157, 157, 157, 149, 149, + 149, 157, 149, 426, 194, 264, 157, 157, 157, 157, + 157, 157, 157, 157, 157, 157, 157, 157, 149, 157, + + 157, 157, 157, 157, 149, 149, 149, 149, 149, 149, + 149, 84, 84, 486, 84, 191, 505, 463, 383, 419, + 506, 718, 656, 150, 150, 655, 150, 84, 718, 718, + 718, 718, 84, 84, 718, 397, 397, 397, 397, 150, + 398, 398, 398, 398, 150, 150, 441, 441, 441, 441, + 543, 277, 277, 277, 277, 277, 277, 277, 277, 277, + 277, 277, 277, 84, 718, 145, 84, 418, 278, 502, + 503, 149, 149, 149, 149, 279, 420, 409, 150, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 149, 149, 149, 149, 149, 149, 149, 149, 149, 278, + + 554, 393, 554, 281, 281, 281, 281, 281, 281, 281, + 281, 281, 281, 281, 281, 149, 149, 149, 149, 149, + 149, 149, 149, 149, 149, 149, 278, 149, 282, 145, + 84, 283, 283, 283, 283, 284, 654, 147, 399, 399, + 399, 399, 150, 386, 386, 386, 386, 149, 149, 149, + 149, 149, 149, 149, 149, 149, 149, 149, 651, 282, + 464, 464, 464, 281, 281, 281, 281, 281, 281, 281, + 281, 281, 281, 281, 281, 191, 309, 446, 446, 446, + 446, 650, 428, 428, 428, 428, 282, 294, 294, 294, + 294, 294, 294, 294, 294, 294, 294, 294, 294, 84, + + 247, 147, 84, 643, 295, 465, 701, 149, 149, 149, + 149, 296, 537, 250, 150, 297, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 297, 297, 297, 297, 297, + 297, 297, 297, 297, 297, 298, 538, 426, 194, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, 299, - 299, 299, 299, 299, 299, 299, 299, 299, 299, 625, - 530, 104, 221, 221, 612, 104, 300, 407, 407, 407, - 407, 407, 407, 407, 407, 407, 407, 407, 407, 373, - 189, 307, 608, 626, 252, 252, 535, 553, 553, 553, - 553, 608, 374, 632, 409, 409, 409, 409, 409, 409, - - 409, 409, 409, 409, 409, 409, 409, 409, 409, 409, - 409, 409, 409, 409, 409, 629, 672, 633, 519, 367, - 367, 607, 410, 343, 343, 343, 343, 343, 343, 343, - 343, 343, 343, 343, 343, 397, 397, 397, 397, 397, - 397, 397, 397, 397, 397, 397, 397, 82, 520, 82, - 111, 443, 82, 463, 82, 82, 82, 82, 521, 148, - 111, 148, 589, 82, 148, 82, 148, 148, 148, 148, - 703, 143, 544, 509, 520, 148, 514, 148, 143, 604, - 82, 543, 548, 703, 82, 82, 703, 557, 82, 583, - 514, 514, 148, 82, 624, 82, 148, 148, 82, 652, - - 148, 545, 485, 270, 509, 148, 543, 148, 556, 603, - 148, 597, 578, 596, 595, 571, 546, 510, 624, 511, - 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, - 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, - 82, 509, 579, 145, 594, 547, 600, 594, 593, 686, - 145, 104, 148, 592, 510, 591, 542, 542, 542, 542, - 542, 542, 542, 542, 542, 542, 542, 542, 542, 542, - 542, 542, 542, 542, 542, 542, 542, 143, 82, 189, - 492, 631, 590, 82, 82, 143, 553, 553, 553, 553, - 148, 573, 573, 573, 573, 148, 148, 82, 82, 573, - - 573, 573, 573, 82, 82, 678, 143, 388, 624, 148, - 148, 104, 388, 637, 624, 148, 148, 602, 181, 624, - 143, 262, 563, 143, 582, 143, 666, 580, 624, 600, - 624, 621, 624, 663, 634, 646, 649, 638, 624, 143, - 646, 581, 620, 624, 653, 624, 581, 664, 563, 145, - 662, 143, 624, 589, 624, 588, 587, 535, 686, 646, - 143, 657, 675, 601, 646, 586, 585, 666, 388, 624, - 143, 680, 686, 557, 552, 388, 388, 388, 145, 609, - 609, 683, 609, 609, 609, 609, 609, 388, 609, 609, - 609, 609, 145, 609, 609, 145, 646, 145, 659, 609, - - 609, 609, 609, 646, 646, 646, 686, 584, 673, 611, - 686, 145, 388, 679, 575, 646, 574, 687, 679, 388, - 646, 688, 660, 145, 609, 609, 609, 646, 646, 646, - 262, 264, 145, 611, 686, 674, 462, 686, 686, 646, - 686, 532, 145, 572, 701, 689, 569, 646, 690, 691, - 568, 692, 609, 609, 609, 609, 567, 609, 609, 609, - 609, 609, 610, 609, 609, 609, 609, 566, 609, 609, - 686, 646, 565, 564, 618, 609, 609, 609, 262, 563, - 137, 693, 262, 686, 619, 686, 686, 561, 559, 558, - 557, 686, 686, 686, 694, 556, 695, 696, 555, 609, - - 609, 609, 697, 698, 699, 686, 262, 506, 619, 262, - 262, 506, 262, 504, 504, 502, 700, 502, 500, 500, - 498, 498, 496, 496, 552, 537, 536, 609, 609, 609, - 609, 212, 609, 609, 609, 609, 609, 205, 609, 609, - 609, 609, 262, 609, 609, 377, 533, 462, 532, 609, - 609, 609, 609, 455, 111, 262, 527, 262, 262, 611, - 526, 525, 524, 262, 262, 262, 443, 111, 517, 516, - 515, 513, 512, 431, 609, 609, 609, 262, 506, 504, - 502, 500, 498, 611, 496, 433, 307, 487, 267, 388, - 471, 470, 86, 206, 465, 462, 377, 368, 455, 450, - - 449, 448, 609, 609, 609, 609, 206, 609, 609, 609, - 609, 609, 610, 609, 609, 609, 609, 442, 609, 609, - 441, 440, 439, 438, 618, 609, 609, 609, 437, 436, - 435, 342, 433, 342, 619, 212, 212, 206, 205, 205, - 205, 319, 319, 317, 317, 414, 368, 267, 267, 609, - 609, 609, 267, 266, 388, 266, 359, 380, 619, 351, - 350, 377, 253, 368, 368, 245, 358, 357, 356, 355, - 352, 348, 347, 346, 345, 344, 330, 609, 609, 82, - 330, 329, 328, 82, 82, 327, 326, 82, 82, 82, - 82, 82, 82, 82, 82, 83, 83, 83, 83, 83, - - 326, 83, 83, 83, 83, 83, 83, 83, 83, 83, - 83, 83, 83, 83, 89, 89, 325, 324, 323, 89, - 89, 89, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, - 142, 142, 142, 142, 142, 142, 142, 142, 142, 147, - 322, 319, 317, 147, 147, 147, 306, 147, 147, 147, - 147, 147, 147, 147, 147, 188, 188, 188, 188, 188, + 299, 297, 297, 297, 297, 297, 297, 297, 297, 297, + 297, 297, 298, 297, 179, 179, 179, 179, 179, 179, + 179, 179, 179, 179, 179, 179, 84, 255, 264, 84, + 642, 149, 502, 503, 300, 300, 300, 300, 150, 638, + 257, 150, 301, 301, 301, 301, 301, 301, 301, 301, + + 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, + 301, 301, 301, 464, 464, 464, 149, 149, 149, 149, + 302, 149, 149, 149, 149, 149, 149, 149, 149, 149, + 149, 149, 149, 149, 149, 149, 149, 149, 149, 149, + 149, 221, 221, 221, 221, 221, 221, 221, 221, 221, + 221, 221, 84, 374, 374, 374, 374, 106, 465, 106, + 399, 399, 399, 399, 150, 222, 222, 222, 222, 222, + 222, 222, 222, 222, 222, 222, 222, 338, 338, 338, + 338, 338, 338, 338, 338, 338, 338, 338, 84, 621, + 373, 554, 393, 554, 405, 637, 415, 415, 415, 415, + + 150, 322, 322, 322, 322, 322, 322, 322, 322, 322, + 322, 322, 322, 84, 342, 442, 659, 555, 343, 106, + 564, 84, 84, 84, 84, 344, 535, 345, 443, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 347, + 502, 503, 535, 348, 348, 348, 348, 348, 348, 348, + 348, 348, 348, 348, 348, 84, 84, 84, 84, 84, + 84, 84, 84, 84, 84, 84, 343, 84, 126, 243, + 243, 243, 244, 556, 126, 126, 126, 126, 126, 126, + 358, 437, 126, 126, 84, 84, 84, 521, 126, 126, + + 84, 126, 399, 399, 399, 399, 150, 150, 150, 522, + 84, 585, 150, 408, 84, 468, 468, 468, 468, 378, + 718, 378, 150, 126, 130, 586, 150, 106, 613, 629, + 84, 628, 379, 718, 718, 84, 406, 408, 399, 399, + 399, 399, 150, 272, 411, 718, 437, 150, 701, 84, + 334, 126, 126, 255, 495, 438, 406, 334, 718, 413, + 344, 150, 473, 718, 718, 106, 257, 344, 258, 258, + 258, 258, 258, 258, 258, 258, 258, 258, 258, 258, + 258, 258, 258, 258, 258, 258, 258, 258, 258, 413, + 106, 344, 106, 106, 673, 494, 259, 371, 371, 371, + + 371, 371, 371, 371, 371, 371, 371, 371, 371, 378, + 438, 84, 627, 445, 508, 508, 508, 508, 344, 631, + 716, 623, 379, 150, 380, 380, 380, 380, 380, 380, + 380, 380, 380, 380, 380, 380, 380, 380, 380, 380, + 380, 380, 380, 380, 380, 84, 644, 658, 529, 718, + 84, 469, 381, 84, 84, 84, 718, 150, 84, 84, + 84, 84, 529, 529, 470, 150, 150, 620, 492, 280, + 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 718, 621, 210, 272, 211, 623, 106, 639, 639, 212, + 106, 106, 493, 281, 281, 281, 281, 281, 281, 281, + + 281, 281, 281, 281, 281, 84, 342, 718, 622, 145, + 400, 639, 639, 149, 149, 149, 149, 401, 106, 345, + 499, 402, 402, 402, 402, 402, 402, 402, 402, 402, + 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, + 402, 403, 630, 697, 693, 404, 404, 404, 404, 404, + 404, 404, 404, 404, 404, 404, 404, 149, 149, 149, + 149, 149, 149, 149, 149, 149, 149, 149, 400, 149, + 84, 255, 604, 84, 619, 474, 216, 216, 645, 475, + 106, 147, 150, 640, 257, 150, 301, 301, 301, 301, + 301, 301, 301, 301, 301, 301, 301, 301, 301, 301, + + 301, 301, 301, 301, 301, 301, 301, 641, 647, 639, + 681, 571, 639, 639, 302, 414, 414, 414, 414, 414, + 414, 414, 414, 414, 414, 414, 414, 378, 474, 84, + 591, 618, 648, 639, 612, 681, 639, 639, 611, 668, + 379, 150, 416, 416, 416, 416, 416, 416, 416, 416, + 416, 416, 416, 416, 416, 416, 416, 416, 416, 416, + 416, 416, 416, 145, 92, 218, 218, 223, 223, 610, + 417, 342, 586, 84, 479, 344, 94, 478, 478, 478, + 478, 96, 344, 272, 345, 150, 430, 430, 430, 430, + 430, 430, 430, 430, 430, 430, 430, 430, 430, 430, + + 430, 430, 430, 430, 430, 430, 431, 254, 254, 609, + 432, 432, 432, 432, 432, 432, 432, 432, 432, 432, + 432, 432, 455, 489, 106, 84, 480, 84, 84, 442, + 106, 469, 718, 344, 342, 147, 481, 150, 101, 150, + 150, 609, 718, 103, 470, 718, 608, 345, 607, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 346, 346, 346, 346, 346, 346, 346, 346, 346, 346, + 442, 469, 496, 106, 672, 490, 544, 544, 544, 606, + 491, 687, 605, 443, 718, 444, 444, 444, 444, 444, + 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, + + 444, 444, 444, 444, 444, 444, 348, 348, 348, 348, + 348, 348, 348, 348, 348, 348, 348, 348, 84, 342, + 578, 545, 145, 672, 372, 372, 578, 604, 603, 602, + 150, 601, 345, 563, 402, 402, 402, 402, 402, 402, + 402, 402, 402, 402, 402, 402, 402, 402, 402, 402, + 402, 402, 402, 402, 402, 442, 600, 145, 572, 567, + 599, 393, 534, 590, 589, 266, 474, 547, 443, 549, + 487, 487, 487, 487, 487, 487, 487, 487, 487, 487, + 487, 487, 487, 487, 487, 487, 487, 487, 487, 487, + 487, 84, 535, 587, 147, 584, 84, 639, 583, 582, + + 581, 84, 536, 150, 488, 488, 488, 488, 150, 415, + 415, 415, 415, 150, 84, 469, 580, 524, 535, 149, + 579, 639, 149, 149, 149, 149, 150, 578, 470, 550, + 525, 404, 404, 404, 404, 404, 404, 404, 404, 404, + 404, 404, 404, 84, 84, 113, 523, 455, 84, 475, + 84, 84, 84, 84, 84, 150, 150, 84, 139, 576, + 150, 84, 150, 150, 150, 150, 150, 113, 84, 150, + 547, 559, 84, 150, 574, 558, 718, 524, 191, 309, + 150, 529, 573, 572, 150, 568, 568, 568, 568, 718, + 718, 678, 544, 544, 544, 529, 529, 560, 498, 524, + + 558, 84, 571, 572, 570, 679, 520, 561, 520, 562, + 518, 518, 525, 150, 526, 526, 526, 526, 526, 526, + 526, 526, 526, 526, 526, 526, 526, 526, 526, 526, + 526, 526, 526, 526, 526, 84, 524, 545, 84, 516, + 516, 514, 514, 512, 512, 510, 510, 150, 523, 525, + 150, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 557, 557, 557, 557, 557, 557, 557, 557, + 557, 557, 145, 84, 646, 567, 552, 551, 183, 84, + 84, 84, 214, 145, 145, 150, 588, 588, 588, 588, + 84, 150, 150, 150, 598, 617, 145, 207, 382, 191, + + 505, 639, 150, 84, 84, 593, 568, 568, 568, 568, + 588, 588, 588, 588, 84, 150, 150, 84, 84, 84, + 393, 597, 615, 145, 595, 639, 150, 652, 548, 150, + 150, 150, 145, 639, 636, 639, 474, 594, 596, 145, + 667, 393, 145, 649, 147, 547, 467, 596, 661, 145, + 664, 653, 113, 677, 542, 147, 147, 639, 541, 639, + 690, 615, 635, 540, 539, 455, 113, 532, 550, 661, + 531, 530, 661, 393, 393, 393, 616, 624, 624, 528, + 624, 624, 624, 624, 624, 393, 624, 624, 624, 624, + 393, 624, 624, 661, 527, 147, 674, 624, 624, 624, + + 624, 661, 661, 661, 147, 523, 688, 626, 145, 440, + 520, 147, 518, 661, 147, 516, 694, 393, 661, 695, + 675, 147, 624, 624, 624, 661, 661, 661, 145, 701, + 701, 626, 701, 689, 514, 694, 701, 661, 701, 698, + 702, 703, 661, 704, 512, 661, 510, 705, 445, 706, + 624, 624, 624, 624, 445, 624, 624, 624, 624, 624, + 625, 624, 624, 624, 624, 309, 624, 624, 701, 661, + 500, 445, 633, 624, 624, 624, 269, 393, 483, 707, + 147, 701, 634, 701, 701, 482, 88, 208, 477, 474, + 382, 373, 708, 467, 709, 710, 701, 624, 624, 624, + + 147, 264, 264, 701, 264, 701, 634, 711, 264, 462, + 264, 701, 701, 461, 712, 460, 713, 208, 454, 453, + 452, 451, 714, 715, 450, 624, 624, 624, 624, 449, + 624, 624, 624, 624, 624, 448, 624, 624, 624, 624, + 264, 624, 624, 447, 445, 445, 214, 624, 624, 624, + 624, 214, 208, 264, 207, 264, 264, 626, 207, 207, + 321, 321, 319, 319, 421, 373, 269, 269, 264, 269, + 268, 393, 624, 624, 624, 264, 268, 264, 364, 385, + 356, 626, 355, 264, 264, 382, 255, 373, 373, 247, + 363, 362, 361, 360, 357, 353, 352, 351, 350, 349, + + 624, 624, 624, 624, 332, 624, 624, 624, 624, 624, + 625, 624, 624, 624, 624, 332, 624, 624, 331, 330, + 329, 328, 633, 624, 624, 624, 328, 327, 326, 325, + 324, 321, 634, 319, 308, 269, 293, 291, 290, 289, + 286, 285, 269, 269, 268, 266, 264, 624, 624, 624, + 263, 239, 208, 262, 237, 130, 634, 241, 240, 239, + 208, 238, 237, 236, 236, 235, 234, 233, 106, 214, + 213, 207, 208, 207, 199, 624, 624, 84, 191, 189, + 165, 84, 84, 164, 148, 84, 84, 84, 84, 84, + 84, 84, 84, 85, 85, 85, 85, 85, 116, 85, + + 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, + 85, 85, 91, 91, 115, 106, 88, 91, 91, 91, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 129, + 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, + 129, 129, 129, 129, 129, 129, 129, 129, 144, 144, + 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, + 144, 144, 144, 144, 144, 144, 144, 149, 718, 718, + 718, 149, 149, 149, 718, 149, 149, 149, 149, 149, + 149, 149, 149, 190, 190, 190, 190, 190, 718, 190, - 267, 188, 188, 188, 188, 188, 188, 188, 188, 188, - 188, 188, 188, 188, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, - 190, 190, 190, 207, 207, 291, 289, 288, 287, 284, - 283, 267, 267, 207, 266, 264, 207, 207, 262, 207, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 243, - 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, - 243, 243, 243, 243, 243, 243, 243, 243, 143, 143, - 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, - - 143, 143, 143, 143, 143, 143, 143, 265, 265, 265, - 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, - 265, 265, 265, 265, 265, 265, 147, 261, 237, 206, - 147, 147, 147, 260, 147, 147, 147, 147, 147, 147, - 147, 147, 272, 272, 272, 272, 272, 272, 272, 272, - 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, - 272, 188, 188, 188, 188, 188, 188, 188, 188, 188, - 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, + 190, 190, 192, 192, 192, 192, 192, 192, 192, 192, + 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, + 192, 209, 209, 718, 718, 718, 718, 718, 718, 718, + 718, 209, 718, 718, 209, 209, 718, 209, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 245, 245, 245, + 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, + 245, 245, 245, 245, 245, 245, 145, 145, 145, 145, + 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, + + 145, 145, 145, 145, 145, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 149, 718, 718, 718, 149, 149, + 149, 718, 149, 149, 149, 149, 149, 149, 149, 149, + 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, + 274, 274, 274, 274, 274, 274, 274, 274, 274, 190, + 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, + 190, 190, 190, 190, 190, 190, 190, 190, 192, 192, + 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, + 192, 192, 192, 192, 192, 192, 192, 311, 311, 311, + + 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, + 311, 311, 311, 311, 311, 311, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 318, 318, 718, 318, 318, + 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, + 318, 318, 318, 318, 320, 320, 718, 320, 320, 320, + 320, 320, 320, 320, 320, 320, 320, 320, 320, 320, + 320, 320, 320, 322, 718, 322, 718, 718, 718, 322, + 322, 322, 718, 718, 322, 365, 365, 365, 365, 365, + 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, + + 365, 365, 365, 365, 126, 126, 126, 126, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 126, 126, 367, 367, 367, 367, 367, 367, 367, + 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, + 367, 367, 245, 245, 245, 245, 245, 245, 245, 245, + 245, 245, 245, 245, 245, 245, 245, 245, 245, 245, + 245, 370, 370, 370, 370, 370, 370, 370, 370, 376, + 718, 718, 718, 376, 718, 376, 376, 376, 376, 718, + 376, 267, 267, 267, 267, 267, 267, 267, 267, 267, + 267, 267, 267, 267, 267, 267, 267, 267, 267, 267, + + 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 392, 149, + 718, 718, 718, 149, 149, 149, 718, 149, 149, 149, + 149, 149, 149, 149, 149, 274, 274, 274, 274, 274, + 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, + 274, 274, 274, 274, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 314, 314, 314, 314, 314, 314, 314, 314, + 314, 314, 311, 311, 311, 311, 311, 311, 311, 311, + + 311, 311, 311, 311, 311, 311, 311, 311, 311, 311, + 311, 422, 422, 422, 422, 422, 422, 422, 422, 422, + 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, + 425, 425, 425, 425, 425, 425, 425, 425, 425, 425, + 425, 425, 425, 425, 425, 425, 425, 425, 425, 427, + 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, + 427, 427, 427, 427, 427, 427, 427, 427, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, - 190, 190, 190, 190, 190, 190, 190, 190, 190, 309, - - 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, - 309, 309, 309, 309, 309, 309, 309, 309, 312, 312, - 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, - 312, 312, 312, 312, 312, 312, 312, 316, 316, 235, - 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, - 316, 316, 316, 316, 316, 316, 318, 318, 128, 318, + 190, 190, 190, 190, 190, 190, 190, 318, 318, 718, 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, - 318, 318, 318, 318, 318, 320, 239, 320, 238, 237, - 206, 320, 320, 320, 236, 235, 320, 360, 360, 360, - 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, - - 360, 360, 360, 360, 360, 360, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 362, 362, 362, 362, 362, - 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, - 362, 362, 362, 362, 243, 243, 243, 243, 243, 243, - 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, - 243, 243, 243, 365, 365, 365, 365, 365, 365, 365, - 365, 371, 234, 234, 233, 371, 232, 371, 371, 371, - 371, 231, 371, 265, 265, 265, 265, 265, 265, 265, - 265, 265, 265, 265, 265, 265, 265, 265, 265, 265, - - 265, 265, 387, 387, 387, 387, 387, 387, 387, 387, - 387, 387, 387, 387, 387, 387, 387, 387, 387, 387, - 387, 147, 104, 212, 211, 147, 147, 147, 205, 147, - 147, 147, 147, 147, 147, 147, 147, 272, 272, 272, - 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, - 272, 272, 272, 272, 272, 272, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 312, 312, 312, 312, 312, - 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, - 312, 312, 312, 312, 309, 309, 309, 309, 309, 309, - - 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, - 309, 309, 309, 415, 415, 415, 415, 415, 415, 415, - 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, - 415, 415, 418, 418, 418, 418, 418, 418, 418, 418, - 418, 418, 418, 418, 418, 418, 418, 418, 418, 418, - 418, 420, 420, 420, 420, 420, 420, 420, 420, 420, - 420, 420, 420, 420, 420, 420, 420, 420, 420, 420, - 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, - 188, 188, 188, 188, 188, 188, 188, 188, 188, 316, - 316, 206, 316, 316, 316, 316, 316, 316, 316, 316, - - 316, 316, 316, 316, 316, 316, 316, 316, 318, 318, - 205, 318, 318, 318, 318, 318, 318, 318, 318, 318, - 318, 318, 318, 318, 318, 318, 318, 423, 197, 423, - 423, 189, 187, 423, 423, 423, 163, 162, 423, 360, - 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, - 360, 360, 360, 360, 360, 360, 360, 360, 362, 362, - 362, 362, 362, 362, 362, 362, 362, 362, 362, 362, - 362, 362, 362, 362, 362, 362, 362, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 454, 454, 454, 454, - - 454, 454, 454, 454, 454, 454, 454, 454, 454, 454, - 454, 454, 454, 454, 454, 459, 459, 146, 122, 459, - 459, 140, 459, 459, 459, 459, 459, 459, 459, 459, - 459, 460, 137, 114, 113, 104, 86, 460, 460, 460, - 460, 703, 460, 387, 387, 387, 387, 387, 387, 387, - 387, 387, 387, 387, 387, 387, 387, 387, 387, 387, - 387, 387, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, - 103, 484, 484, 703, 703, 484, 484, 484, 484, 484, - 484, 484, 484, 484, 484, 484, 484, 416, 416, 416, - 416, 416, 416, 416, 416, 416, 416, 416, 416, 416, - 416, 416, 416, 416, 416, 416, 488, 488, 488, 488, - 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, - 488, 488, 488, 488, 488, 491, 491, 491, 491, 491, - 491, 491, 491, 491, 491, 491, 491, 491, 491, 491, - 491, 491, 491, 491, 495, 495, 703, 495, 495, 495, - 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, - 495, 495, 495, 497, 497, 703, 497, 497, 497, 497, - 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, - 497, 497, 499, 499, 703, 499, 499, 499, 499, 499, - - 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, - 499, 501, 501, 703, 501, 501, 501, 501, 501, 501, + 318, 318, 318, 318, 318, 318, 320, 320, 718, 320, + 320, 320, 320, 320, 320, 320, 320, 320, 320, 320, + 320, 320, 320, 320, 320, 432, 718, 432, 718, 718, + 718, 432, 432, 432, 718, 718, 432, 430, 718, 718, + 718, 718, 718, 430, 430, 430, 430, 365, 365, 365, + 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, + 365, 365, 365, 365, 365, 365, 367, 367, 367, 367, + 367, 367, 367, 367, 367, 367, 367, 367, 367, 367, + 367, 367, 367, 367, 367, 126, 126, 126, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + + 126, 126, 126, 126, 466, 466, 466, 466, 466, 466, + 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, + 466, 466, 466, 471, 471, 718, 718, 471, 471, 718, + 471, 471, 471, 471, 471, 471, 471, 471, 471, 472, + 718, 718, 718, 718, 718, 472, 472, 472, 472, 718, + 472, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 392, 392, 392, 392, 392, 392, 392, 392, 392, 392, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 497, + 497, 718, 718, 497, 497, 497, 497, 497, 497, 497, + + 497, 497, 497, 497, 497, 422, 422, 422, 422, 422, + 422, 422, 422, 422, 422, 422, 422, 422, 422, 422, + 422, 422, 422, 422, 423, 423, 423, 423, 423, 423, + 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, + 423, 423, 423, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, - 503, 503, 703, 503, 503, 503, 503, 503, 503, 503, - 503, 503, 503, 503, 503, 503, 503, 503, 503, 505, - 505, 703, 505, 505, 505, 505, 505, 505, 505, 505, - 505, 505, 505, 505, 505, 505, 505, 505, 360, 360, - 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, - 360, 360, 360, 360, 360, 360, 360, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - - 124, 124, 124, 124, 124, 124, 454, 454, 454, 454, - 454, 454, 454, 454, 454, 454, 454, 454, 454, 454, - 454, 454, 454, 454, 454, 531, 703, 703, 703, 703, - 703, 531, 531, 531, 531, 531, 531, 531, 531, 531, - 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, - 538, 538, 538, 538, 538, 538, 538, 538, 538, 551, - 551, 551, 551, 703, 551, 551, 551, 551, 551, 551, - 551, 551, 551, 551, 551, 551, 551, 551, 554, 703, - 703, 703, 703, 703, 554, 554, 554, 554, 562, 562, - 703, 562, 562, 562, 562, 562, 562, 562, 562, 562, - - 562, 562, 562, 562, 562, 562, 562, 610, 610, 703, - 610, 610, 610, 610, 610, 610, 610, 610, 610, 610, - 610, 610, 610, 610, 610, 610, 617, 617, 703, 617, - 617, 617, 617, 617, 617, 617, 617, 617, 617, 617, - 617, 617, 617, 617, 617, 609, 609, 703, 609, 609, - 609, 609, 609, 609, 609, 609, 609, 609, 609, 609, - 609, 609, 609, 609, 645, 645, 645, 645, 645, 645, - 645, 645, 645, 645, 645, 645, 645, 645, 645, 645, - 645, 645, 645, 667, 667, 667, 667, 667, 667, 667, - 667, 667, 667, 667, 667, 667, 667, 667, 667, 667, - - 667, 667, 670, 670, 670, 670, 670, 670, 670, 670, - 670, 670, 670, 670, 670, 670, 670, 670, 670, 670, - 670, 685, 685, 685, 685, 685, 685, 685, 685, 685, + 501, 501, 425, 425, 425, 425, 425, 425, 425, 425, + 425, 425, 425, 425, 425, 425, 425, 425, 425, 425, + 425, 504, 504, 504, 504, 504, 504, 504, 504, 504, + 504, 504, 504, 504, 504, 504, 504, 504, 504, 504, + + 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, + 427, 427, 427, 427, 427, 427, 427, 427, 427, 190, + 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, + 190, 190, 190, 190, 190, 190, 190, 190, 507, 718, + 718, 718, 718, 718, 507, 507, 507, 507, 509, 509, + 718, 509, 509, 509, 509, 509, 509, 509, 509, 509, + 509, 509, 509, 509, 509, 509, 509, 511, 511, 718, + 511, 511, 511, 511, 511, 511, 511, 511, 511, 511, + 511, 511, 511, 511, 511, 511, 513, 513, 718, 513, + 513, 513, 513, 513, 513, 513, 513, 513, 513, 513, + + 513, 513, 513, 513, 513, 515, 515, 718, 515, 515, + 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, + 515, 515, 515, 515, 517, 517, 718, 517, 517, 517, + 517, 517, 517, 517, 517, 517, 517, 517, 517, 517, + 517, 517, 517, 519, 519, 718, 519, 519, 519, 519, + 519, 519, 519, 519, 519, 519, 519, 519, 519, 519, + 519, 519, 365, 365, 365, 365, 365, 365, 365, 365, + 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, + 365, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + + 466, 466, 466, 466, 466, 466, 466, 466, 466, 466, + 466, 466, 466, 466, 466, 466, 466, 466, 466, 546, + 718, 718, 718, 718, 718, 546, 546, 546, 546, 546, + 546, 546, 546, 546, 553, 553, 553, 553, 553, 553, + 553, 553, 553, 553, 553, 553, 553, 553, 553, 553, + 553, 553, 553, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 105, 105, 105, 105, 105, 105, 105, 105, + 105, 105, 566, 566, 566, 566, 718, 566, 566, 566, + 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, + 566, 569, 718, 718, 718, 718, 718, 569, 569, 569, + + 569, 577, 577, 718, 577, 577, 577, 577, 577, 577, + 577, 577, 577, 577, 577, 577, 577, 577, 577, 577, + 625, 625, 718, 625, 625, 625, 625, 625, 625, 625, + 625, 625, 625, 625, 625, 625, 625, 625, 625, 632, + 632, 718, 632, 632, 632, 632, 632, 632, 632, 632, + 632, 632, 632, 632, 632, 632, 632, 632, 624, 624, + 718, 624, 624, 624, 624, 624, 624, 624, 624, 624, + 624, 624, 624, 624, 624, 624, 624, 660, 660, 660, + 660, 660, 660, 660, 660, 660, 660, 660, 660, 660, + 660, 660, 660, 660, 660, 660, 682, 682, 682, 682, + + 682, 682, 682, 682, 682, 682, 682, 682, 682, 682, + 682, 682, 682, 682, 682, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, 685, - 3, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703 + 685, 685, 685, 685, 700, 700, 700, 700, 700, 700, + 700, 700, 700, 700, 700, 700, 700, 700, 700, 700, + 700, 700, 700, 3, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718 } ; -static yyconst flex_int16_t yy_chk[4217] = +static yyconst flex_int16_t yy_chk[4630] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -1241,453 +1295,498 @@ static yyconst flex_int16_t yy_chk[4217] = 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 6, 6, 6, 6, 8, 10, 10, 11, 19, - 55, 46, 8, 8, 8, 8, 16, 701, 11, 13, - 11, 11, 40, 46, 5, 11, 12, 12, 12, 13, - 99, 13, 99, 12, 19, 55, 13, 86, 12, 12, - 12, 12, 12, 12, 12, 12, 328, 43, 328, 12, + 39, 40, 8, 8, 8, 8, 16, 716, 11, 13, + 11, 11, 39, 40, 5, 11, 12, 12, 12, 13, + 92, 13, 92, 12, 19, 88, 13, 92, 12, 12, + 12, 12, 12, 12, 12, 12, 101, 39, 101, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 681, 40, 16, 12, 12, 12, 12, 12, 12, 12, + 51, 51, 16, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, - 12, 12, 12, 12, 12, 12, 12, 12, 15, 43, - 15, 86, 15, 15, 15, 15, 15, 15, 390, 28, + 12, 12, 12, 12, 12, 12, 12, 12, 15, 88, + 15, 696, 15, 15, 15, 15, 15, 15, 692, 28, 15, 21, 21, 21, 21, 20, 20, 20, 20, 23, - 23, 23, 23, 541, 22, 35, 35, 22, 22, 22, + 23, 23, 23, 357, 22, 35, 35, 22, 22, 22, 22, 15, 35, 35, 35, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 20, 22, 24, - 24, 24, 24, 25, 390, 23, 28, 29, 15, 29, - 29, 50, 50, 126, 29, 28, 25, 25, 25, 25, - 30, 30, 30, 30, 30, 31, 31, 541, 31, 31, - 31, 52, 677, 74, 32, 32, 142, 30, 32, 32, - 32, 34, 34, 36, 36, 74, 126, 34, 34, 34, - 24, 36, 36, 36, 676, 25, 26, 26, 26, 26, + 24, 24, 24, 25, 244, 23, 28, 29, 15, 29, + 29, 56, 86, 86, 29, 28, 25, 25, 25, 25, + 30, 30, 30, 30, 30, 31, 31, 691, 31, 31, + 31, 357, 53, 42, 32, 32, 56, 30, 32, 32, + 32, 34, 34, 36, 36, 42, 244, 34, 34, 34, + 24, 36, 36, 36, 144, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, - 26, 26, 33, 74, 76, 670, 26, 26, 26, 26, - 84, 84, 38, 38, 33, 33, 76, 52, 147, 33, - 33, 33, 38, 38, 540, 37, 37, 33, 63, 49, - - 147, 26, 26, 26, 37, 37, 37, 44, 142, 49, - 64, 49, 64, 64, 155, 47, 49, 64, 76, 151, - 47, 44, 44, 44, 44, 47, 155, 47, 47, 26, - 26, 27, 47, 151, 27, 27, 27, 27, 27, 57, - 57, 57, 57, 61, 540, 63, 56, 56, 56, 56, - 59, 59, 59, 59, 63, 442, 61, 61, 61, 61, - 66, 66, 27, 66, 66, 66, 27, 27, 27, 27, - 27, 27, 27, 27, 27, 27, 27, 27, 56, 44, - 442, 65, 65, 65, 65, 65, 59, 91, 91, 27, - 48, 48, 48, 69, 69, 61, 669, 48, 65, 69, - - 69, 69, 48, 48, 48, 48, 48, 48, 48, 48, - 95, 95, 95, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 98, 98, 98, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, - 48, 48, 51, 156, 156, 51, 388, 51, 388, 51, - 51, 51, 51, 51, 51, 58, 68, 51, 58, 58, - 58, 58, 60, 60, 60, 60, 67, 67, 68, 68, - 67, 67, 67, 68, 68, 68, 188, 188, 51, 58, - - 630, 68, 51, 51, 51, 51, 51, 51, 51, 51, - 51, 51, 51, 51, 70, 70, 189, 189, 71, 71, - 667, 70, 70, 70, 257, 51, 71, 71, 71, 81, - 81, 81, 81, 60, 62, 190, 190, 73, 73, 62, - 72, 72, 62, 62, 62, 62, 62, 73, 73, 72, - 72, 72, 75, 77, 90, 78, 90, 75, 154, 630, - 78, 90, 191, 191, 75, 77, 117, 117, 117, 117, - 62, 154, 78, 257, 62, 62, 62, 62, 62, 62, - 62, 62, 62, 62, 62, 62, 230, 79, 134, 134, - 134, 134, 230, 135, 135, 135, 135, 62, 79, 192, - - 192, 79, 79, 79, 79, 242, 75, 78, 85, 96, - 96, 96, 77, 332, 100, 85, 85, 85, 85, 85, - 266, 96, 144, 96, 100, 135, 100, 332, 96, 266, - 163, 100, 136, 136, 136, 136, 144, 144, 144, 144, - 144, 149, 163, 150, 152, 164, 171, 242, 665, 149, - 149, 150, 152, 149, 198, 150, 152, 164, 171, 79, - 89, 198, 89, 89, 89, 89, 89, 89, 136, 663, - 163, 657, 165, 166, 166, 166, 166, 264, 169, 164, - 182, 183, 264, 264, 165, 198, 171, 272, 272, 629, - 169, 89, 182, 183, 144, 89, 89, 89, 89, 89, - - 89, 89, 89, 89, 89, 89, 89, 169, 214, 214, - 214, 214, 198, 215, 215, 215, 215, 656, 89, 106, - 106, 106, 106, 106, 106, 106, 106, 106, 106, 106, - 106, 108, 165, 268, 182, 183, 108, 240, 268, 108, - 108, 108, 108, 108, 599, 268, 629, 108, 108, 108, - 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, - 108, 108, 108, 108, 108, 108, 108, 108, 308, 308, - 240, 108, 108, 108, 108, 108, 108, 108, 108, 108, - 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, - 108, 108, 108, 108, 108, 108, 110, 178, 599, 110, - - 110, 110, 110, 110, 179, 178, 178, 178, 178, 178, - 181, 185, 179, 179, 179, 179, 179, 184, 655, 186, - 309, 309, 181, 185, 310, 310, 362, 110, 651, 184, - 186, 110, 110, 110, 110, 110, 110, 110, 110, 110, - 110, 110, 110, 213, 179, 216, 216, 216, 216, 219, - 219, 219, 219, 213, 110, 111, 269, 111, 270, 185, - 213, 269, 111, 111, 295, 648, 295, 111, 362, 181, - 270, 111, 271, 269, 180, 184, 295, 271, 299, 111, - 299, 111, 180, 180, 180, 180, 180, 111, 111, 271, - 299, 186, 234, 111, 220, 220, 220, 220, 111, 125, - - 125, 125, 125, 125, 125, 125, 125, 125, 125, 125, - 125, 125, 125, 125, 125, 234, 193, 193, 180, 125, - 125, 125, 125, 193, 193, 193, 193, 193, 194, 194, - 221, 221, 221, 221, 487, 194, 194, 194, 194, 234, - 224, 311, 311, 487, 125, 125, 125, 224, 199, 312, - 312, 199, 199, 199, 199, 199, 222, 222, 222, 222, - 222, 222, 222, 222, 222, 222, 222, 231, 231, 231, - 231, 224, 125, 125, 127, 127, 127, 127, 127, 199, - 127, 127, 127, 127, 127, 127, 313, 313, 127, 127, - 232, 232, 232, 232, 127, 127, 251, 127, 224, 275, - - 326, 231, 251, 251, 251, 251, 199, 275, 275, 275, - 275, 275, 239, 239, 239, 239, 288, 415, 415, 127, - 127, 288, 417, 417, 232, 647, 278, 642, 288, 241, - 241, 241, 241, 252, 278, 278, 278, 278, 278, 391, - 252, 252, 252, 252, 353, 641, 252, 127, 127, 129, - 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, - 129, 130, 130, 239, 326, 360, 130, 361, 353, 130, - 130, 130, 130, 130, 241, 130, 252, 130, 130, 130, - 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, - 130, 130, 130, 130, 130, 130, 130, 130, 360, 391, - - 361, 130, 130, 130, 130, 130, 130, 130, 130, 130, - 130, 130, 130, 130, 130, 130, 130, 130, 130, 130, - 130, 130, 130, 130, 130, 130, 132, 132, 132, 132, - 132, 132, 132, 132, 132, 132, 132, 132, 133, 133, - 418, 418, 305, 133, 419, 419, 133, 133, 133, 133, - 640, 354, 133, 305, 133, 133, 133, 133, 133, 133, - 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, - 133, 133, 133, 133, 133, 354, 420, 420, 133, 133, - 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, - 133, 133, 133, 133, 133, 133, 133, 133, 133, 133, - - 133, 133, 133, 153, 153, 153, 320, 320, 320, 320, - 153, 683, 303, 639, 305, 153, 153, 303, 153, 153, - 153, 153, 153, 352, 303, 274, 153, 153, 153, 153, - 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, - 153, 153, 153, 153, 153, 153, 153, 372, 376, 636, - 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, - 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, - 153, 153, 153, 153, 153, 157, 300, 274, 285, 421, - 421, 352, 300, 683, 421, 253, 274, 157, 300, 635, - 285, 279, 253, 253, 253, 253, 372, 376, 253, 279, - - 279, 279, 279, 279, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 157, 157, 157, 157, 157, - 157, 157, 157, 157, 157, 157, 157, 158, 253, 393, - 330, 300, 158, 488, 488, 158, 158, 158, 158, 158, - 285, 393, 445, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 490, 490, 445, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 158, 158, 158, 158, 158, 158, 158, 158, - 158, 158, 160, 263, 330, 160, 160, 160, 160, 160, - - 633, 286, 577, 283, 301, 287, 286, 263, 263, 263, - 263, 283, 283, 283, 283, 283, 301, 287, 286, 336, - 336, 336, 336, 160, 286, 491, 491, 160, 160, 160, - 160, 160, 160, 160, 160, 160, 160, 160, 160, 343, - 343, 343, 343, 451, 632, 283, 301, 628, 286, 287, - 160, 173, 173, 173, 173, 173, 173, 173, 173, 173, - 173, 173, 173, 174, 174, 263, 402, 577, 174, 552, - 552, 174, 174, 174, 174, 174, 451, 174, 402, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - - 472, 472, 472, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 176, 176, + 26, 26, 33, 156, 42, 698, 26, 26, 26, 26, + 93, 93, 38, 38, 33, 33, 156, 43, 53, 33, + 33, 33, 38, 38, 328, 37, 37, 33, 41, 43, + + 41, 26, 26, 26, 37, 37, 37, 44, 45, 47, + 41, 58, 58, 58, 58, 44, 57, 57, 57, 57, + 685, 47, 45, 45, 45, 45, 144, 44, 684, 26, + 26, 27, 64, 27, 27, 27, 27, 27, 27, 65, + 48, 65, 65, 43, 50, 48, 65, 698, 57, 41, + 48, 268, 48, 48, 50, 682, 50, 48, 328, 44, + 268, 50, 27, 97, 97, 97, 27, 27, 27, 27, + 27, 27, 27, 27, 27, 27, 27, 27, 128, 64, + 45, 100, 100, 100, 61, 61, 61, 61, 64, 27, + 49, 49, 49, 83, 83, 83, 83, 49, 60, 60, + + 60, 60, 49, 49, 49, 49, 49, 49, 49, 49, + 330, 128, 330, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 49, 60, 61, 276, 49, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, + 49, 49, 52, 158, 158, 52, 680, 52, 153, 52, + 52, 52, 52, 52, 52, 59, 62, 52, 59, 59, + 59, 59, 153, 66, 66, 66, 66, 66, 276, 62, + 62, 62, 62, 119, 119, 119, 119, 276, 52, 59, + + 66, 530, 52, 52, 52, 52, 52, 52, 52, 52, + 52, 52, 52, 52, 67, 67, 530, 67, 67, 67, + 136, 136, 136, 136, 232, 52, 242, 69, 62, 63, + 232, 63, 63, 63, 63, 63, 63, 68, 68, 69, + 69, 68, 68, 68, 69, 69, 69, 70, 70, 71, + 71, 149, 69, 70, 70, 70, 71, 71, 71, 242, + 63, 190, 190, 149, 63, 63, 63, 63, 63, 63, + 63, 63, 63, 63, 63, 63, 72, 72, 678, 73, + 73, 74, 74, 672, 72, 72, 72, 63, 73, 73, + 73, 74, 74, 75, 76, 77, 75, 76, 77, 78, + + 77, 79, 78, 157, 79, 75, 76, 77, 75, 76, + 77, 78, 80, 79, 78, 157, 79, 80, 102, 152, + 80, 191, 191, 81, 183, 192, 192, 152, 102, 80, + 102, 152, 80, 75, 81, 102, 183, 81, 81, 81, + 81, 193, 193, 78, 87, 137, 137, 137, 137, 77, + 166, 87, 87, 87, 87, 87, 98, 98, 98, 393, + 79, 393, 166, 671, 80, 259, 167, 670, 98, 666, + 98, 138, 138, 138, 138, 98, 146, 137, 167, 168, + 168, 168, 168, 183, 166, 194, 194, 274, 274, 556, + 146, 146, 146, 146, 146, 81, 91, 151, 91, 91, + + 91, 91, 91, 91, 154, 151, 151, 138, 188, 151, + 165, 173, 154, 186, 259, 341, 154, 171, 272, 188, + 454, 236, 165, 173, 395, 186, 167, 91, 341, 171, + 272, 91, 91, 91, 91, 91, 91, 91, 91, 91, + 91, 91, 91, 556, 236, 454, 171, 266, 146, 358, + 165, 173, 266, 266, 91, 108, 108, 108, 108, 108, + 108, 108, 108, 108, 108, 108, 108, 110, 236, 270, + 395, 186, 110, 358, 270, 110, 110, 110, 110, 110, + 188, 270, 359, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + + 110, 110, 110, 110, 310, 310, 359, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, + 110, 110, 112, 180, 184, 112, 112, 112, 112, 112, + 181, 180, 180, 180, 180, 180, 184, 185, 181, 181, + 181, 181, 181, 500, 187, 311, 311, 663, 200, 185, + 312, 312, 500, 112, 662, 200, 187, 112, 112, 112, + 112, 112, 112, 112, 112, 112, 112, 112, 112, 657, + 181, 216, 216, 216, 216, 313, 313, 332, 184, 200, + 112, 113, 334, 113, 217, 217, 217, 217, 113, 113, + + 656, 185, 187, 113, 196, 196, 334, 113, 314, 314, + 182, 196, 196, 196, 196, 113, 200, 113, 182, 182, + 182, 182, 182, 113, 113, 218, 218, 218, 218, 113, + 221, 221, 221, 221, 113, 127, 127, 127, 127, 127, + 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, + 127, 332, 195, 195, 182, 127, 127, 127, 127, 195, + 195, 195, 195, 195, 201, 303, 215, 201, 201, 201, + 201, 201, 222, 222, 222, 222, 215, 303, 315, 315, + 127, 127, 127, 215, 223, 223, 223, 223, 655, 233, + 233, 233, 233, 654, 377, 201, 224, 224, 224, 224, + + 224, 224, 224, 224, 224, 224, 224, 303, 127, 127, + 129, 129, 129, 129, 129, 592, 129, 129, 129, 129, + 129, 129, 201, 233, 129, 129, 234, 234, 234, 234, + 129, 129, 651, 129, 243, 243, 243, 243, 253, 367, + 342, 226, 287, 377, 253, 253, 253, 253, 226, 241, + 241, 241, 241, 342, 287, 129, 129, 271, 254, 273, + 234, 292, 271, 650, 273, 254, 254, 254, 254, 648, + 290, 254, 226, 292, 271, 290, 273, 365, 647, 243, + 592, 367, 290, 129, 129, 131, 131, 131, 131, 131, + 131, 131, 131, 131, 131, 131, 131, 132, 132, 226, + + 241, 254, 132, 366, 287, 132, 132, 132, 132, 132, + 365, 132, 292, 132, 132, 132, 132, 132, 132, 132, + 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, + 132, 132, 132, 132, 422, 422, 366, 132, 132, 132, + 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, + 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, + 132, 132, 134, 134, 134, 134, 134, 134, 134, 134, + 134, 134, 134, 134, 135, 135, 345, 424, 424, 135, + 425, 425, 135, 135, 135, 135, 426, 426, 135, 345, + 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, + + 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, + 135, 643, 381, 699, 135, 135, 135, 135, 135, 135, + 135, 135, 135, 135, 135, 135, 135, 135, 135, 135, + 135, 135, 135, 135, 135, 135, 135, 135, 135, 155, + 155, 155, 322, 322, 322, 322, 155, 297, 301, 297, + 301, 155, 155, 396, 155, 155, 155, 155, 155, 297, + 301, 381, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 155, 155, 427, 427, 699, 155, 155, 155, 155, + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + + 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, + 155, 159, 302, 396, 305, 428, 428, 463, 302, 305, + 428, 255, 642, 159, 302, 641, 305, 277, 255, 255, + 255, 255, 280, 289, 255, 277, 277, 277, 277, 277, + 280, 280, 280, 280, 280, 289, 338, 338, 338, 338, + 463, 159, 159, 159, 159, 159, 159, 159, 159, 159, + 159, 159, 159, 160, 255, 307, 398, 302, 160, 501, + 501, 160, 160, 160, 160, 160, 307, 289, 398, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + + 484, 484, 484, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, + 160, 160, 160, 160, 160, 160, 160, 160, 162, 265, + 281, 162, 162, 162, 162, 162, 640, 307, 281, 281, + 281, 281, 281, 265, 265, 265, 265, 282, 282, 282, + 282, 282, 282, 282, 282, 282, 282, 282, 638, 162, + 368, 368, 368, 162, 162, 162, 162, 162, 162, 162, + 162, 162, 162, 162, 162, 317, 317, 348, 348, 348, + 348, 637, 317, 317, 317, 317, 162, 175, 175, 175, + 175, 175, 175, 175, 175, 175, 175, 175, 175, 176, + + 176, 265, 409, 629, 176, 368, 700, 176, 176, 176, + 176, 176, 457, 176, 409, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, - 177, 177, 627, 411, 626, 177, 576, 576, 177, 177, - 177, 177, 177, 625, 177, 411, 177, 177, 177, 177, - 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, - 177, 177, 177, 177, 177, 177, 177, 363, 363, 363, - 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, - 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, - - 177, 177, 177, 177, 177, 217, 217, 217, 217, 217, - 217, 217, 217, 217, 217, 217, 284, 366, 366, 366, - 366, 474, 363, 616, 284, 284, 284, 284, 284, 217, - 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, - 217, 218, 218, 218, 218, 218, 218, 218, 218, 218, - 218, 218, 289, 315, 315, 644, 644, 461, 284, 598, - 315, 315, 315, 315, 289, 218, 218, 218, 218, 218, - 218, 218, 218, 218, 218, 218, 218, 223, 290, 409, - 389, 409, 302, 616, 223, 474, 223, 297, 389, 297, - 290, 409, 389, 291, 302, 297, 297, 297, 297, 297, - - 289, 291, 291, 291, 291, 291, 461, 586, 223, 473, - 598, 678, 223, 223, 223, 223, 223, 223, 223, 223, - 223, 223, 223, 223, 302, 367, 367, 367, 367, 290, - 423, 423, 423, 423, 515, 223, 243, 243, 243, 243, - 243, 304, 243, 243, 243, 243, 243, 243, 341, 515, - 243, 243, 291, 304, 321, 341, 243, 243, 331, 243, - 370, 321, 331, 321, 373, 335, 392, 473, 678, 331, - 623, 586, 335, 370, 335, 404, 374, 373, 392, 341, - 392, 243, 243, 369, 369, 321, 431, 404, 369, 374, - 394, 369, 369, 369, 369, 622, 335, 369, 431, 381, - - 304, 614, 394, 370, 394, 405, 341, 373, 383, 243, - 243, 244, 321, 381, 381, 381, 381, 405, 383, 374, - 383, 404, 331, 335, 244, 383, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 714, 714, 405, - 539, 539, 539, 613, 244, 246, 246, 246, 246, 246, - 246, 246, 246, 246, 246, 246, 246, 254, 413, 398, - 607, 381, 452, 452, 452, 605, 455, 455, 455, 413, - 254, 398, 254, 254, 254, 254, 254, 254, 254, 254, - 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, - - 254, 254, 254, 384, 484, 456, 484, 400, 604, 457, - 254, 276, 400, 384, 399, 384, 484, 452, 456, 398, - 384, 455, 457, 276, 400, 526, 399, 276, 276, 276, - 276, 276, 276, 276, 276, 276, 276, 276, 397, 526, - 413, 603, 643, 591, 715, 715, 397, 397, 397, 397, - 397, 276, 276, 276, 276, 276, 276, 276, 276, 276, - 276, 276, 276, 281, 399, 400, 401, 403, 406, 591, - 281, 608, 281, 407, 458, 597, 437, 596, 401, 403, - 406, 407, 407, 407, 407, 407, 468, 458, 468, 401, - 437, 437, 643, 468, 281, 608, 403, 494, 281, 281, - - 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, - 494, 609, 406, 401, 466, 529, 529, 529, 589, 408, - 408, 281, 292, 292, 408, 485, 466, 408, 408, 408, - 408, 408, 589, 408, 292, 609, 292, 485, 292, 292, - 292, 292, 292, 292, 292, 292, 292, 292, 292, 292, - 292, 292, 292, 292, 292, 292, 292, 292, 292, 611, - 529, 615, 716, 716, 595, 658, 292, 293, 293, 293, - 293, 293, 293, 293, 293, 293, 293, 293, 293, 298, - 493, 493, 593, 611, 719, 719, 466, 493, 493, 493, - 493, 592, 298, 619, 298, 298, 298, 298, 298, 298, - - 298, 298, 298, 298, 298, 298, 298, 298, 298, 298, - 298, 298, 298, 298, 298, 615, 658, 619, 443, 736, - 736, 590, 298, 340, 340, 340, 340, 340, 340, 340, - 340, 340, 340, 340, 340, 395, 395, 395, 395, 395, - 395, 395, 395, 395, 395, 395, 395, 410, 443, 412, - 476, 478, 479, 410, 477, 476, 478, 480, 443, 410, - 483, 412, 588, 481, 479, 483, 477, 476, 478, 480, - 509, 486, 479, 510, 443, 481, 514, 483, 548, 587, - 544, 477, 486, 509, 545, 542, 510, 542, 579, 548, - 514, 514, 544, 482, 637, 581, 545, 542, 620, 637, - - 579, 480, 410, 412, 434, 482, 477, 581, 585, 584, - 620, 575, 544, 574, 572, 570, 481, 434, 637, 434, - 434, 434, 434, 434, 434, 434, 434, 434, 434, 434, - 434, 434, 434, 434, 434, 434, 434, 434, 434, 434, - 475, 475, 545, 486, 569, 482, 579, 568, 567, 684, - 548, 672, 475, 566, 475, 565, 475, 475, 475, 475, - 475, 475, 475, 475, 475, 475, 475, 475, 475, 475, - 475, 475, 475, 475, 475, 475, 475, 534, 543, 553, - 553, 618, 564, 546, 547, 573, 553, 553, 553, 553, - 543, 534, 534, 534, 534, 546, 547, 578, 601, 573, - - 573, 573, 573, 580, 582, 672, 583, 631, 618, 578, - 601, 682, 645, 624, 638, 580, 582, 583, 543, 624, - 602, 684, 563, 621, 547, 634, 652, 546, 652, 578, - 666, 602, 618, 650, 621, 631, 634, 624, 638, 649, - 645, 546, 601, 624, 638, 653, 580, 650, 562, 534, - 649, 662, 652, 561, 666, 559, 558, 573, 685, 631, - 675, 682, 662, 582, 645, 556, 555, 653, 674, 653, - 680, 675, 700, 554, 551, 659, 646, 660, 583, 594, - 594, 680, 594, 594, 594, 594, 594, 673, 594, 594, - 594, 594, 602, 594, 594, 621, 674, 634, 646, 594, - - 594, 594, 594, 659, 646, 660, 686, 550, 659, 594, - 687, 649, 538, 673, 537, 673, 536, 686, 674, 679, - 674, 687, 646, 662, 594, 594, 594, 659, 646, 660, - 685, 535, 675, 594, 688, 660, 533, 689, 690, 673, - 691, 531, 680, 527, 700, 688, 525, 679, 689, 690, - 524, 691, 594, 594, 600, 600, 523, 600, 600, 600, - 600, 600, 600, 600, 600, 600, 600, 522, 600, 600, - 692, 679, 521, 520, 600, 600, 600, 600, 686, 519, - 518, 692, 687, 693, 600, 694, 695, 516, 513, 512, - 511, 696, 697, 698, 693, 508, 694, 695, 507, 600, - - 600, 600, 696, 697, 698, 699, 688, 506, 600, 689, - 690, 505, 691, 504, 503, 502, 699, 501, 500, 499, - 498, 497, 496, 495, 489, 471, 470, 600, 600, 610, - 610, 469, 610, 610, 610, 610, 610, 467, 610, 610, - 610, 610, 692, 610, 610, 465, 463, 460, 459, 610, - 610, 610, 610, 454, 450, 693, 449, 694, 695, 610, - 448, 447, 446, 696, 697, 698, 444, 441, 440, 439, - 438, 436, 435, 430, 610, 610, 610, 699, 429, 428, - 427, 426, 425, 610, 424, 422, 416, 414, 396, 387, - 386, 385, 382, 380, 378, 375, 371, 365, 364, 359, - - 358, 357, 610, 610, 617, 617, 356, 617, 617, 617, - 617, 617, 617, 617, 617, 617, 617, 351, 617, 617, - 350, 349, 348, 347, 617, 617, 617, 617, 346, 345, - 344, 339, 338, 334, 617, 329, 327, 325, 324, 323, - 322, 319, 318, 317, 316, 306, 296, 294, 282, 617, - 617, 617, 277, 273, 267, 265, 261, 260, 617, 259, - 258, 256, 255, 250, 249, 248, 238, 237, 236, 235, - 233, 229, 228, 227, 226, 225, 212, 617, 617, 704, - 211, 210, 209, 704, 704, 208, 205, 704, 704, 704, - 704, 704, 704, 704, 704, 705, 705, 705, 705, 705, - - 204, 705, 705, 705, 705, 705, 705, 705, 705, 705, - 705, 705, 705, 705, 706, 706, 203, 202, 201, 706, - 706, 706, 707, 707, 707, 707, 707, 707, 707, 707, - 707, 707, 707, 707, 707, 707, 707, 707, 707, 707, - 707, 708, 708, 708, 708, 708, 708, 708, 708, 708, - 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, - 709, 709, 709, 709, 709, 709, 709, 709, 709, 709, - 709, 709, 709, 709, 709, 709, 709, 709, 709, 710, - 200, 196, 195, 710, 710, 710, 187, 710, 710, 710, - 710, 710, 710, 710, 710, 711, 711, 711, 711, 711, - - 175, 711, 711, 711, 711, 711, 711, 711, 711, 711, - 711, 711, 711, 711, 712, 712, 712, 712, 712, 712, - 712, 712, 712, 712, 712, 712, 712, 712, 712, 712, - 712, 712, 712, 713, 713, 172, 170, 168, 167, 162, - 161, 159, 148, 713, 146, 145, 713, 713, 143, 713, - 717, 717, 717, 717, 717, 717, 717, 717, 717, 717, - 717, 717, 717, 717, 717, 717, 717, 717, 717, 718, - 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, - 718, 718, 718, 718, 718, 718, 718, 718, 720, 720, - 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, + 176, 176, 176, 176, 176, 176, 457, 503, 503, 176, + 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, + 176, 176, 176, 176, 176, 176, 176, 176, 176, 176, + 176, 176, 176, 176, 178, 178, 178, 178, 178, 178, + 178, 178, 178, 178, 178, 178, 179, 179, 700, 418, + 628, 179, 504, 504, 179, 179, 179, 179, 179, 622, + 179, 418, 179, 179, 179, 179, 179, 179, 179, 179, + + 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, + 179, 179, 179, 464, 464, 464, 179, 179, 179, 179, + 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, + 179, 179, 179, 179, 179, 179, 179, 179, 179, 179, + 179, 219, 219, 219, 219, 219, 219, 219, 219, 219, + 219, 219, 285, 371, 371, 371, 371, 645, 464, 485, + 285, 285, 285, 285, 285, 219, 219, 219, 219, 219, + 219, 219, 219, 219, 219, 219, 219, 220, 220, 220, + 220, 220, 220, 220, 220, 220, 220, 220, 299, 620, + 299, 554, 554, 554, 285, 619, 299, 299, 299, 299, + + 299, 220, 220, 220, 220, 220, 220, 220, 220, 220, + 220, 220, 220, 225, 225, 429, 645, 485, 225, 486, + 618, 225, 225, 225, 225, 225, 606, 225, 429, 225, + 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, + 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, + 567, 567, 606, 225, 225, 225, 225, 225, 225, 225, + 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, + 225, 225, 225, 225, 225, 225, 225, 225, 245, 245, + 245, 245, 245, 486, 245, 245, 245, 245, 245, 245, + 288, 601, 245, 245, 286, 288, 291, 440, 245, 245, + + 306, 245, 286, 286, 286, 286, 286, 288, 291, 440, + 412, 541, 306, 288, 304, 372, 372, 372, 372, 375, + 378, 379, 412, 245, 245, 541, 304, 591, 591, 612, + 293, 611, 375, 378, 379, 394, 286, 288, 293, 293, + 293, 293, 293, 394, 291, 442, 333, 394, 715, 411, + 333, 245, 245, 246, 412, 601, 304, 333, 442, 306, + 337, 411, 375, 378, 379, 614, 246, 337, 246, 246, + 246, 246, 246, 246, 246, 246, 246, 246, 246, 246, + 246, 246, 246, 246, 246, 246, 246, 246, 246, 293, + 644, 337, 630, 659, 659, 411, 246, 248, 248, 248, + + 248, 248, 248, 248, 248, 248, 248, 248, 248, 256, + 333, 402, 610, 402, 432, 432, 432, 432, 337, 614, + 715, 608, 256, 402, 256, 256, 256, 256, 256, 256, + 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, + 256, 256, 256, 256, 256, 408, 630, 644, 449, 344, + 374, 374, 256, 278, 410, 374, 344, 408, 374, 374, + 374, 374, 449, 449, 374, 278, 410, 604, 408, 278, + 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 344, 604, 480, 410, 480, 607, 693, 623, 624, 480, + 687, 613, 408, 278, 278, 278, 278, 278, 278, 278, + + 278, 278, 278, 278, 278, 283, 283, 344, 605, 420, + 283, 623, 624, 283, 283, 283, 283, 283, 631, 283, + 420, 283, 283, 283, 283, 283, 283, 283, 283, 283, + 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, + 283, 283, 613, 693, 687, 283, 283, 283, 283, 283, + 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, + 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, + 294, 294, 603, 416, 602, 416, 729, 729, 631, 473, + 555, 420, 294, 626, 294, 416, 294, 294, 294, 294, + 294, 294, 294, 294, 294, 294, 294, 294, 294, 294, + + 294, 294, 294, 294, 294, 294, 294, 626, 634, 653, + 667, 600, 667, 668, 294, 295, 295, 295, 295, 295, + 295, 295, 295, 295, 295, 295, 295, 300, 473, 419, + 555, 599, 634, 653, 590, 668, 667, 668, 589, 653, + 300, 419, 300, 300, 300, 300, 300, 300, 300, 300, + 300, 300, 300, 300, 300, 300, 300, 300, 300, 300, + 300, 300, 300, 386, 388, 730, 730, 731, 731, 587, + 300, 323, 585, 405, 388, 323, 388, 386, 386, 386, + 386, 388, 323, 419, 323, 405, 323, 323, 323, 323, + 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, + + 323, 323, 323, 323, 323, 323, 323, 734, 734, 584, + 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, + 323, 323, 407, 405, 658, 406, 389, 407, 413, 443, + 673, 468, 469, 323, 336, 386, 389, 406, 389, 407, + 413, 583, 443, 389, 468, 469, 582, 336, 581, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 340, 470, 413, 697, 658, 406, 467, 467, 467, 580, + 407, 673, 579, 340, 470, 340, 340, 340, 340, 340, + 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, + + 340, 340, 340, 340, 340, 340, 343, 343, 343, 343, + 343, 343, 343, 343, 343, 343, 343, 343, 397, 397, + 578, 467, 499, 697, 751, 751, 577, 576, 574, 573, + 397, 571, 397, 499, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 397, 397, 397, 397, 397, + 397, 397, 397, 397, 397, 399, 570, 478, 569, 566, + 565, 553, 455, 552, 551, 550, 548, 546, 399, 478, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 400, 455, 542, 499, 540, 404, 681, 539, 538, + + 537, 414, 455, 400, 404, 404, 404, 404, 404, 414, + 414, 414, 414, 414, 415, 415, 536, 508, 455, 415, + 535, 681, 415, 415, 415, 415, 415, 534, 415, 478, + 508, 400, 400, 400, 400, 400, 400, 400, 400, 400, + 400, 400, 400, 417, 487, 489, 487, 491, 490, 417, + 489, 492, 491, 493, 494, 417, 487, 495, 533, 531, + 490, 498, 489, 492, 491, 493, 494, 496, 497, 495, + 497, 492, 496, 498, 528, 490, 524, 525, 506, 506, + 497, 529, 527, 526, 496, 506, 506, 506, 506, 524, + 525, 665, 544, 544, 544, 529, 529, 493, 417, 446, + + 490, 557, 522, 557, 521, 665, 520, 494, 519, 495, + 518, 517, 446, 557, 446, 446, 446, 446, 446, 446, + 446, 446, 446, 446, 446, 446, 446, 446, 446, 446, + 446, 446, 446, 446, 446, 488, 488, 544, 558, 516, + 515, 514, 513, 512, 511, 510, 509, 488, 507, 488, + 558, 488, 488, 488, 488, 488, 488, 488, 488, 488, + 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, + 488, 488, 549, 559, 633, 502, 483, 482, 558, 560, + 561, 562, 481, 563, 598, 559, 549, 549, 549, 549, + 593, 560, 561, 562, 563, 598, 588, 479, 477, 568, + + 568, 633, 593, 594, 595, 559, 568, 568, 568, 568, + 588, 588, 588, 588, 596, 594, 595, 597, 616, 635, + 646, 562, 593, 617, 561, 633, 596, 639, 475, 597, + 616, 635, 636, 639, 617, 652, 472, 560, 561, 649, + 652, 660, 664, 636, 549, 471, 466, 595, 646, 677, + 649, 639, 462, 664, 461, 563, 598, 639, 460, 652, + 677, 594, 616, 459, 458, 456, 453, 452, 588, 660, + 451, 450, 646, 674, 661, 675, 597, 609, 609, 448, + 609, 609, 609, 609, 609, 689, 609, 609, 609, 609, + 688, 609, 609, 660, 447, 617, 661, 609, 609, 609, + + 609, 674, 661, 675, 636, 444, 674, 609, 690, 439, + 438, 649, 437, 689, 664, 436, 688, 694, 688, 690, + 661, 677, 609, 609, 609, 674, 661, 675, 695, 701, + 702, 609, 703, 675, 435, 689, 704, 689, 705, 695, + 701, 702, 688, 703, 434, 694, 433, 704, 431, 705, + 609, 609, 615, 615, 430, 615, 615, 615, 615, 615, + 615, 615, 615, 615, 615, 423, 615, 615, 706, 694, + 421, 403, 615, 615, 615, 615, 401, 392, 391, 706, + 690, 707, 615, 708, 709, 390, 387, 385, 383, 380, + 376, 370, 707, 369, 708, 709, 710, 615, 615, 615, + + 695, 701, 702, 711, 703, 712, 615, 710, 704, 364, + 705, 713, 714, 363, 711, 362, 712, 361, 356, 355, + 354, 353, 713, 714, 352, 615, 615, 625, 625, 351, + 625, 625, 625, 625, 625, 350, 625, 625, 625, 625, + 706, 625, 625, 349, 347, 346, 331, 625, 625, 625, + 625, 329, 327, 707, 326, 708, 709, 625, 325, 324, + 321, 320, 319, 318, 308, 298, 296, 284, 710, 279, + 275, 269, 625, 625, 625, 711, 267, 712, 263, 262, + 261, 625, 260, 713, 714, 258, 257, 252, 251, 250, + 240, 239, 238, 237, 235, 231, 230, 229, 228, 227, + + 625, 625, 632, 632, 214, 632, 632, 632, 632, 632, + 632, 632, 632, 632, 632, 213, 632, 632, 212, 211, + 210, 207, 632, 632, 632, 632, 206, 205, 204, 203, + 202, 198, 632, 197, 189, 177, 174, 172, 170, 169, + 164, 163, 161, 150, 148, 147, 145, 632, 632, 632, + 143, 142, 141, 140, 139, 126, 632, 125, 124, 123, + 122, 121, 120, 118, 117, 116, 115, 114, 105, 103, + 99, 96, 95, 94, 90, 632, 632, 719, 85, 82, + 55, 719, 719, 54, 46, 719, 719, 719, 719, 719, + 719, 719, 719, 720, 720, 720, 720, 720, 18, 720, - 720, 720, 720, 720, 720, 720, 720, 721, 721, 721, - 721, 721, 721, 721, 721, 721, 721, 721, 721, 721, - 721, 721, 721, 721, 721, 721, 722, 141, 140, 139, - 722, 722, 722, 138, 722, 722, 722, 722, 722, 722, - 722, 722, 723, 723, 723, 723, 723, 723, 723, 723, + 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, + 720, 720, 721, 721, 17, 14, 9, 721, 721, 721, + 722, 722, 722, 722, 722, 722, 722, 722, 722, 722, + 722, 722, 722, 722, 722, 722, 722, 722, 722, 723, 723, 723, 723, 723, 723, 723, 723, 723, 723, 723, - 723, 724, 724, 724, 724, 724, 724, 724, 724, 724, + 723, 723, 723, 723, 723, 723, 723, 723, 724, 724, 724, 724, 724, 724, 724, 724, 724, 724, 724, 724, - 725, 725, 725, 725, 725, 725, 725, 725, 725, 725, - 725, 725, 725, 725, 725, 725, 725, 725, 725, 726, + 724, 724, 724, 724, 724, 724, 724, 725, 3, 0, + 0, 725, 725, 725, 0, 725, 725, 725, 725, 725, + 725, 725, 725, 726, 726, 726, 726, 726, 0, 726, 726, 726, 726, 726, 726, 726, 726, 726, 726, 726, - 726, 726, 726, 726, 726, 726, 726, 726, 727, 727, + 726, 726, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, 727, - 727, 727, 727, 727, 727, 727, 727, 728, 728, 137, - 728, 728, 728, 728, 728, 728, 728, 728, 728, 728, - 728, 728, 728, 728, 728, 728, 729, 729, 124, 729, - 729, 729, 729, 729, 729, 729, 729, 729, 729, 729, - 729, 729, 729, 729, 729, 730, 123, 730, 122, 121, - 120, 730, 730, 730, 119, 118, 730, 731, 731, 731, - 731, 731, 731, 731, 731, 731, 731, 731, 731, 731, - - 731, 731, 731, 731, 731, 731, 732, 732, 732, 732, + 727, 728, 728, 0, 0, 0, 0, 0, 0, 0, + 0, 728, 0, 0, 728, 728, 0, 728, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, 732, - 732, 732, 732, 732, 732, 733, 733, 733, 733, 733, + 732, 732, 732, 732, 732, 732, 732, 733, 733, 733, 733, 733, 733, 733, 733, 733, 733, 733, 733, 733, - 733, 733, 733, 733, 734, 734, 734, 734, 734, 734, - 734, 734, 734, 734, 734, 734, 734, 734, 734, 734, - 734, 734, 734, 735, 735, 735, 735, 735, 735, 735, - 735, 737, 116, 115, 114, 737, 113, 737, 737, 737, - 737, 112, 737, 738, 738, 738, 738, 738, 738, 738, - 738, 738, 738, 738, 738, 738, 738, 738, 738, 738, + 733, 733, 733, 733, 733, 733, 735, 735, 735, 735, + 735, 735, 735, 735, 735, 735, 735, 735, 735, 735, - 738, 738, 739, 739, 739, 739, 739, 739, 739, 739, + 735, 735, 735, 735, 735, 736, 736, 736, 736, 736, + 736, 736, 736, 736, 736, 736, 736, 736, 736, 736, + 736, 736, 736, 736, 737, 0, 0, 0, 737, 737, + 737, 0, 737, 737, 737, 737, 737, 737, 737, 737, + 738, 738, 738, 738, 738, 738, 738, 738, 738, 738, + 738, 738, 738, 738, 738, 738, 738, 738, 738, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, 739, - 739, 740, 103, 101, 97, 740, 740, 740, 94, 740, + 739, 739, 739, 739, 739, 739, 739, 739, 740, 740, + 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 740, 741, 741, 741, + 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, 741, 742, 742, 742, 742, 742, 742, 742, 742, 742, 742, 742, 742, 742, 742, - 742, 742, 742, 742, 742, 743, 743, 743, 743, 743, + 742, 742, 742, 742, 742, 743, 743, 0, 743, 743, 743, 743, 743, 743, 743, 743, 743, 743, 743, 743, - 743, 743, 743, 743, 744, 744, 744, 744, 744, 744, - + 743, 743, 743, 743, 744, 744, 0, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, 744, - 744, 744, 744, 745, 745, 745, 745, 745, 745, 745, - 745, 745, 745, 745, 745, 745, 745, 745, 745, 745, - 745, 745, 746, 746, 746, 746, 746, 746, 746, 746, + 744, 744, 744, 745, 0, 745, 0, 0, 0, 745, + 745, 745, 0, 0, 745, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, - 746, 747, 747, 747, 747, 747, 747, 747, 747, 747, + + 746, 746, 746, 746, 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, 747, + 747, 747, 747, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, 748, - 748, 748, 748, 748, 748, 748, 748, 748, 748, 749, - 749, 93, 749, 749, 749, 749, 749, 749, 749, 749, - - 749, 749, 749, 749, 749, 749, 749, 749, 750, 750, - 92, 750, 750, 750, 750, 750, 750, 750, 750, 750, - 750, 750, 750, 750, 750, 750, 750, 751, 88, 751, - 751, 83, 80, 751, 751, 751, 54, 53, 751, 752, - 752, 752, 752, 752, 752, 752, 752, 752, 752, 752, - 752, 752, 752, 752, 752, 752, 752, 752, 753, 753, + 748, 748, 749, 749, 749, 749, 749, 749, 749, 749, + 749, 749, 749, 749, 749, 749, 749, 749, 749, 749, + 749, 750, 750, 750, 750, 750, 750, 750, 750, 752, + 0, 0, 0, 752, 0, 752, 752, 752, 752, 0, + 752, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, 753, - 753, 753, 753, 753, 753, 753, 753, 754, 754, 754, - 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, - 754, 754, 754, 754, 754, 754, 755, 755, 755, 755, - 755, 755, 755, 755, 755, 755, 755, 755, 755, 755, - 755, 755, 755, 755, 755, 756, 756, 45, 42, 756, - 756, 41, 756, 756, 756, 756, 756, 756, 756, 756, - 756, 757, 39, 18, 17, 14, 9, 757, 757, 757, - 757, 3, 757, 758, 758, 758, 758, 758, 758, 758, + 754, 754, 754, 754, 754, 754, 754, 754, 754, 754, + 754, 754, 754, 754, 754, 754, 754, 754, 754, 755, + 0, 0, 0, 755, 755, 755, 0, 755, 755, 755, + 755, 755, 755, 755, 755, 756, 756, 756, 756, 756, + 756, 756, 756, 756, 756, 756, 756, 756, 756, 756, + 756, 756, 756, 756, 757, 757, 757, 757, 757, 757, + 757, 757, 757, 757, 757, 757, 757, 757, 757, 757, + 757, 757, 757, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 758, 759, 759, 759, 759, 759, 759, 759, 759, - 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, - 759, 760, 760, 0, 0, 760, 760, 760, 760, 760, - 760, 760, 760, 760, 760, 760, 760, 761, 761, 761, + 759, 759, 759, 759, 759, 759, 759, 759, 759, 759, + 759, 760, 760, 760, 760, 760, 760, 760, 760, 760, + 760, 760, 760, 760, 760, 760, 760, 760, 760, 760, 761, 761, 761, 761, 761, 761, 761, 761, 761, 761, - 761, 761, 761, 761, 761, 761, 762, 762, 762, 762, + 761, 761, 761, 761, 761, 761, 761, 761, 761, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, 762, - 762, 762, 762, 762, 762, 763, 763, 763, 763, 763, + 762, 762, 762, 762, 762, 762, 762, 762, 763, 763, 763, 763, 763, 763, 763, 763, 763, 763, 763, 763, - 763, 763, 763, 763, 764, 764, 0, 764, 764, 764, + 763, 763, 763, 763, 763, 763, 763, 764, 764, 0, 764, 764, 764, 764, 764, 764, 764, 764, 764, 764, - 764, 764, 764, 765, 765, 0, 765, 765, 765, 765, + + 764, 764, 764, 764, 764, 764, 765, 765, 0, 765, 765, 765, 765, 765, 765, 765, 765, 765, 765, 765, - 765, 765, 766, 766, 0, 766, 766, 766, 766, 766, - - 766, 766, 766, 766, 766, 766, 766, 766, 766, 766, - 766, 767, 767, 0, 767, 767, 767, 767, 767, 767, - 767, 767, 767, 767, 767, 767, 767, 767, 767, 767, - 768, 768, 0, 768, 768, 768, 768, 768, 768, 768, - 768, 768, 768, 768, 768, 768, 768, 768, 768, 769, - 769, 0, 769, 769, 769, 769, 769, 769, 769, 769, - 769, 769, 769, 769, 769, 769, 769, 769, 770, 770, + 765, 765, 765, 765, 765, 766, 0, 766, 0, 0, + 0, 766, 766, 766, 0, 0, 766, 767, 0, 0, + 0, 0, 0, 767, 767, 767, 767, 768, 768, 768, + 768, 768, 768, 768, 768, 768, 768, 768, 768, 768, + 768, 768, 768, 768, 768, 768, 769, 769, 769, 769, + 769, 769, 769, 769, 769, 769, 769, 769, 769, 769, + 769, 769, 769, 769, 769, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, 770, - 770, 770, 770, 770, 770, 770, 770, 771, 771, 771, - 771, 771, 771, 771, 771, 771, 771, 771, 771, 771, - 771, 771, 771, 771, 771, 771, 772, 772, 772, 772, - 772, 772, 772, 772, 772, 772, 772, 772, 772, 772, - 772, 772, 772, 772, 772, 773, 0, 0, 0, 0, - 0, 773, 773, 773, 773, 773, 773, 773, 773, 773, + 770, 770, 770, 770, 771, 771, 771, 771, 771, 771, + 771, 771, 771, 771, 771, 771, 771, 771, 771, 771, + 771, 771, 771, 772, 772, 0, 0, 772, 772, 0, + 772, 772, 772, 772, 772, 772, 772, 772, 772, 773, + 0, 0, 0, 0, 0, 773, 773, 773, 773, 0, + 773, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, 774, - 774, 774, 774, 774, 774, 774, 774, 774, 774, 775, - 775, 775, 775, 0, 775, 775, 775, 775, 775, 775, - 775, 775, 775, 775, 775, 775, 775, 775, 776, 0, - 0, 0, 0, 0, 776, 776, 776, 776, 777, 777, - 0, 777, 777, 777, 777, 777, 777, 777, 777, 777, + 775, 775, 775, 775, 775, 775, 775, 775, 775, 775, + 775, 775, 775, 775, 775, 775, 775, 775, 775, 776, + 776, 0, 0, 776, 776, 776, 776, 776, 776, 776, - 777, 777, 777, 777, 777, 777, 777, 778, 778, 0, + 776, 776, 776, 776, 776, 777, 777, 777, 777, 777, + 777, 777, 777, 777, 777, 777, 777, 777, 777, 777, + 777, 777, 777, 777, 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, 778, - 778, 778, 778, 778, 778, 778, 779, 779, 0, 779, + 778, 778, 778, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, 779, - 779, 779, 779, 779, 779, 780, 780, 0, 780, 780, + 779, 779, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, 780, - 780, 780, 780, 780, 781, 781, 781, 781, 781, 781, + 780, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, 781, - 781, 781, 781, 782, 782, 782, 782, 782, 782, 782, - 782, 782, 782, 782, 782, 782, 782, 782, 782, 782, - 782, 782, 783, 783, 783, 783, 783, 783, 783, 783, + 782, 782, 782, 782, 782, 782, 782, 782, 782, 782, + 782, 782, 782, 782, 782, 782, 782, 782, 782, 783, 783, 783, 783, 783, 783, 783, 783, 783, 783, 783, - 783, 784, 784, 784, 784, 784, 784, 784, 784, 784, - 784, 784, 784, 784, 784, 784, 784, 784, 784, 784, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - - 703, 703, 703, 703, 703, 703, 703, 703, 703, 703, - 703, 703, 703, 703, 703, 703 + 783, 783, 783, 783, 783, 783, 783, 783, 784, 0, + 0, 0, 0, 0, 784, 784, 784, 784, 785, 785, + 0, 785, 785, 785, 785, 785, 785, 785, 785, 785, + 785, 785, 785, 785, 785, 785, 785, 786, 786, 0, + 786, 786, 786, 786, 786, 786, 786, 786, 786, 786, + 786, 786, 786, 786, 786, 786, 787, 787, 0, 787, + 787, 787, 787, 787, 787, 787, 787, 787, 787, 787, + + 787, 787, 787, 787, 787, 788, 788, 0, 788, 788, + 788, 788, 788, 788, 788, 788, 788, 788, 788, 788, + 788, 788, 788, 788, 789, 789, 0, 789, 789, 789, + 789, 789, 789, 789, 789, 789, 789, 789, 789, 789, + 789, 789, 789, 790, 790, 0, 790, 790, 790, 790, + 790, 790, 790, 790, 790, 790, 790, 790, 790, 790, + 790, 790, 791, 791, 791, 791, 791, 791, 791, 791, + 791, 791, 791, 791, 791, 791, 791, 791, 791, 791, + 791, 792, 792, 792, 792, 792, 792, 792, 792, 792, + 792, 792, 792, 792, 792, 792, 792, 792, 792, 792, + + 793, 793, 793, 793, 793, 793, 793, 793, 793, 793, + 793, 793, 793, 793, 793, 793, 793, 793, 793, 794, + 0, 0, 0, 0, 0, 794, 794, 794, 794, 794, + 794, 794, 794, 794, 795, 795, 795, 795, 795, 795, + 795, 795, 795, 795, 795, 795, 795, 795, 795, 795, + 795, 795, 795, 796, 796, 796, 796, 796, 796, 796, + 796, 796, 796, 796, 796, 796, 796, 796, 796, 796, + 796, 796, 797, 797, 797, 797, 0, 797, 797, 797, + 797, 797, 797, 797, 797, 797, 797, 797, 797, 797, + 797, 798, 0, 0, 0, 0, 0, 798, 798, 798, + + 798, 799, 799, 0, 799, 799, 799, 799, 799, 799, + 799, 799, 799, 799, 799, 799, 799, 799, 799, 799, + 800, 800, 0, 800, 800, 800, 800, 800, 800, 800, + 800, 800, 800, 800, 800, 800, 800, 800, 800, 801, + 801, 0, 801, 801, 801, 801, 801, 801, 801, 801, + 801, 801, 801, 801, 801, 801, 801, 801, 802, 802, + 0, 802, 802, 802, 802, 802, 802, 802, 802, 802, + 802, 802, 802, 802, 802, 802, 802, 803, 803, 803, + 803, 803, 803, 803, 803, 803, 803, 803, 803, 803, + 803, 803, 803, 803, 803, 803, 804, 804, 804, 804, + + 804, 804, 804, 804, 804, 804, 804, 804, 804, 804, + 804, 804, 804, 804, 804, 805, 805, 805, 805, 805, + 805, 805, 805, 805, 805, 805, 805, 805, 805, 805, + 805, 805, 805, 805, 806, 806, 806, 806, 806, 806, + 806, 806, 806, 806, 806, 806, 806, 806, 806, 806, + 806, 806, 806, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718, 718, + 718, 718, 718, 718, 718, 718, 718, 718, 718 } ; extern int yy_flex_debug; @@ -1718,177 +1817,177 @@ goto find_rule; \ char *yytext; #line 1 "parser.l" #line 8 "parser.l" -/* - * parser.l -- lex parser of algebraic chess moves for XBoard - * - * Copyright 1991 by Digital Equipment Corporation, Maynard, - * Massachusetts. - * - * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, - * 2006, 2007, 2008, 2009 Free Software Foundation, Inc. - * - * The following terms apply to Digital Equipment Corporation's copyright - * interest in XBoard: - * ------------------------------------------------------------------------ - * All Rights Reserved - * - * Permission to use, copy, modify, and distribute this software and its - * documentation for any purpose and without fee is hereby granted, - * provided that the above copyright notice appear in all copies and that - * both that copyright notice and this permission notice appear in - * supporting documentation, and that the name of Digital not be - * used in advertising or publicity pertaining to distribution of the - * software without specific, written prior permission. - * - * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING - * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL - * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR - * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, - * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, - * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS - * SOFTWARE. - * ------------------------------------------------------------------------ - * - * The following terms apply to the enhanced version of XBoard - * distributed by the Free Software Foundation: - * ------------------------------------------------------------------------ - * - * GNU XBoard is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or (at - * your option) any later version. - * - * GNU XBoard is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/. - * - *------------------------------------------------------------------------ - ** See the file ChangeLog for a revision history. */ - -/* This parser handles all forms of promotion. - * The parser resolves ambiguous moves by searching and check-testing. - * It also parses comments of the form [anything] or (anything). - * - * [HGM] Parser extensively modified for bigger boards, Shogi-like syntax, - * and unknow pieces. All pieces are now mandatory upper case, but can be - * any letter A-Z. Files must be lower case (as before), but can run upto 'l'. - * Ranks can be 0-9. The parser returns 0 for off-board files and ranks. - * For an unknown piece (as mover or promotion piece) it returns - * IllegalMove, like it does when the piece doesn't match. - * Promotions can now also be appended Shogi-style, a bare '=' or '+', - * and this is then returned as promotion character. The piece indicator - * can be prefixed by a '+' to indicate it is a promoted piece. - */ - -#include "config.h" - -#define NO_CONSTRAINT -1 -#undef YYLMAX -#define YYLMAX 4096 -#define UNPUT_BUF_SIZE YYLMAX - -#ifdef FLEX_SCANNER -/* yytext is probably a char*, but could be a char[]. yy_text is set - in YY_DECL below, because if yytext is a char*, its value is not - constant. */ -char *yy_text; -#else /*!FLEX_SCANNER*/ -/* yytext is definitely a char[], so yy_text can be set here, statically. */ -char *yy_text = (char *) yytext; -#endif - -#ifdef FLEX_SCANNER -/* This is flex */ -/* [AP] use prototypes in function declarations */ -#define YY_USE_PROTOS - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif -/* end of [AP] fix */ - -#undef YY_INPUT -#define YY_INPUT(buf, result, max_size) my_yy_input(buf, &result, max_size) -#undef YY_DECL -#define YY_DECL \ - int _yylex YY_PROTO((void)); \ - int yylex YY_PROTO((void)) \ - { \ - int result = _yylex(); \ - yy_text = (char *) yytext; \ - return(result); \ - } \ - int _yylex YY_PROTO((void)) -#else -/* This is lex */ -#undef input -#undef output -#undef unput -#endif - -/* The includes must be here, below the #undef input */ - -#include - -#if STDC_HEADERS -# include -# include -#else /* not STDC_HEADERS */ -# if HAVE_STRING_H -# include -# else /* not HAVE_STRING_H */ -# include -# endif /* not HAVE_STRING_H */ -#endif /* not STDC_HEADERS */ - -#if HAVE_UNISTD_H -# include -#endif - -#if defined(_amigados) -# include -# if HAVE_FCNTL_H -# include /* isatty() prototype */ -# endif /* HAVE_FCNTL_H */ -#endif /* defined(_amigados) */ - -#include "common.h" -#include "backend.h" -#include "frontend.h" -#include "parser.h" -#include "moves.h" - -extern int PosFlags P((int)); - -extern Board boards[MAX_MOVES]; -int yyboardindex; -int yyskipmoves = FALSE; -char currentMoveString[YYLMAX]; -#ifndef FLEX_SCANNER -char unputBuffer[UNPUT_BUF_SIZE]; -int unputCount = 0; -#endif - -#ifdef FLEX_SCANNER -void my_yy_input P((char *buf, int *result, int max_size)); -#else /*!FLEX_SCANNER*/ -static int input P((void)); -static void output P((int ch)); -static void unput P((int ch)); -int yylook P((void)); -int yyback P((int *, int)); -#endif -#undef yywrap -int yywrap P((void)); -extern void CopyBoard P((Board to, Board from)); - -#line 1892 "parser.c" +/* + * parser.l -- lex parser of algebraic chess moves for XBoard + * + * Copyright 1991 by Digital Equipment Corporation, Maynard, + * Massachusetts. + * + * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, + * 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + * + * The following terms apply to Digital Equipment Corporation's copyright + * interest in XBoard: + * ------------------------------------------------------------------------ + * All Rights Reserved + * + * Permission to use, copy, modify, and distribute this software and its + * documentation for any purpose and without fee is hereby granted, + * provided that the above copyright notice appear in all copies and that + * both that copyright notice and this permission notice appear in + * supporting documentation, and that the name of Digital not be + * used in advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * + * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL + * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR + * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + * ------------------------------------------------------------------------ + * + * The following terms apply to the enhanced version of XBoard + * distributed by the Free Software Foundation: + * ------------------------------------------------------------------------ + * + * GNU XBoard is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or (at + * your option) any later version. + * + * GNU XBoard is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + * + *------------------------------------------------------------------------ + ** See the file ChangeLog for a revision history. */ + +/* This parser handles all forms of promotion. + * The parser resolves ambiguous moves by searching and check-testing. + * It also parses comments of the form [anything] or (anything). + * + * [HGM] Parser extensively modified for bigger boards, Shogi-like syntax, + * and unknow pieces. All pieces are now mandatory upper case, but can be + * any letter A-Z. Files must be lower case (as before), but can run upto 'l'. + * Ranks can be 0-9. The parser returns 0 for off-board files and ranks. + * For an unknown piece (as mover or promotion piece) it returns + * IllegalMove, like it does when the piece doesn't match. + * Promotions can now also be appended Shogi-style, a bare '=' or '+', + * and this is then returned as promotion character. The piece indicator + * can be prefixed by a '+' to indicate it is a promoted piece. + */ + +#include "config.h" + +#define NO_CONSTRAINT -1 +#undef YYLMAX +#define YYLMAX 4096 +#define UNPUT_BUF_SIZE YYLMAX + +#ifdef FLEX_SCANNER +/* yytext is probably a char*, but could be a char[]. yy_text is set + in YY_DECL below, because if yytext is a char*, its value is not + constant. */ +char *yy_text; +#else /*!FLEX_SCANNER*/ +/* yytext is definitely a char[], so yy_text can be set here, statically. */ +char *yy_text = (char *) yytext; +#endif + +#ifdef FLEX_SCANNER +/* This is flex */ +/* [AP] use prototypes in function declarations */ +#define YY_USE_PROTOS + +#ifdef YY_USE_PROTOS +#define YY_PROTO(proto) proto +#else +#define YY_PROTO(proto) () +#endif +/* end of [AP] fix */ + +#undef YY_INPUT +#define YY_INPUT(buf, result, max_size) my_yy_input(buf, &result, max_size) +#undef YY_DECL +#define YY_DECL \ + int _yylex YY_PROTO((void)); \ + int yylex YY_PROTO((void)) \ + { \ + int result = _yylex(); \ + yy_text = (char *) yytext; \ + return(result); \ + } \ + int _yylex YY_PROTO((void)) +#else +/* This is lex */ +#undef input +#undef output +#undef unput +#endif + +/* The includes must be here, below the #undef input */ + +#include + +#if STDC_HEADERS +# include +# include +#else /* not STDC_HEADERS */ +# if HAVE_STRING_H +# include +# else /* not HAVE_STRING_H */ +# include +# endif /* not HAVE_STRING_H */ +#endif /* not STDC_HEADERS */ + +#if HAVE_UNISTD_H +# include +#endif + +#if defined(_amigados) +# include +# if HAVE_FCNTL_H +# include /* isatty() prototype */ +# endif /* HAVE_FCNTL_H */ +#endif /* defined(_amigados) */ + +#include "common.h" +#include "backend.h" +#include "frontend.h" +#include "parser.h" +#include "moves.h" + +extern int PosFlags P((int)); + +extern Board boards[MAX_MOVES]; +int yyboardindex; +int yyskipmoves = FALSE; +char currentMoveString[YYLMAX]; +#ifndef FLEX_SCANNER +char unputBuffer[UNPUT_BUF_SIZE]; +int unputCount = 0; +#endif + +#ifdef FLEX_SCANNER +void my_yy_input P((char *buf, int *result, int max_size)); +#else /*!FLEX_SCANNER*/ +static int input P((void)); +static void output P((int ch)); +static void unput P((int ch)); +int yylook P((void)); +int yyback P((int *, int)); +#endif +#undef yywrap +int yywrap P((void)); +extern void CopyBoard P((Board to, Board from)); + +#line 1991 "parser.c" #define INITIAL 0 @@ -2046,8 +2145,8 @@ YY_DECL #line 179 "parser.l" - -#line 2051 "parser.c" + +#line 2150 "parser.c" if ( !(yy_init) ) { @@ -2106,14 +2205,14 @@ 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 >= 704 ) + if ( yy_current_state >= 719 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *(yy_state_ptr)++ = yy_current_state; ++yy_cp; } - while ( yy_base[yy_current_state] != 4141 ); + while ( yy_base[yy_current_state] != 4554 ); yy_find_action: yy_current_state = *--(yy_state_ptr); @@ -2163,162 +2262,170 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP #line 181 "parser.l" -{ - /* - * Fully-qualified algebraic move, possibly with promotion - */ - int skip1 = 0, skip2 = 0, skip3 = 0, promoted = 0; - ChessSquare piece; - ChessMove result; - char c; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - if (yytext[0] == '+') skip1 = skip3 = promoted = 1; /* [HGM] Shogi promoted */ - - /* remove the / */ - if (yytext[1+skip1] == '/') skip1++; - - /* remove the [xX:-] */ - if ((yytext[3+skip1] == 'x') || (yytext[3+skip1] == 'X') || - (yytext[3+skip1] == '-') || (yytext[3+skip1] == ':')) skip2 = 1; - - currentMoveString[0] = yytext[1+skip1]; - currentMoveString[1] = yytext[2+skip1]; - currentMoveString[2] = yytext[3+skip1+skip2]; - currentMoveString[3] = yytext[4+skip1+skip2]; - currentMoveString[4] = NULLCHAR; - - if (appData.debugMode) { - fprintf(debugFP, "Parser Qa1b2: yyleng=%d\n", - yyleng); - } - - if (yyleng-skip1-skip2 > 5) { char c; - if (yytext[yyleng-1] == ')') { - c = currentMoveString[4] = ToLower(yytext[yyleng-2]); - } else { - c = currentMoveString[4] = ToLower(yytext[yyleng-1]); - } - currentMoveString[5] = NULLCHAR; - if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) - return IllegalMove; /* [HGM] promotion to invalid piece */ - } - - if (appData.debugMode) { - fprintf(debugFP, "parser: %s\n", currentMoveString); - } - /* [HGM] do not allow values beyond board size */ - if(currentMoveString[1] - ONE >= BOARD_HEIGHT || - currentMoveString[1] - ONE < 0 || - currentMoveString[0] - AAA >= BOARD_RGHT || - currentMoveString[3] - ONE >= BOARD_HEIGHT || - currentMoveString[3] - ONE < 0 || - currentMoveString[2] - AAA >= BOARD_RGHT || - currentMoveString[0] - AAA < BOARD_LEFT || - currentMoveString[2] - AAA < BOARD_LEFT ) - return ImpossibleMove; - - piece = boards[yyboardindex] - [currentMoveString[1] - ONE][currentMoveString[0] - AAA]; - if(promoted) piece = (ChessSquare) (DEMOTED piece); - c = PieceToChar(piece); - if(c == '~') c = PieceToChar((ChessSquare) (DEMOTED piece)); - if (ToLower(yytext[skip3]) != ToLower(c)) - return (int) IllegalMove; - - result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! - currentMoveString[1] - ONE, - currentMoveString[0] - AAA, - currentMoveString[3] - ONE, - currentMoveString[2] - AAA, - currentMoveString[4]); - - if (currentMoveString[4] == NULLCHAR && - (result == WhitePromotionKnight || result == BlackPromotionKnight || - result == WhitePromotionQueen || result == BlackPromotionQueen)) { - currentMoveString[4] = PieceToChar(BlackQueen); - currentMoveString[5] = NULLCHAR; - } - - return (int) result; -} +{ + /* + * Fully-qualified algebraic move, possibly with promotion + */ + int skip1 = 0, skip2 = 0, skip3 = 0, promoted = 0; + ChessSquare piece; + ChessMove result; + char c; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + if (yytext[0] == '+') skip1 = skip3 = promoted = 1; /* [HGM] Shogi promoted */ + + /* remove the / */ + if (yytext[1+skip1] == '/') skip1++; + + /* remove the [xX:-] */ + if ((yytext[3+skip1] == 'x') || (yytext[3+skip1] == 'X') || + (yytext[3+skip1] == '-') || (yytext[3+skip1] == ':')) skip2 = 1; + + currentMoveString[0] = yytext[1+skip1]; + currentMoveString[1] = yytext[2+skip1]; + currentMoveString[2] = yytext[3+skip1+skip2]; + currentMoveString[3] = yytext[4+skip1+skip2]; + currentMoveString[4] = NULLCHAR; + + if (appData.debugMode) { + fprintf(debugFP, "Parser Qa1b2: yyleng=%d\n", + yyleng); + } + + if (yyleng-skip1-skip2 > 5) { char c; + if (yytext[yyleng-1] == ')') { + c = currentMoveString[4] = ToLower(yytext[yyleng-2]); + } else { + c = currentMoveString[4] = ToLower(yytext[yyleng-1]); + } + currentMoveString[5] = NULLCHAR; + if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) + return IllegalMove; /* [HGM] promotion to invalid piece */ + } + + if (appData.debugMode) { + fprintf(debugFP, "parser: %s\n", currentMoveString); + } + /* [HGM] do not allow values beyond board size */ + if(currentMoveString[1] - ONE >= BOARD_HEIGHT || + currentMoveString[1] - ONE < 0 || + currentMoveString[0] - AAA >= BOARD_RGHT || + currentMoveString[3] - ONE >= BOARD_HEIGHT || + currentMoveString[3] - ONE < 0 || + currentMoveString[2] - AAA >= BOARD_RGHT || + currentMoveString[0] - AAA < BOARD_LEFT || + currentMoveString[2] - AAA < BOARD_LEFT ) + return ImpossibleMove; + + piece = boards[yyboardindex] + [currentMoveString[1] - ONE][currentMoveString[0] - AAA]; + if(PieceToChar(piece) == '+' && appData.icsActive) promoted = 1, yytext[skip3] = PieceToChar(DEMOTED piece); // trust ICS + if(promoted) piece = (ChessSquare) (DEMOTED piece); + c = PieceToChar(piece); + if(c == '~') c = PieceToChar((ChessSquare) (DEMOTED piece)); + if (ToLower(yytext[skip3]) != ToLower(c)) + return (int) IllegalMove; + + result = LegalityTest(boards[yyboardindex], + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! + currentMoveString[1] - ONE, + currentMoveString[0] - AAA, + currentMoveString[3] - ONE, + currentMoveString[2] - AAA, + currentMoveString[4]); + + if (currentMoveString[4] == NULLCHAR && + (result == WhitePromotion || result == BlackPromotion)) { + if(gameInfo.variant == VariantCourier || gameInfo.variant == VariantShatranj) + currentMoveString[4] = PieceToChar(BlackFerz); + else if(gameInfo.variant == VariantGreat) + currentMoveString[4] = PieceToChar(BlackMan); + else if(gameInfo.variant == VariantShogi) + currentMoveString[4] = '+'; + else + currentMoveString[4] = PieceToChar(BlackQueen); + currentMoveString[5] = NULLCHAR; + } + + return (int) result; +} YY_BREAK case 2: YY_RULE_SETUP -#line 263 "parser.l" -{ - /* - * Simple algebraic move, possibly with promotion - * [HGM] Engine moves are received in this format, with lower-case promoChar! - */ - int skip = 0; - ChessMove result; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - /* remove the [xX:-] */ - if ((yytext[2] == 'x') || (yytext[2] == 'X') || - (yytext[2] == '-') || (yytext[2] == ':')) skip = 1; - - currentMoveString[0] = yytext[0]; - currentMoveString[1] = yytext[1]; - currentMoveString[2] = yytext[2+skip]; - currentMoveString[3] = yytext[3+skip]; - currentMoveString[4] = NULLCHAR; - - if (yyleng-skip > 4) { char c; - if (yytext[yyleng-1] == ')') { - c = currentMoveString[4] = ToLower(yytext[yyleng-2]); - } else { - c = currentMoveString[4] = ToLower(yytext[yyleng-1]); - } - currentMoveString[5] = NULLCHAR; - if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) - return IllegalMove; - } - - /* [HGM] do not allow values beyond board size */ - if(currentMoveString[1] - ONE >= BOARD_HEIGHT || - currentMoveString[1] - ONE < 0 || - currentMoveString[0] - AAA >= BOARD_RGHT || - currentMoveString[3] - ONE >= BOARD_HEIGHT || - currentMoveString[3] - ONE < 0 || - currentMoveString[2] - AAA >= BOARD_RGHT || - currentMoveString[0] - AAA < BOARD_LEFT || - currentMoveString[2] - AAA < BOARD_LEFT ) - return ImpossibleMove; - - result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! - currentMoveString[1] - ONE, - currentMoveString[0] - AAA, - currentMoveString[3] - ONE, - currentMoveString[2] - AAA, - currentMoveString[4]); - +#line 270 "parser.l" +{ + /* + * Simple algebraic move, possibly with promotion + * [HGM] Engine moves are received in this format, with lower-case promoChar! + */ + int skip = 0; + ChessMove result; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + /* remove the [xX:-] */ + if ((yytext[2] == 'x') || (yytext[2] == 'X') || + (yytext[2] == '-') || (yytext[2] == ':')) skip = 1; + + currentMoveString[0] = yytext[0]; + currentMoveString[1] = yytext[1]; + currentMoveString[2] = yytext[2+skip]; + currentMoveString[3] = yytext[3+skip]; + currentMoveString[4] = NULLCHAR; + + if (yyleng-skip > 4) { char c; + if (yytext[yyleng-1] == ')') { + c = currentMoveString[4] = ToLower(yytext[yyleng-2]); + } else { + c = currentMoveString[4] = ToLower(yytext[yyleng-1]); + } + currentMoveString[5] = NULLCHAR; + if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) + return IllegalMove; + } + + /* [HGM] do not allow values beyond board size */ + if(currentMoveString[1] - ONE >= BOARD_HEIGHT || + currentMoveString[1] - ONE < 0 || + currentMoveString[0] - AAA >= BOARD_RGHT || + currentMoveString[3] - ONE >= BOARD_HEIGHT || + currentMoveString[3] - ONE < 0 || + currentMoveString[2] - AAA >= BOARD_RGHT || + currentMoveString[0] - AAA < BOARD_LEFT || + currentMoveString[2] - AAA < BOARD_LEFT ) + return ImpossibleMove; + + result = LegalityTest(boards[yyboardindex], + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! + currentMoveString[1] - ONE, + currentMoveString[0] - AAA, + currentMoveString[3] - ONE, + currentMoveString[2] - AAA, + currentMoveString[4]); + if (currentMoveString[4] == NULLCHAR) { - if(result == WhitePromotionKnight || result == BlackPromotionKnight || - result == WhitePromotionQueen || result == BlackPromotionQueen) { + if(result == WhitePromotion || result == BlackPromotion) { if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk) currentMoveString[4] = PieceToChar(BlackFerz); else if(gameInfo.variant == VariantGreat) currentMoveString[4] = PieceToChar(BlackMan); + else if(gameInfo.variant == VariantShogi) + currentMoveString[4] = '+'; // Queen might not be defined in mini variants! else currentMoveString[4] = PieceToChar(BlackQueen); currentMoveString[5] = NULLCHAR; } } else if(appData.testLegality && // strip off unnecessary and false promo characters - !(result == WhitePromotionQueen || result == BlackPromotionQueen || - result == WhiteNonPromotion || result == BlackNonPromotion)) currentMoveString[4] = NULLCHAR; + !(result == WhitePromotion || result == BlackPromotion || + result == WhiteNonPromotion || result == BlackNonPromotion)) currentMoveString[4] = NULLCHAR; return (int) result; } YY_BREAK case 3: YY_RULE_SETUP -#line 331 "parser.l" +#line 339 "parser.l" { /* * Simple algebraic move, in capitals @@ -2358,649 +2465,646 @@ YY_RULE_SETUP currentMoveString[2] - AAA, currentMoveString[4]); - if (currentMoveString[4] == NULLCHAR && - (result == WhitePromotionKnight || result == BlackPromotionKnight || - result == WhitePromotionQueen || result == BlackPromotionQueen)) { - if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk) - currentMoveString[4] = PieceToChar(BlackFerz); - else if(gameInfo.variant == VariantGreat) - currentMoveString[4] = PieceToChar(BlackMan); - else - currentMoveString[4] = PieceToChar(BlackQueen); - currentMoveString[5] = NULLCHAR; - } else if(appData.testLegality && // strip off unnecessary and false promo characters - !(result == WhitePromotionQueen || result == BlackPromotionQueen || - result == WhiteNonPromotion || result == BlackNonPromotion)) currentMoveString[4] = NULLCHAR; - - return (int) result; -} + if (currentMoveString[4] == NULLCHAR && + (result == WhitePromotion || result == BlackPromotion)) { + if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk) + currentMoveString[4] = PieceToChar(BlackFerz); + else if(gameInfo.variant == VariantGreat) + currentMoveString[4] = PieceToChar(BlackMan); + else + currentMoveString[4] = PieceToChar(BlackQueen); + currentMoveString[5] = NULLCHAR; + } + + return (int) result; +} YY_BREAK case 4: YY_RULE_SETUP -#line 387 "parser.l" -{ - /* - * Pawn move, possibly with promotion - */ - DisambiguateClosure cl; - int skip = 0; char c; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - /* remove the =() */ - if (yytext[2] == '=' && yytext[3] != NULLCHAR) skip++; - if (yytext[2+skip] == '(') skip++; - - cl.pieceIn = WhiteOnMove(yyboardindex) ? WhitePawn : BlackPawn; - cl.rfIn = -1; - cl.ffIn = yytext[0] - AAA; - cl.rtIn = yytext[1] - ONE; - cl.ftIn = yytext[0] - AAA; - c = cl.promoCharIn = ToLower(yytext[2+skip]); - - /* [HGM] do not allow values beyond board size */ - if(cl.rtIn >= BOARD_HEIGHT || - cl.rtIn < 0 || - cl.ffIn >= BOARD_RGHT || - cl.ftIn < BOARD_LEFT ) - return ImpossibleMove; - - if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare) - return IllegalMove; - - - Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); - - currentMoveString[0] = cl.ff + AAA; - currentMoveString[1] = cl.rf + ONE; - currentMoveString[2] = cl.ft + AAA; - currentMoveString[3] = cl.rt + ONE; - currentMoveString[4] = cl.promoChar; - currentMoveString[5] = NULLCHAR; - - return (int) cl.kind; -} +#line 392 "parser.l" +{ + /* + * Pawn move, possibly with promotion + */ + DisambiguateClosure cl; + int skip = 0; char c; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + /* remove the =() */ + if (yytext[2] == '=' && yytext[3] != NULLCHAR) skip++; + if (yytext[2+skip] == '(') skip++; + + cl.pieceIn = WhiteOnMove(yyboardindex) ? WhitePawn : BlackPawn; + cl.rfIn = -1; + cl.ffIn = yytext[0] - AAA; + cl.rtIn = yytext[1] - ONE; + cl.ftIn = yytext[0] - AAA; + c = cl.promoCharIn = ToLower(yytext[2+skip]); + + /* [HGM] do not allow values beyond board size */ + if(cl.rtIn >= BOARD_HEIGHT || + cl.rtIn < 0 || + cl.ffIn >= BOARD_RGHT || + cl.ftIn < BOARD_LEFT ) + return ImpossibleMove; + + if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare) + return IllegalMove; + + + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); + + currentMoveString[0] = cl.ff + AAA; + currentMoveString[1] = cl.rf + ONE; + currentMoveString[2] = cl.ft + AAA; + currentMoveString[3] = cl.rt + ONE; + currentMoveString[4] = cl.promoChar; + currentMoveString[5] = NULLCHAR; + + return (int) cl.kind; +} YY_BREAK case 5: YY_RULE_SETUP -#line 431 "parser.l" -{ - /* - * Pawn capture, possibly with promotion, possibly ambiguous - */ - DisambiguateClosure cl; - int skip1 = 0, skip2 = 0; char c; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - /* remove trailing ep or e.p. (nonstandard PGN) */ - if (yytext[yyleng-1] == 'p') { - yyleng -= 2; - yytext[yyleng] = NULLCHAR; - } else if (yytext[yyleng-1] == '.') { - yyleng -= 4; - yytext[yyleng] = NULLCHAR; - } - - /* remove the [xX:-] and =() */ - if ((yytext[1] == 'x') || (yytext[1] == 'X') - || (yytext[1] == ':') || (yytext[1] == '-')) skip1 = 1; - if (yytext[2+skip1] == '=' && yytext[3+skip1] != NULLCHAR) skip2++; - if (yytext[2+skip1+skip2] == '(') skip2++; - - cl.pieceIn = WhiteOnMove(yyboardindex) ? WhitePawn : BlackPawn; - cl.rfIn = -1; - cl.ffIn = yytext[0] - AAA; - cl.rtIn = -1; - cl.ftIn = yytext[1+skip1] - AAA; - c = cl.promoCharIn = yytext[2+skip1+skip2]; - - /* [HGM] do not allow values beyond board size */ - if(cl.ffIn >= BOARD_RGHT || - cl.ffIn < BOARD_LEFT || - cl.ftIn >= BOARD_RGHT || - cl.ftIn < BOARD_LEFT ) - return ImpossibleMove; - - if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare) - return IllegalMove; - - Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); - - currentMoveString[0] = cl.ff + AAA; - currentMoveString[1] = cl.rf + ONE; - currentMoveString[2] = cl.ft + AAA; - currentMoveString[3] = cl.rt + ONE; - currentMoveString[4] = cl.promoChar; - currentMoveString[5] = NULLCHAR; - - return (int) cl.kind; -} +#line 436 "parser.l" +{ + /* + * Pawn capture, possibly with promotion, possibly ambiguous + */ + DisambiguateClosure cl; + int skip1 = 0, skip2 = 0; char c; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + /* remove trailing ep or e.p. (nonstandard PGN) */ + if (yytext[yyleng-1] == 'p') { + yyleng -= 2; + yytext[yyleng] = NULLCHAR; + } else if (yytext[yyleng-1] == '.') { + yyleng -= 4; + yytext[yyleng] = NULLCHAR; + } + + /* remove the [xX:-] and =() */ + if ((yytext[1] == 'x') || (yytext[1] == 'X') + || (yytext[1] == ':') || (yytext[1] == '-')) skip1 = 1; + if (yytext[2+skip1] == '=' && yytext[3+skip1] != NULLCHAR) skip2++; + if (yytext[2+skip1+skip2] == '(') skip2++; + + cl.pieceIn = WhiteOnMove(yyboardindex) ? WhitePawn : BlackPawn; + cl.rfIn = -1; + cl.ffIn = yytext[0] - AAA; + cl.rtIn = -1; + cl.ftIn = yytext[1+skip1] - AAA; + c = cl.promoCharIn = yytext[2+skip1+skip2]; + + /* [HGM] do not allow values beyond board size */ + if(cl.ffIn >= BOARD_RGHT || + cl.ffIn < BOARD_LEFT || + cl.ftIn >= BOARD_RGHT || + cl.ftIn < BOARD_LEFT ) + return ImpossibleMove; + + if(c != '=' && c != '+' && c != NULLCHAR && CharToPiece(c) == EmptySquare) + return IllegalMove; + + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); + + currentMoveString[0] = cl.ff + AAA; + currentMoveString[1] = cl.rf + ONE; + currentMoveString[2] = cl.ft + AAA; + currentMoveString[3] = cl.rt + ONE; + currentMoveString[4] = cl.promoChar; + currentMoveString[5] = NULLCHAR; + + return (int) cl.kind; +} YY_BREAK case 6: YY_RULE_SETUP -#line 484 "parser.l" -{ - /* - * unambiguously abbreviated Pawn capture, possibly with promotion - */ - int skip = 0; - ChessMove result; char c; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - /* remove trailing ep or e.p. (nonstandard PGN) */ - if (yytext[yyleng-1] == 'p') { - yyleng -= 2; - yytext[yyleng] = NULLCHAR; - } else if (yytext[yyleng-1] == '.') { - yyleng -= 4; - yytext[yyleng] = NULLCHAR; - } - - /* remove the [xX:-] */ - if ((yytext[1] == 'x') || (yytext[1] == 'X') - || (yytext[1] == ':') || (yytext[1] == '-')) skip = 1; - - currentMoveString[0] = yytext[0]; - currentMoveString[2] = yytext[1+skip]; - currentMoveString[3] = yytext[2+skip]; - - /* [HGM] do not allow values beyond board size */ - if(currentMoveString[0] - AAA >= BOARD_RGHT || - currentMoveString[3] - ONE >= BOARD_HEIGHT || - currentMoveString[3] - ONE < 0 || - currentMoveString[2] - AAA >= BOARD_RGHT || - currentMoveString[0] - AAA < BOARD_LEFT || - currentMoveString[2] - AAA < BOARD_LEFT ) - return ImpossibleMove; - - if (gameInfo.variant == VariantXiangqi && /* [HGM] In Xiangqi rank stays same */ - currentMoveString[0] != currentMoveString[2] ) { - currentMoveString[1] = yytext[2+skip]; - } else - if (WhiteOnMove(yyboardindex)) { - if (yytext[2+skip] == ONE) return (int) ImpossibleMove; - currentMoveString[1] = yytext[2+skip] - 1; - if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != WhitePawn) - return ImpossibleMove; - } else { - currentMoveString[1] = currentMoveString[3] + 1; - if (currentMoveString[3] == ONE+BOARD_HEIGHT-1) return (int) ImpossibleMove; - if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != BlackPawn) - return ImpossibleMove; - } - if (yyleng-skip > 3) { - if (yytext[yyleng-1] == ')') - c = currentMoveString[4] = ToLower(yytext[yyleng-2]); - else - c = currentMoveString[4] = ToLower(yytext[yyleng-1]); - currentMoveString[5] = NULLCHAR; - if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) - return IllegalMove; - } else { - currentMoveString[4] = NULLCHAR; - } - - result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! - currentMoveString[1] - ONE, - currentMoveString[0] - AAA, - currentMoveString[3] - ONE, - currentMoveString[2] - AAA, - currentMoveString[4]); - - if (currentMoveString[4] == NULLCHAR && - (result == WhitePromotionQueen || result == BlackPromotionQueen || - result == WhitePromotionKnight || result == BlackPromotionKnight)) { - currentMoveString[4] = PieceToChar(BlackQueen); - // [HGM] shatranj: take care of variants without Queen - if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk) - currentMoveString[4] = PieceToChar(BlackFerz); - if(gameInfo.variant == VariantGreat) - currentMoveString[4] = PieceToChar(BlackMan); - currentMoveString[5] = NULLCHAR; - } - - if (result != IllegalMove) return (int) result; - - /* Special case: improperly written en passant capture */ - if (WhiteOnMove(yyboardindex)) { - if (currentMoveString[3] == '5') { - currentMoveString[1] = '5'; - currentMoveString[3] = '6'; - } else { - return (int) IllegalMove; - } - } else { - if (currentMoveString[3] == '4') { - currentMoveString[1] = '4'; - currentMoveString[3] = '3'; - } else { - return (int) IllegalMove; - } - } - - result = LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! - currentMoveString[1] - ONE, - currentMoveString[0] - AAA, - currentMoveString[3] - ONE, - currentMoveString[2] - AAA, - currentMoveString[4]); - - if (result == WhiteCapturesEnPassant || result == BlackCapturesEnPassant) - return (int) result; - else - return (int) IllegalMove; -} +#line 489 "parser.l" +{ + /* + * unambiguously abbreviated Pawn capture, possibly with promotion + */ + int skip = 0; + ChessMove result; char c; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + /* remove trailing ep or e.p. (nonstandard PGN) */ + if (yytext[yyleng-1] == 'p') { + yyleng -= 2; + yytext[yyleng] = NULLCHAR; + } else if (yytext[yyleng-1] == '.') { + yyleng -= 4; + yytext[yyleng] = NULLCHAR; + } + + /* remove the [xX:-] */ + if ((yytext[1] == 'x') || (yytext[1] == 'X') + || (yytext[1] == ':') || (yytext[1] == '-')) skip = 1; + + currentMoveString[0] = yytext[0]; + currentMoveString[2] = yytext[1+skip]; + currentMoveString[3] = yytext[2+skip]; + + /* [HGM] do not allow values beyond board size */ + if(currentMoveString[0] - AAA >= BOARD_RGHT || + currentMoveString[3] - ONE >= BOARD_HEIGHT || + currentMoveString[3] - ONE < 0 || + currentMoveString[2] - AAA >= BOARD_RGHT || + currentMoveString[0] - AAA < BOARD_LEFT || + currentMoveString[2] - AAA < BOARD_LEFT ) + return ImpossibleMove; + + if (gameInfo.variant == VariantXiangqi && /* [HGM] In Xiangqi rank stays same */ + currentMoveString[0] != currentMoveString[2] ) { + currentMoveString[1] = yytext[2+skip]; + } else + if (WhiteOnMove(yyboardindex)) { + if (yytext[2+skip] == ONE) return (int) ImpossibleMove; + currentMoveString[1] = yytext[2+skip] - 1; + if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != WhitePawn) + return ImpossibleMove; + } else { + currentMoveString[1] = currentMoveString[3] + 1; + if (currentMoveString[3] == ONE+BOARD_HEIGHT-1) return (int) ImpossibleMove; + if(boards[yyboardindex][currentMoveString[1]-ONE][currentMoveString[0]-AAA] != BlackPawn) + return ImpossibleMove; + } + if (yyleng-skip > 3) { + if (yytext[yyleng-1] == ')') + c = currentMoveString[4] = ToLower(yytext[yyleng-2]); + else + c = currentMoveString[4] = ToLower(yytext[yyleng-1]); + currentMoveString[5] = NULLCHAR; + if(c != '=' && c != '+' && CharToPiece(c) == EmptySquare) + return IllegalMove; + } else { + currentMoveString[4] = NULLCHAR; + } + + result = LegalityTest(boards[yyboardindex], + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! + currentMoveString[1] - ONE, + currentMoveString[0] - AAA, + currentMoveString[3] - ONE, + currentMoveString[2] - AAA, + currentMoveString[4]); + + if (currentMoveString[4] == NULLCHAR && + (result == WhitePromotion || result == BlackPromotion)) { + currentMoveString[4] = PieceToChar(BlackQueen); + // [HGM] shatranj: take care of variants without Queen + if(gameInfo.variant == VariantShatranj || gameInfo.variant == VariantCourier || gameInfo.variant == VariantMakruk) + currentMoveString[4] = PieceToChar(BlackFerz); + if(gameInfo.variant == VariantGreat) + currentMoveString[4] = PieceToChar(BlackMan); + currentMoveString[5] = NULLCHAR; + } + + if (result != IllegalMove) return (int) result; + + /* Special case: improperly written en passant capture */ + if (WhiteOnMove(yyboardindex)) { + if (currentMoveString[3] == '5') { + currentMoveString[1] = '5'; + currentMoveString[3] = '6'; + } else { + return (int) IllegalMove; + } + } else { + if (currentMoveString[3] == '4') { + currentMoveString[1] = '4'; + currentMoveString[3] = '3'; + } else { + return (int) IllegalMove; + } + } + + result = LegalityTest(boards[yyboardindex], + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: might think we can e.p.! + currentMoveString[1] - ONE, + currentMoveString[0] - AAA, + currentMoveString[3] - ONE, + currentMoveString[2] - AAA, + currentMoveString[4]); + + if (result == WhiteCapturesEnPassant || result == BlackCapturesEnPassant) + return (int) result; + else + return (int) IllegalMove; +} YY_BREAK case 7: YY_RULE_SETUP -#line 599 "parser.l" -{ - /* - * piece move, possibly ambiguous - */ - DisambiguateClosure cl; - int skip = 0, skip2 = 0, promoted = 0; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - if(yytext[0] == '+') promoted = skip = skip2 = 1; - - /* remove the [xX:-] */ - if ((yytext[1+skip] == 'x') || (yytext[1+skip] == 'X') - || (yytext[1+skip] == ':') || (yytext[1+skip] == '-')) skip++; - - if (WhiteOnMove(yyboardindex)) { - cl.pieceIn = CharToPiece(ToUpper(yytext[skip2])); - } else { - cl.pieceIn = CharToPiece(ToLower(yytext[skip2])); - } - if(promoted) cl.pieceIn = (ChessSquare) (PROMOTED cl.pieceIn); - - cl.rfIn = -1; - cl.ffIn = -1; - cl.rtIn = yytext[2+skip] - ONE; - cl.ftIn = yytext[1+skip] - AAA; - cl.promoCharIn = NULLCHAR; - - if(yyleng-skip > 3) /* [HGM] can have Shogi-style promotion */ - cl.promoCharIn = yytext[yyleng-1]; - - if (appData.debugMode) { - fprintf(debugFP, "Parser Qa1: yyleng=%d, %d(%d,%d)-(%d,%d) = %d (%c)\n", - yyleng, - cl.pieceIn,cl.ffIn,cl.rfIn,cl.ftIn,cl.rtIn,cl.promoCharIn,cl.promoCharIn?cl.promoCharIn:' '); - } - - /* [HGM] but do not allow values beyond board size */ - if(cl.rtIn >= BOARD_HEIGHT || - cl.rtIn < 0 || - cl.ftIn >= BOARD_RGHT || - cl.ftIn < BOARD_LEFT ) - return ImpossibleMove; - - Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); - - currentMoveString[0] = cl.ff + AAA; - currentMoveString[1] = cl.rf + ONE; - currentMoveString[2] = cl.ft + AAA; - currentMoveString[3] = cl.rt + ONE; - currentMoveString[4] = cl.promoChar; - currentMoveString[5] = NULLCHAR; - - return (int) cl.kind; -} +#line 603 "parser.l" +{ + /* + * piece move, possibly ambiguous + */ + DisambiguateClosure cl; + int skip = 0, skip2 = 0, promoted = 0; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + if(yytext[0] == '+') promoted = skip = skip2 = 1; + + /* remove the [xX:-] */ + if ((yytext[1+skip] == 'x') || (yytext[1+skip] == 'X') + || (yytext[1+skip] == ':') || (yytext[1+skip] == '-')) skip++; + + if (WhiteOnMove(yyboardindex)) { + cl.pieceIn = CharToPiece(ToUpper(yytext[skip2])); + } else { + cl.pieceIn = CharToPiece(ToLower(yytext[skip2])); + } + if(promoted) cl.pieceIn = (ChessSquare) (PROMOTED cl.pieceIn); + + cl.rfIn = -1; + cl.ffIn = -1; + cl.rtIn = yytext[2+skip] - ONE; + cl.ftIn = yytext[1+skip] - AAA; + cl.promoCharIn = NULLCHAR; + + if(yyleng-skip > 3) /* [HGM] can have Shogi-style promotion */ + cl.promoCharIn = yytext[yyleng-1-(yytext[yyleng-1]==')')]; + + if (appData.debugMode) { + fprintf(debugFP, "Parser Qa1: yyleng=%d, %d(%d,%d)-(%d,%d) = %d (%c)\n", + yyleng, + cl.pieceIn,cl.ffIn,cl.rfIn,cl.ftIn,cl.rtIn,cl.promoCharIn,cl.promoCharIn?cl.promoCharIn:' '); + } + + /* [HGM] but do not allow values beyond board size */ + if(cl.rtIn >= BOARD_HEIGHT || + cl.rtIn < 0 || + cl.ftIn >= BOARD_RGHT || + cl.ftIn < BOARD_LEFT ) + return ImpossibleMove; + + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); + + currentMoveString[0] = cl.ff + AAA; + currentMoveString[1] = cl.rf + ONE; + currentMoveString[2] = cl.ft + AAA; + currentMoveString[3] = cl.rt + ONE; + currentMoveString[4] = cl.promoChar; + currentMoveString[5] = NULLCHAR; + + return (int) cl.kind; +} YY_BREAK case 8: YY_RULE_SETUP -#line 655 "parser.l" -{ - /* - * piece move with rank or file disambiguator - */ - DisambiguateClosure cl; - int skip = 0, skip2 = 0; int promoted=0; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - if(yytext[0]=='+') promoted = skip = skip2 = 1; - - /* remove the [xX:-] */ - if ((yytext[2+skip] == 'x') || (yytext[2+skip] == 'X') - || (yytext[2+skip] == ':') || (yytext[2+skip] == '-')) skip++; - - if (WhiteOnMove(yyboardindex)) { - cl.pieceIn = CharToPiece(ToUpper(yytext[skip2])); - } else { - cl.pieceIn = CharToPiece(ToLower(yytext[skip2])); - } - if(promoted) cl.pieceIn = (ChessSquare) (PROMOTED cl.pieceIn); - - if (isalpha(yytext[1+skip2])) { - cl.rfIn = -1; - cl.ffIn = yytext[1+skip2] - AAA; - - if(cl.ffIn >= BOARD_RGHT || - cl.ffIn < BOARD_LEFT ) return 0; - } else { - cl.rfIn = yytext[1+skip2] - ONE; - cl.ffIn = -1; - if(cl.rfIn >= BOARD_HEIGHT || - cl.rfIn < 0) return 0; - } - cl.rtIn = yytext[3+skip] - ONE; - cl.ftIn = yytext[2+skip] - AAA; - cl.promoCharIn = NULLCHAR; - - if(yyleng-skip > 4) /* [HGM] can have Shogi-style promotion */ - cl.promoCharIn = yytext[yyleng-1]; - - /* [HGM] do not allow values beyond board size */ - if(cl.rtIn >= BOARD_HEIGHT || - cl.rtIn < 0 || - cl.ftIn >= BOARD_RGHT || - cl.ftIn < BOARD_LEFT ) - return ImpossibleMove; - - Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); - - currentMoveString[0] = cl.ff + AAA; - currentMoveString[1] = cl.rf + ONE; - currentMoveString[2] = cl.ft + AAA; - currentMoveString[3] = cl.rt + ONE; - currentMoveString[4] = cl.promoChar; - currentMoveString[5] = NULLCHAR; - - return (int) cl.kind; -} +#line 659 "parser.l" +{ + /* + * piece move with rank or file disambiguator + */ + DisambiguateClosure cl; + int skip = 0, skip2 = 0; int promoted=0; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + if(yytext[0]=='+') promoted = skip = skip2 = 1; + + /* remove the [xX:-] */ + if ((yytext[2+skip] == 'x') || (yytext[2+skip] == 'X') + || (yytext[2+skip] == ':') || (yytext[2+skip] == '-')) skip++; + + if (WhiteOnMove(yyboardindex)) { + cl.pieceIn = CharToPiece(ToUpper(yytext[skip2])); + } else { + cl.pieceIn = CharToPiece(ToLower(yytext[skip2])); + } + if(promoted) cl.pieceIn = (ChessSquare) (PROMOTED cl.pieceIn); + + if (isalpha(yytext[1+skip2])) { + cl.rfIn = -1; + cl.ffIn = yytext[1+skip2] - AAA; + + if(cl.ffIn >= BOARD_RGHT || + cl.ffIn < BOARD_LEFT ) return 0; + } else { + cl.rfIn = yytext[1+skip2] - ONE; + cl.ffIn = -1; + if(cl.rfIn >= BOARD_HEIGHT || + cl.rfIn < 0) return 0; + } + cl.rtIn = yytext[3+skip] - ONE; + cl.ftIn = yytext[2+skip] - AAA; + cl.promoCharIn = NULLCHAR; + + if(yyleng-skip > 4) /* [HGM] can have Shogi-style promotion */ + cl.promoCharIn = yytext[yyleng-1-(yytext[yyleng-1]==')')]; + + /* [HGM] do not allow values beyond board size */ + if(cl.rtIn >= BOARD_HEIGHT || + cl.rtIn < 0 || + cl.ftIn >= BOARD_RGHT || + cl.ftIn < BOARD_LEFT ) + return ImpossibleMove; + + Disambiguate(boards[yyboardindex], PosFlags(yyboardindex), &cl); + + currentMoveString[0] = cl.ff + AAA; + currentMoveString[1] = cl.rf + ONE; + currentMoveString[2] = cl.ft + AAA; + currentMoveString[3] = cl.rt + ONE; + currentMoveString[4] = cl.promoChar; + currentMoveString[5] = NULLCHAR; + + return (int) cl.kind; +} YY_BREAK case 9: YY_RULE_SETUP -#line 715 "parser.l" -{ - int rf, ff, rt, ft; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - /* [HGM] all squares referenced to board edges in stead of absolute */ - if (WhiteOnMove(yyboardindex)) { - if (boards[yyboardindex][0][(BOARD_WIDTH-1)>>1] == WhiteKing) { - /* ICS wild castling */ - rf = 0; - ff = (BOARD_WIDTH-1)>>1; - rt = 0; - ft = BOARD_RGHT-3; - } else { - rf = 0; - ff = BOARD_WIDTH>>1; - rt = 0; - ft = BOARD_LEFT+2; - } - } else{ - if (boards[yyboardindex][BOARD_HEIGHT-1][(BOARD_WIDTH-1)>>1] == BlackKing) { - /* ICS wild castling */ - rf = BOARD_HEIGHT-1; - ff = (BOARD_WIDTH-1)>>1; - rt = BOARD_HEIGHT-1; - ft = BOARD_RGHT-3; - } else { - rf = BOARD_HEIGHT-1; - ff = BOARD_WIDTH>>1; - rt = BOARD_HEIGHT-1; - ft = BOARD_LEFT+2; - } - } +#line 719 "parser.l" +{ + int rf, ff, rt, ft; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + /* [HGM] all squares referenced to board edges in stead of absolute */ + if (WhiteOnMove(yyboardindex)) { + if (boards[yyboardindex][0][(BOARD_WIDTH-1)>>1] == WhiteKing) { + /* ICS wild castling */ + rf = 0; + ff = (BOARD_WIDTH-1)>>1; + rt = 0; + ft = BOARD_RGHT-3; + } else { + rf = 0; + ff = BOARD_WIDTH>>1; + rt = 0; + ft = BOARD_LEFT+2; + } + } else{ + if (boards[yyboardindex][BOARD_HEIGHT-1][(BOARD_WIDTH-1)>>1] == BlackKing) { + /* ICS wild castling */ + rf = BOARD_HEIGHT-1; + ff = (BOARD_WIDTH-1)>>1; + rt = BOARD_HEIGHT-1; + ft = BOARD_RGHT-3; + } else { + rf = BOARD_HEIGHT-1; + ff = BOARD_WIDTH>>1; + rt = BOARD_HEIGHT-1; + ft = BOARD_LEFT+2; + } + } if(PosFlags(0) & F_FRC_TYPE_CASTLING) { - if (WhiteOnMove(yyboardindex)) { - ff = initialRights[2]; - ft = initialRights[1]; - } else { - ff = initialRights[5]; - ft = initialRights[4]; - } - if (appData.debugMode) - { - fprintf(debugFP, "Parser FRC long %d %d\n", ff, ft); - }; - if(ff < 0 || ft < 0) return 0; - } - sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE); - if (appData.debugMode) { - fprintf(debugFP, "long castling %d %d\n", ff, ft); - } - return (int) LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.! - rf, ff, rt, ft, NULLCHAR); -} + + if (WhiteOnMove(yyboardindex)) { + ff = initialRights[2]; + ft = initialRights[1]; + } else { + ff = initialRights[5]; + ft = initialRights[4]; + } + if (appData.debugMode) + { + fprintf(debugFP, "Parser FRC long %d %d\n", ff, ft); + }; + if(ff < 0 || ft < 0) return 0; + } + sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE); + if (appData.debugMode) { + fprintf(debugFP, "long castling %d %d\n", ff, ft); + } + return (int) LegalityTest(boards[yyboardindex], + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.! + rf, ff, rt, ft, NULLCHAR); +} YY_BREAK case 10: YY_RULE_SETUP -#line 771 "parser.l" -{ - int rf, ff, rt, ft; - - if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ - - if (WhiteOnMove(yyboardindex)) { - if (boards[yyboardindex][0][(BOARD_WIDTH-1)>>1] == WhiteKing) { - /* ICS wild castling */ - rf = 0; - ff = (BOARD_WIDTH-1)>>1; - rt = 0; - ft = BOARD_LEFT+1; - } else { - rf = 0; - ff = BOARD_WIDTH>>1; - rt = 0; - ft = BOARD_RGHT-2; - } - } else { - if (boards[yyboardindex][BOARD_HEIGHT-1][(BOARD_WIDTH-1)>>1] == BlackKing) { - /* ICS wild castling */ - rf = BOARD_HEIGHT-1; - ff = (BOARD_WIDTH-1)>>1; - rt = BOARD_HEIGHT-1; - ft = BOARD_LEFT+1; - } else { - rf = BOARD_HEIGHT-1; - ff = BOARD_WIDTH>>1; - rt = BOARD_HEIGHT-1; - ft = BOARD_RGHT-2; - } - } +#line 776 "parser.l" +{ + int rf, ff, rt, ft; + + if (yyskipmoves) return (int) AmbiguousMove; /* not disambiguated */ + + if (WhiteOnMove(yyboardindex)) { + if (boards[yyboardindex][0][(BOARD_WIDTH-1)>>1] == WhiteKing) { + /* ICS wild castling */ + rf = 0; + ff = (BOARD_WIDTH-1)>>1; + rt = 0; + ft = BOARD_LEFT+1; + } else { + rf = 0; + ff = BOARD_WIDTH>>1; + rt = 0; + ft = BOARD_RGHT-2; + } + } else { + if (boards[yyboardindex][BOARD_HEIGHT-1][(BOARD_WIDTH-1)>>1] == BlackKing) { + /* ICS wild castling */ + rf = BOARD_HEIGHT-1; + ff = (BOARD_WIDTH-1)>>1; + rt = BOARD_HEIGHT-1; + ft = BOARD_LEFT+1; + } else { + rf = BOARD_HEIGHT-1; + ff = BOARD_WIDTH>>1; + rt = BOARD_HEIGHT-1; + ft = BOARD_RGHT-2; + } + } if(PosFlags(0) & F_FRC_TYPE_CASTLING) { - if (WhiteOnMove(yyboardindex)) { - ff = initialRights[2]; - ft = initialRights[0]; - } else { - ff = initialRights[5]; - ft = initialRights[3]; - } - if (appData.debugMode) { - fprintf(debugFP, "Parser FRC short %d %d\n", ff, ft); - } - if(ff < 0 || ft < 0) return 0; - } - sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE); - if (appData.debugMode) { - fprintf(debugFP, "short castling %d %d\n", ff, ft); - } - - return (int) LegalityTest(boards[yyboardindex], - PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.! - rf, ff, rt, ft, NULLCHAR); -} + if (WhiteOnMove(yyboardindex)) { + ff = initialRights[2]; + ft = initialRights[0]; + } else { + ff = initialRights[5]; + ft = initialRights[3]; + } + if (appData.debugMode) { + fprintf(debugFP, "Parser FRC short %d %d\n", ff, ft); + } + if(ff < 0 || ft < 0) return 0; + } + sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE); + if (appData.debugMode) { + fprintf(debugFP, "short castling %d %d\n", ff, ft); + } + + return (int) LegalityTest(boards[yyboardindex], + PosFlags(yyboardindex)&~F_MANDATORY_CAPTURE, // [HGM] losers: e.p.! + rf, ff, rt, ft, NULLCHAR); +} YY_BREAK case 11: YY_RULE_SETUP -#line 826 "parser.l" -{ - /* Bughouse piece drop. */ - currentMoveString[1] = '@'; - currentMoveString[2] = yytext[2]; - currentMoveString[3] = yytext[3]; - currentMoveString[4] = NULLCHAR; - - if (appData.debugMode) { - fprintf(debugFP, "Drop: %s\n", currentMoveString); - } - /* [HGM] do not allow values beyond board size */ - if(currentMoveString[3] - ONE >= BOARD_HEIGHT || - currentMoveString[2] - AAA >= BOARD_WIDTH ) - return ImpossibleMove; - - if (WhiteOnMove(yyboardindex)) { - currentMoveString[0] = ToUpper(yytext[0]); - } else { - currentMoveString[0] = ToLower(yytext[0]); - } +#line 831 "parser.l" +{ + /* Bughouse piece drop. */ + currentMoveString[1] = '@'; + currentMoveString[2] = yytext[2]; + currentMoveString[3] = yytext[3]; + currentMoveString[4] = NULLCHAR; + + if (appData.debugMode) { + fprintf(debugFP, "Drop: %s\n", currentMoveString); + } + /* [HGM] do not allow values beyond board size */ + if(currentMoveString[3] - ONE >= BOARD_HEIGHT || + currentMoveString[2] - AAA >= BOARD_WIDTH ) + return ImpossibleMove; + + if (WhiteOnMove(yyboardindex)) { + currentMoveString[0] = ToUpper(yytext[0]); + } else { + currentMoveString[0] = ToLower(yytext[0]); + } return LegalityTest(boards[yyboardindex], PosFlags(yyboardindex), DROP_RANK, // [HGM] does drops now too CharToPiece(currentMoveString[0]), currentMoveString[3] - ONE, currentMoveString[2] - AAA, NULLCHAR); -} +} YY_BREAK case 12: YY_RULE_SETUP -#line 850 "parser.l" -{ - if (WhiteOnMove(yyboardindex)) - return (int) BlackWins; - else - return (int) WhiteWins; -} +#line 855 "parser.l" +{ + if (WhiteOnMove(yyboardindex)) + return (int) BlackWins; + else + return (int) WhiteWins; +} YY_BREAK case 13: YY_RULE_SETUP -#line 857 "parser.l" -{ - return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins); -} +#line 862 "parser.l" +{ + return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins); +} YY_BREAK case 14: YY_RULE_SETUP -#line 861 "parser.l" -{ - return (int) GameUnfinished; -} +#line 866 "parser.l" +{ + return (int) GameUnfinished; +} YY_BREAK case 15: YY_RULE_SETUP -#line 865 "parser.l" -{ - return (int) GameIsDrawn; -} +#line 870 "parser.l" +{ + return (int) GameIsDrawn; +} YY_BREAK case 16: YY_RULE_SETUP -#line 869 "parser.l" -{ - return (int) GameIsDrawn; -} +#line 874 "parser.l" +{ + return (int) GameIsDrawn; +} YY_BREAK case 17: YY_RULE_SETUP -#line 873 "parser.l" -{ - if (WhiteOnMove(yyboardindex)) - return (int) BlackWins; - else - return (int) WhiteWins; -} +#line 878 "parser.l" +{ + if (WhiteOnMove(yyboardindex)) + return (int) BlackWins; + else + return (int) WhiteWins; +} YY_BREAK case 18: YY_RULE_SETUP -#line 880 "parser.l" -{ - if (WhiteOnMove(yyboardindex)) - return (int) BlackWins; - else - return (int) WhiteWins; -} +#line 885 "parser.l" +{ + if (WhiteOnMove(yyboardindex)) + return (int) BlackWins; + else + return (int) WhiteWins; +} YY_BREAK case 19: YY_RULE_SETUP -#line 887 "parser.l" -{ - return (int) GameIsDrawn; -} +#line 892 "parser.l" +{ + return (int) GameIsDrawn; +} YY_BREAK case 20: YY_RULE_SETUP -#line 891 "parser.l" -{ - return (int) GameIsDrawn; -} +#line 896 "parser.l" +{ + return (int) GameIsDrawn; +} YY_BREAK case 21: YY_RULE_SETUP -#line 895 "parser.l" -{ - return (int) (ToUpper(yytext[0]) == 'W' ? WhiteWins : BlackWins); -} +#line 900 "parser.l" +{ + return (int) (ToUpper(yytext[0]) == 'W' ? WhiteWins : BlackWins); +} YY_BREAK case 22: YY_RULE_SETUP -#line 899 "parser.l" -{ - return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins); -} +#line 904 "parser.l" +{ + return (int) (ToUpper(yytext[0]) == 'W' ? BlackWins : WhiteWins); +} YY_BREAK case 23: YY_RULE_SETUP -#line 903 "parser.l" -{ - return (int) WhiteWins; -} +#line 908 "parser.l" +{ + return (int) WhiteWins; +} YY_BREAK case 24: YY_RULE_SETUP -#line 907 "parser.l" -{ - return (int) BlackWins; -} +#line 912 "parser.l" +{ + return (int) BlackWins; +} YY_BREAK case 25: YY_RULE_SETUP -#line 911 "parser.l" -{ - return (int) GameIsDrawn; -} +#line 916 "parser.l" +{ + return (int) GameIsDrawn; +} YY_BREAK case 26: YY_RULE_SETUP -#line 915 "parser.l" -{ - return (int) GameUnfinished; -} +#line 920 "parser.l" +{ + return (int) GameUnfinished; +} YY_BREAK case 27: /* rule 27 can match eol */ YY_RULE_SETUP -#line 919 "parser.l" -{ - /* move numbers */ - if ((yyleng == 1) && (yytext[0] == '1')) - return (int) MoveNumberOne; -} +#line 924 "parser.l" +{ + /* move numbers */ + if ((yyleng == 1) && (yytext[0] == '1')) + return (int) MoveNumberOne; +} YY_BREAK case 28: YY_RULE_SETUP -#line 925 "parser.l" -{ - /* elapsed time indication, e.g. (0:12) or {10:21.071} */ - return (int) ElapsedTime; -} +#line 930 "parser.l" +{ + /* elapsed time indication, e.g. (0:12) or {10:21.071} */ + return (int) ElapsedTime; +} YY_BREAK case 29: /* rule 29 can match eol */ YY_RULE_SETUP -#line 930 "parser.l" -{ - /* position diagram enclosed in [-- --] */ - return (int) PositionDiagram; -} +#line 935 "parser.l" +{ + /* position diagram enclosed in [-- --] */ + return (int) PositionDiagram; +} YY_BREAK case 30: /* rule 30 can match eol */ @@ -3008,26 +3112,26 @@ case 30: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 935 "parser.l" -{ - /* position diagram enclosed in {-- --} */ - return (int) PositionDiagram; -} +#line 940 "parser.l" +{ + /* position diagram enclosed in {-- --} */ + return (int) PositionDiagram; +} YY_BREAK case 31: /* rule 31 can match eol */ YY_RULE_SETUP -#line 940 "parser.l" -{ - return (int) PGNTag; -} +#line 945 "parser.l" +{ + return (int) PGNTag; +} YY_BREAK case 32: YY_RULE_SETUP -#line 944 "parser.l" -{ - return (int) GNUChessGame; -} +#line 949 "parser.l" +{ + return (int) GNUChessGame; +} YY_BREAK case 33: /* rule 33 can match eol */ @@ -3035,89 +3139,89 @@ case 33: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 948 "parser.l" -{ - return (int) XBoardGame; -} +#line 953 "parser.l" +{ + return (int) XBoardGame; +} YY_BREAK case 34: YY_RULE_SETUP -#line 952 "parser.l" -{ /* numeric annotation glyph */ - return (int) NAG; -} +#line 957 "parser.l" +{ /* numeric annotation glyph */ + return (int) NAG; +} YY_BREAK case 35: /* rule 35 can match eol */ YY_RULE_SETUP -#line 956 "parser.l" -{ /* anything in {} */ - return (int) Comment; -} +#line 961 "parser.l" +{ /* anything in {} */ + return (int) Comment; +} YY_BREAK case 36: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 960 "parser.l" -{ /* ; to end of line */ - return (int) Comment; -} +#line 965 "parser.l" +{ /* ; to end of line */ + return (int) Comment; +} YY_BREAK case 37: /* rule 37 can match eol */ YY_RULE_SETUP -#line 964 "parser.l" -{ /* anything in [] */ - return (int) Comment; -} +#line 969 "parser.l" +{ /* anything in [] */ + return (int) Comment; +} YY_BREAK case 38: /* rule 38 can match eol */ YY_RULE_SETUP -#line 968 "parser.l" -{ /* very nested () */ - return (int) Comment; -} +#line 973 "parser.l" +{ /* very nested () */ + return (int) Comment; +} YY_BREAK case 39: /* rule 39 can match eol */ YY_RULE_SETUP -#line 972 "parser.l" -{ /* >=2 chars in () */ - return (int) Comment; -} +#line 977 "parser.l" +{ /* >=2 chars in () */ + return (int) Comment; +} YY_BREAK case 40: /* rule 40 can match eol */ YY_RULE_SETUP -#line 976 "parser.l" -{ - /* Skip mail headers */ -} +#line 981 "parser.l" +{ + /* Skip mail headers */ +} YY_BREAK case 41: YY_RULE_SETUP -#line 980 "parser.l" -{ - /* Skip random words */ -} +#line 985 "parser.l" +{ + /* Skip random words */ +} YY_BREAK case 42: /* rule 42 can match eol */ YY_RULE_SETUP -#line 984 "parser.l" -{ - /* Skip everything else */ -} +#line 989 "parser.l" +{ + /* Skip everything else */ +} YY_BREAK case 43: YY_RULE_SETUP -#line 988 "parser.l" +#line 993 "parser.l" ECHO; YY_BREAK -#line 3121 "parser.c" +#line 3225 "parser.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -3379,7 +3483,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 >= 704 ) + if ( yy_current_state >= 719 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -3402,11 +3506,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 >= 704 ) + if ( yy_current_state >= 719 ) 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 == 703); + yy_is_jam = (yy_current_state == 718); if ( ! yy_is_jam ) *(yy_state_ptr)++ = yy_current_state; @@ -4092,197 +4196,197 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 988 "parser.l" - - - - -static char *StringToLex; - -#ifndef FLEX_SCANNER -static FILE *lexFP; - -static int input() -{ - int ret; - - if (StringToLex != NULL) { - ret = *StringToLex; - if (ret == NULLCHAR) - ret = EOF; - else - StringToLex++; - } else if (unputCount > 0) { - ret = unputBuffer[--unputCount]; - } else { - ret = fgetc(lexFP); - } - - if (ret == EOF) - return 0; - else - return ret; -} - -/* - * Return offset of next pattern within current file - */ -int yyoffset() -{ - int offset = ftell(lexFP) - unputCount; - - if (offset < 0) { - offset = 0; - } - return(offset); -} - -static void output(ch) - int ch; -{ - if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unmatched character '%c' (0%o)\n", - ch, ch); -} - -static void unput(ch) - int ch; -{ - if (ch == 0) return; - if (StringToLex != NULL) { - StringToLex--; - } else { - if (unputCount >= UNPUT_BUF_SIZE) - if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unput buffer overflow '%c' (0%o)\n", - ch, ch); - unputBuffer[unputCount++] = ch; - } -} - -/* Get ready to lex from a new file. Kludge below sticks - an artificial newline at the front of the file, which the - above grammar ignores, but which makes ^ at start of pattern - match at the real start of the file. -*/ -void yynewfile(f) - FILE *f; -{ - lexFP = f; - StringToLex = NULL; - unputCount = 0; - unput('\n'); /* kludge */ -} - -/* Get ready to lex from a string. ^ at start of pattern WON'T - match at the start of the string! -*/ -void yynewstr(s) - char *s; -{ - lexFP = NULL; - StringToLex = s; - unputCount = 0; -} -#endif /*!FLEX_SCANNER*/ - -#ifdef FLEX_SCANNER -void my_yy_input(buf, result, max_size) - char *buf; - int *result; - int max_size; -{ - int count; - - if (StringToLex != NULL) { - count = 0; - while (*StringToLex != NULLCHAR) { - *buf++ = *StringToLex++; - count++; - } - *result = count; - return; - } else { - count = fread(buf, 1, max_size, yyin); - if (count == 0) { - *result = YY_NULL; - } else { - *result = count; - } - return; - } -} - -static YY_BUFFER_STATE my_file_buffer = NULL; - -/* - Return offset of next pattern in the current file. -*/ -int yyoffset() -{ - int pos = yy_c_buf_p - YY_CURRENT_BUFFER->yy_ch_buf; - - return(ftell(YY_CURRENT_BUFFER->yy_input_file) - - yy_n_chars + pos); -} - - -void yynewstr(s) - char *s; -{ - if (my_file_buffer != NULL) - yy_delete_buffer(my_file_buffer); - StringToLex = s; - my_file_buffer = yy_create_buffer(stdin,YY_BUF_SIZE); - yy_switch_to_buffer(my_file_buffer); -} - -void yynewfile(f) - FILE *f; -{ - if (my_file_buffer != NULL) - yy_delete_buffer(my_file_buffer); - StringToLex = NULL; - my_file_buffer = yy_create_buffer(f,YY_BUF_SIZE); - yy_switch_to_buffer(my_file_buffer); -} -#endif /*FLEX_SCANNER*/ - -int yywrap() -{ - return TRUE; -} - -/* Parse a move from the given string s */ -/* ^ at start of pattern WON'T work here unless using flex */ -ChessMove yylexstr(boardIndex, s, text, len) - int boardIndex, len; - char *s, *text; +#line 993 "parser.l" + + + + +static char *StringToLex; + +#ifndef FLEX_SCANNER +static FILE *lexFP; + +static int input() +{ + int ret; + + if (StringToLex != NULL) { + ret = *StringToLex; + if (ret == NULLCHAR) + ret = EOF; + else + StringToLex++; + } else if (unputCount > 0) { + ret = unputBuffer[--unputCount]; + } else { + ret = fgetc(lexFP); + } + + if (ret == EOF) + return 0; + else + return ret; +} + +/* + * Return offset of next pattern within current file + */ +int yyoffset() +{ + int offset = ftell(lexFP) - unputCount; + + if (offset < 0) { + offset = 0; + } + return(offset); +} + +static void output(ch) + int ch; +{ + if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unmatched character '%c' (0%o)\n", + ch, ch); +} + +static void unput(ch) + int ch; { - ChessMove ret; - char *oldStringToLex; -#ifdef FLEX_SCANNER - YY_BUFFER_STATE buffer, oldBuffer; -#endif - - yyboardindex = boardIndex; - oldStringToLex = StringToLex; - StringToLex = s; -#ifdef FLEX_SCANNER - buffer = yy_create_buffer(stdin,YY_BUF_SIZE); - oldBuffer = YY_CURRENT_BUFFER; - yy_switch_to_buffer(buffer); -#endif /*FLEX_SCANNER*/ - + if (ch == 0) return; + if (StringToLex != NULL) { + StringToLex--; + } else { + if (unputCount >= UNPUT_BUF_SIZE) + if(appData.debugMode) fprintf(debugFP, "PARSER BUG: unput buffer overflow '%c' (0%o)\n", + ch, ch); + unputBuffer[unputCount++] = ch; + } +} + +/* Get ready to lex from a new file. Kludge below sticks + an artificial newline at the front of the file, which the + above grammar ignores, but which makes ^ at start of pattern + match at the real start of the file. +*/ +void yynewfile(f) + FILE *f; +{ + lexFP = f; + StringToLex = NULL; + unputCount = 0; + unput('\n'); /* kludge */ +} + +/* Get ready to lex from a string. ^ at start of pattern WON'T + match at the start of the string! +*/ +void yynewstr(s) + char *s; +{ + lexFP = NULL; + StringToLex = s; + unputCount = 0; +} +#endif /*!FLEX_SCANNER*/ + +#ifdef FLEX_SCANNER +void my_yy_input(buf, result, max_size) + char *buf; + int *result; + int max_size; +{ + int count; + + if (StringToLex != NULL) { + count = 0; + while (*StringToLex != NULLCHAR) { + *buf++ = *StringToLex++; + count++; + } + *result = count; + return; + } else { + count = fread(buf, 1, max_size, yyin); + if (count == 0) { + *result = YY_NULL; + } else { + *result = count; + } + return; + } +} + +static YY_BUFFER_STATE my_file_buffer = NULL; + +/* + Return offset of next pattern in the current file. +*/ +int yyoffset() +{ + int pos = yy_c_buf_p - YY_CURRENT_BUFFER->yy_ch_buf; + + return(ftell(YY_CURRENT_BUFFER->yy_input_file) - + yy_n_chars + pos); +} + + +void yynewstr(s) + char *s; +{ + if (my_file_buffer != NULL) + yy_delete_buffer(my_file_buffer); + StringToLex = s; + my_file_buffer = yy_create_buffer(stdin,YY_BUF_SIZE); + yy_switch_to_buffer(my_file_buffer); +} + +void yynewfile(f) + FILE *f; +{ + if (my_file_buffer != NULL) + yy_delete_buffer(my_file_buffer); + StringToLex = NULL; + my_file_buffer = yy_create_buffer(f,YY_BUF_SIZE); + yy_switch_to_buffer(my_file_buffer); +} +#endif /*FLEX_SCANNER*/ + +int yywrap() +{ + return TRUE; +} + +/* Parse a move from the given string s */ +/* ^ at start of pattern WON'T work here unless using flex */ +ChessMove yylexstr(boardIndex, s, text, len) + int boardIndex, len; + char *s, *text; +{ + ChessMove ret; + char *oldStringToLex; +#ifdef FLEX_SCANNER + YY_BUFFER_STATE buffer, oldBuffer; +#endif + + yyboardindex = boardIndex; + oldStringToLex = StringToLex; + StringToLex = s; +#ifdef FLEX_SCANNER + buffer = yy_create_buffer(stdin,YY_BUF_SIZE); + oldBuffer = YY_CURRENT_BUFFER; + yy_switch_to_buffer(buffer); +#endif /*FLEX_SCANNER*/ + ret = (ChessMove) yylex(); strncpy(text, yy_text, len-1); // [HGM] vari: yy_text is not available to caller after buffer switch ?!? - text[len-1] = NULLCHAR; - -#ifdef FLEX_SCANNER - if (oldBuffer != NULL) - yy_switch_to_buffer(oldBuffer); - yy_delete_buffer(buffer); -#endif /*FLEX_SCANNER*/ - StringToLex = oldStringToLex; - - return ret; -} + text[len-1] = NULLCHAR; + +#ifdef FLEX_SCANNER + if (oldBuffer != NULL) + yy_switch_to_buffer(oldBuffer); + yy_delete_buffer(buffer); +#endif /*FLEX_SCANNER*/ + StringToLex = oldStringToLex; + + return ret; +}