1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-26 20:04:48 +01:00

Fix duplicate switch comment assignment

Fixes #469.
This commit is contained in:
Nikita Popov 2018-01-30 23:06:20 +01:00
parent e57b3a0978
commit 08215e7646
7 changed files with 873 additions and 845 deletions

View File

@ -1,7 +1,9 @@
Version 3.1.5-dev
-----------------
Nothing yet.
### Fixed
* Fixed duplicate comment assignment in switch statements. (#469)
Version 3.1.4 (2018-01-25)
--------------------------

View File

@ -323,8 +323,8 @@ case_list:
;
case:
T_CASE expr case_separator inner_statement_list { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list { $$ = Stmt\Case_[null, $3]; }
T_CASE expr case_separator inner_statement_list_ex { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list_ex { $$ = Stmt\Case_[null, $3]; }
;
case_separator:

View File

@ -371,8 +371,8 @@ case_list:
;
case:
T_CASE expr case_separator inner_statement_list { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list { $$ = Stmt\Case_[null, $3]; }
T_CASE expr case_separator inner_statement_list_ex { $$ = Stmt\Case_[$2, $4]; }
| T_DEFAULT case_separator inner_statement_list_ex { $$ = Stmt\Case_[null, $3]; }
;
case_separator:

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@ use PhpParser\Node\Stmt;
class Php7 extends \PhpParser\ParserAbstract
{
protected $tokenToSymbolMapSize = 392;
protected $actionTableSize = 891;
protected $actionTableSize = 915;
protected $gotoTableSize = 429;
protected $invalidSymbol = 157;
@ -26,8 +26,8 @@ class Php7 extends \PhpParser\ParserAbstract
protected $defaultAction = -32766;
protected $unexpectedTokenRule = 32767;
protected $YY2TBLSTATE = 328;
protected $YYNLSTATES = 576;
protected $YY2TBLSTATE = 330;
protected $YYNLSTATES = 578;
protected $symbolToName = array(
"EOF",
@ -233,390 +233,394 @@ class Php7 extends \PhpParser\ParserAbstract
);
protected $action = array(
581, 582, 583, 584, 585, 0, 586, 587, 588, 624,
625, 477, 27, 99, 100, 101, 102, 103, 104, 105,
106, 107, 108, 109, 110,-32766,-32766,-32766, 95, 96,
97, 361, 239, 263, -282,-32766,-32766,-32766, -488, -487,
1079, 542, 1082, 1080, 98,-32766, 272,-32766,-32766,-32766,
-32766,-32766, 589, 899, 901,-32766,-32766,-32766,-32766,-32766,
-32766,-32766,-32766, 240,-32766, 662, 590, 591, 592, 593,
594, 595, 596,-32766, 289, 656, 867, 868, 869, 866,
865, 864, 597, 598, 599, 600, 601, 602, 603, 604,
605, 606, 607, 627, 628, 629, 630, 631, 619, 620,
621, 622, 623, 608, 609, 610, 611, 612, 613, 614,
650, 651, 652, 653, 654, 655, 615, 616, 617, 618,
648, 639, 637, 638, 634, 635, 215, 626, 632, 633,
640, 641, 643, 642, 644, 645, 42, 43, 390, 44,
45, 636, 647, 646, 224, 46, 47, 982, 48,-32767,
-32767,-32767,-32767, 90, 91, 92, 93, 94, 258, 440,
22, 867, 868, 869, 866, 865, 864, 859,-32766,-32766,
-32766, 1071, 1032, 1032, 1070, 1049, 998, 293, -443, 246,
287, 49, 50, -488, -487, -488, -487, 51,-32766, 52,
219, 220, 53, 54, 55, 56, 57, 58, 59, 60,
125, 22, 232, 61, 345, 975,-32766,-32766,-32766, 999,
1000, 658, 661, 1032, 28, -477, 1012, 998,-32766,-32766,
-32766, 737, 407, 408, 246, 1032,-32766, 246,-32766,-32766,
-32766,-32766, 25, 222, 373, 385, 349, 226,-32766, -443,
-32766,-32766,-32766, 1035, 65, 342, 416, 216, 41, 264,
264, 1046, 7, -443, 403, 404, 120, 21, 975, 24,
-443, 822, -446, 407, 408, -227, 1004, 1005, 1006, 1007,
1001, 1002, 243, 116, -442, -441, 265, 417, 1008, 1003,
347, 816, 817, 1076, 994, 63, 369, 255, 362, 260,
264, 391, -133, -133, -133, -4, 737, 392, 658, 224,
-441, 727, 264, -88, 32, 17, 393, -133, 394, -133,
395, -133, 396, -133, 128, 397, -133, -133, -133, 34,
35, 398, 346, 122, 36, 399, 816, 817, 62, 816,
817, 286, 288, 400, 401, -442, -441, 465, -251, 402,
38, 40, 713, 758, 405, 406, -172, 22, -232, -442,
-441,-32766,-32766,-32766, 374, -173, -442, -441, -445, 1032,
-477, -441, 1032, 998, 417, -479, 391, 347, 739, 547,
-133,-32766, 392,-32766,-32766, -441, 727, 678, 679, 32,
17, 393, -441, 394, 276, 395, 357, 396, 789, 549,
397, 71, 975, 1050, 34, 35, 398, 346, 335, 36,
399, 247, 248, 62, 254, 737, 286, 288, 400, 401,
408, 120, 131, 530, 402, 982, 306, 670, 758, 405,
406, 337, 113, 115,-32766,-32766, 72, 73, 74, 242,
529, 65, 121, 553, 502, 18, 264, 126, 274, 264,
-32766,-32766,-32766, 739, 547, -4, 26, 751, 75, 76,
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
97, 111, 239, 118, 737, 391, 92, 93, 94, 531,
112, 392, 347, -251, 98, 727, 845, 124, 32, 17,
393, -172, 394, 1032, 395, 130, 396, 515, 516, 397,
-173, 117, 554, 34, 35, 398, 737, 790, 36, 399,
-479, 736, 62, 383, 6, 286, 288,-32766,-32766,-32766,
127, 311, 114, 402, 678, 679, 975, 495, 496, 816,
817, 856, 565, 119, 552, 844, 575, 343, 223, 564,
559, 221, 225, 239, 391, 98, 658, 439, 39, 525,
392, 659, 775, 547, 727, 435, 971, 32, 17, 393,
358, 394, 356, 395, 299, 396, 319, 694, 397, 1074,
264, 451, 34, 35, 398, 737, 391, 36, 399, 453,
511, 62, 392, 449, 286, 288, 727, 499, 540, 32,
17, 393, 402, 394, 438, 395, 1081, 396, 354, 444,
397,-32766, 493, 551, 34, 35, 398, 737, 503, 36,
399, 526, -80, 62, 759, 507, 286, 288, 214, 456,
10, 739, 547, 519, 402, 508, 975, 257, 15, 0,
338, 0, 0, 259, 1011, 560, 760, 1014, 262, 0,
0, 0, 0, 0, 0, 391, 0, 0, 0, 0,
0, 392, 0, 739, 547, 727, 227, 256, 32, 17,
393, 0, 394, 0, 395, 0, 396, 0, 0, 397,
3, 0, 9, 34, 35, 398, 737, 391, 36, 399,
305, -400, 62, 392, 753, 286, 288, 727, 22, 339,
32, 17, 393, 402, 394, 327, 395, 324, 396, 316,
1032, 397, 323, 357, 998, 34, 35, 398, 446, 773,
36, 399, 31, 573, 62, 574, 718, 286, 288, 840,
850, 792, 739, 547, 30, 402, 849, 852, 851, 848,
771, 776, 716, 975, 784, 841, 783, 19, 548, 333,
550, 555, 557, 558, 270, 271, 391, 332, 571, 570,
407, 408, 392, 568, 739, 547, 727, 566, 563, 32,
17, 393, 562, 394, 757, 395, 756, 396, 755, 963,
397, -444, 65, 857, 34, 35, 398, 264, 744, 36,
399, 962, 961, 62, 754, 746, 286, 288,-32766,-32766,
-32766, 681, 1077, 680, 402, 683, 682, 672, 673, 782,
567, 714, 1078, 781, 1047, 1044, 1039, 1026,-32766, 1033,
-32766,-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,
-32767, 1075, 250, 739, 547, -467, 955, -446, -445, 20,
23, 29, 33, 37, 64, 336, 334, 273, 238, 237,
236, 235, 218, 217, 132, 129, 123, 70, 69, 68,
67, 66, -469, 0, 308, 473, 939, 489, 539, -230,
942, 11, 967, 823, 996, 938, 986, 536, 388, -88,
381, 378, 375, 309, 16, 14, 13, 12, -227, -228,
0, -412, 0, 995, 501, 1073, 1038, 1025, 1024, 0,
1013
583, 584, 585, 586, 587, 1037, 588, 589, 590, 626,
627, 479, 29, 101, 102, 103, 104, 105, 106, 107,
108, 109, 110, 111, 112,-32766,-32766,-32766, 97, 98,
99, 0, 241, 387, -282,-32766,-32766,-32766,-32766, -487,
1081, 544, 1084, 1082, 100,-32766, 664,-32766,-32766,-32766,
-32766,-32766, 591, 901, 903,-32766, 30,-32766,-32766,-32766,
-32766,-32766,-32766, 1034,-32766, 295, 592, 593, 594, 595,
596, 597, 598,-32766, 274, 658, 869, 870, 871, 868,
867, 866, 599, 600, 601, 602, 603, 604, 605, 606,
607, 608, 609, 629, 630, 631, 632, 633, 621, 622,
623, 624, 625, 610, 611, 612, 613, 614, 615, 616,
652, 653, 654, 655, 656, 657, 617, 618, 619, 620,
650, 641, 639, 640, 636, 637, -251, 628, 634, 635,
642, 643, 645, 644, 646, 647, 74, 75, 76, 556,
266, 638, 649, 648, 739, 44, 45, 392, 46, 47,
375, 680, 681, 73, 48, 49, 28, 50, 77, 78,
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
99, 218, 241, 996, -487, -443, -487,-32766,-32766,-32766,
51, 52, 116, 663, 100, 339, 53, 242, 54, 221,
222, 55, 56, 57, 58, 59, 60, 61, 62, -173,
24, 234, 63, 347, 393,-32766,-32766,-32766, 1001, 1002,
394, 228, 1034, 217, 729,-32766, 1000, 34, 19, 395,
1051, 396, 127, 397, 118, 398, -442, 24, 399, 984,
43, 267, 36, 37, 400, 351, -443, 38, 401, 1034,
248, 64, 289, 1000, 288, 290, 248,-32766, 741, 226,
-443, 1034, 404, 405, 406, 442, 291, -443, 371, -446,
376, -251, 409, 410, 26, 1006, 1007, 1008, 1009, 1003,
1004, 245, 977,-32766,-32766,-32766, 419, 1010, 1005, 349,
-488, 226, 549, 278, 65,-32766, 257, -442, 262, 266,
410, 660, 467,-32766, 1073,-32766, 1048, 1072,-32766,-32766,
-32766, -442,-32766,-32766,-32766, 1078,-32766, 1034, -442,-32766,
-445, 67, 1014,-32766,-32766,-32766, 266,-32766,-32766,-32766,
-479, 123,-32766, 660, -172,-32766, 418,-32766, 266, 531,
-32766,-32766,-32766,-32766,-32766,-32766,-32766, 223,-32766, 560,
977,-32766, 818, 819, -173,-32766,-32766,-32766, 818, 819,
-32766,-32766, -227, 561,-32766, 27, 224,-32766, 418,-32766,
-32766, 122, -441,-32766, -232,-32766, 824, 40, 124, 227,
-88, 791, 265,-32766, 984, 1052,-32766,-32766,-32766, 660,
94, 95, 96,-32766, 266, 364,-32766,-32766,-32766, 42,
-32766, 553,-32766, 122,-32766,-32766,-32766,-32766,-32766,-32766,
-32766,-32766,-32766,-32766,-32766,-32766,-32766,-32766, 363, 532,
-32766, 660, 554,-32766, 418,-32766, -477, 9,-32766,-32766,
-32766,-32766,-32766, -441,-32766, -488,-32766, -488, 249,-32766,
248, 660, 121,-32766,-32766,-32766,-32766, -441,-32766,-32766,
359, 555,-32766, 551, -441,-32766, 418, 517, 518, 115,
250,-32766, 1034,-32766,-32767,-32767,-32767,-32767, 92, 93,
94, 95, 96, 23, 308, -479, 504, 20, 344, -172,
225, 117, 741, 126,-32766, 533, -441, 564, 349,-32766,
660, 133, 847,-32766,-32766, 977, 120,-32766,-32766,-32766,
792,-32766, 119,-32766, 114,-32766, 345, 419,-32766, 113,
349, 130,-32766,-32766,-32766, 132,-32766,-32766,-32766, 738,
741,-32766, 660, 241,-32766, 418,-32766, 244,-32766,-32766,
-32766,-32766,-32766,-32766, 128,-32766, 753,-32766, 527, 266,
-32766, 741, 818, 819,-32766,-32766,-32766, -441, 100,-32766,
-32766, 129, 313,-32766, 680, 681,-32766, 418, 41,-32766,
660, -441,-32766, 453,-32766, 660, 321,-32766, -441,-32766,
777, -477,-32766,-32766,-32766, 1083,-32766, 261,-32766, 441,
-32766, 385, 8,-32766, 437, 24, 360,-32766,-32766,-32766,
497, 498,-32766,-32766,-32766, 501,-32766, 1034,-32766,-32766,
418, 1000, 818, 819, 660, 846, 575,-32766,-32766, 358,
-4,-32766,-32766,-32766, 301,-32766, 1076,-32766, 661,-32766,
455, 696,-32766, 858, 565, 513,-32766,-32766,-32766, 440,
977,-32766,-32766, 973, 446,-32766, 505,-32766,-32766, 418,
-133, -133, -133,-32766,-32766,-32766,-32766, 409, 410, 451,
542, 528, 509, 521, 510, -133, 12, -133, -80, -133,
216, -133, 495,-32766, 458,-32766,-32766,-32766,-32766, 67,
348, 356, 259, 258, 266, 1016,-32766,-32766,-32766,-32766,
260, 402, 403, 869, 870, 871, 868, 867, 866, 861,
715, 760, 407, 408, 977, 761, 762,-32766, 11,-32766,
-32766,-32766,-32766,-32766,-32766,-32767,-32767,-32767,-32767,-32767,
264, 229, 348, 337, 1013, 852, 741, 17, -133, 256,
-212, -212, -212, 402, 403, -400, 348, 5, 307, 775,
758, 21, 672, 760, 407, 408, 329, 402, 403, -211,
-211, -211, 448, 24, 326, 348, 715, 760, 407, 408,
341, 340, 318, 276, 325, 1034, 402, 403, 741, 1000,
-4,-32766,-32766,-32766, 359, 715, 760, 407, 408, 755,
552, 33, 741, 573, -212, 574, 720, 842, 794, 778,
32,-32766, 851,-32766,-32766, 854, 853, 850, 977, 773,
785, 741, 718, -211, 786, 843, 741, 252, 334, 550,
557, 558, 559, 562, 272, 409, 410, 273, 571, 570,
568, 566, 563, 335, 0, 757, 965, 783, 859, 0,
746, 964, 963, 756, 748, 683, 0, 67, 1079, 682,
685, 784, 266, 567, 716, 1080, 675, 674, 684, 759,
1049, 1046, 1041, 1077, 1035, 1028, 0, -444, -467, -446,
-445, 22, 25, 31, 35, 39, 66, 338, 336, 275,
240, 239, 238, 237, 220, 219, 134, 131, 125, 72,
71, 70, 69, 68, -469, 0, 310, 475, 941, 491,
541, 944, 13, 969, 825, 998, 940, 988, -230, -88,
538, 390, 383, 380, 377, 311, 18, 16, 15, 14,
-227, -228, 0, 957, -412, 0, 503, 0, 1040, 1075,
1026, 1027, 997, 0, 1015
);
protected $actionCheck = array(
2, 3, 4, 5, 6, 0, 8, 9, 10, 11,
2, 3, 4, 5, 6, 1, 8, 9, 10, 11,
12, 48, 15, 16, 17, 18, 19, 20, 21, 22,
23, 24, 25, 26, 27, 8, 9, 10, 50, 51,
52, 7, 54, 7, 79, 8, 9, 10, 7, 7,
77, 77, 79, 80, 66, 28, 7, 30, 31, 32,
33, 34, 54, 56, 57, 28, 8, 30, 31, 32,
33, 34, 35, 7, 109, 1, 68, 69, 70, 71,
52, 0, 54, 7, 79, 8, 9, 10, 8, 7,
77, 77, 79, 80, 66, 28, 1, 30, 31, 32,
33, 34, 54, 56, 57, 28, 13, 30, 31, 32,
33, 34, 35, 79, 109, 7, 68, 69, 70, 71,
72, 73, 74, 118, 7, 77, 112, 113, 114, 115,
116, 117, 84, 85, 86, 87, 88, 89, 90, 91,
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
122, 123, 124, 125, 126, 127, 13, 129, 130, 131,
132, 133, 134, 135, 136, 137, 2, 3, 4, 5,
6, 143, 144, 145, 35, 11, 12, 1, 14, 41,
42, 43, 44, 45, 46, 47, 48, 49, 109, 82,
67, 112, 113, 114, 115, 116, 117, 118, 8, 9,
10, 79, 79, 79, 82, 1, 83, 7, 67, 28,
7, 47, 48, 152, 152, 154, 154, 53, 28, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
67, 67, 68, 69, 70, 112, 8, 9, 10, 75,
76, 77, 148, 79, 13, 7, 139, 83, 8, 9,
10, 1, 129, 130, 28, 79, 28, 28, 30, 31,
32, 33, 140, 141, 29, 7, 102, 7, 28, 128,
30, 31, 32, 1, 151, 7, 112, 13, 7, 156,
156, 77, 7, 142, 120, 121, 147, 7, 112, 7,
149, 152, 151, 129, 130, 152, 132, 133, 134, 135,
136, 137, 138, 7, 67, 67, 67, 143, 144, 145,
146, 130, 131, 150, 1, 151, 7, 153, 7, 155,
156, 71, 72, 73, 74, 0, 1, 77, 77, 35,
67, 81, 156, 152, 84, 85, 86, 87, 88, 89,
90, 91, 92, 93, 15, 95, 96, 97, 98, 99,
100, 101, 102, 149, 104, 105, 130, 131, 108, 130,
131, 111, 112, 113, 114, 128, 128, 128, 7, 119,
67, 67, 122, 123, 124, 125, 7, 67, 152, 142,
142, 8, 9, 10, 149, 7, 149, 149, 151, 79,
152, 128, 79, 83, 143, 7, 71, 146, 148, 149,
150, 28, 77, 30, 31, 142, 81, 102, 103, 84,
85, 86, 149, 88, 33, 90, 146, 92, 29, 149,
95, 149, 112, 152, 99, 100, 101, 102, 103, 104,
105, 128, 128, 108, 109, 1, 111, 112, 113, 114,
130, 147, 15, 77, 119, 1, 142, 122, 123, 124,
125, 146, 149, 149, 8, 9, 8, 9, 10, 29,
79, 151, 149, 29, 72, 73, 156, 29, 143, 156,
8, 9, 10, 148, 149, 150, 28, 35, 30, 31,
122, 123, 124, 125, 126, 127, 7, 129, 130, 131,
132, 133, 134, 135, 136, 137, 8, 9, 10, 29,
156, 143, 144, 145, 1, 2, 3, 4, 5, 6,
29, 102, 103, 149, 11, 12, 28, 14, 30, 31,
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
52, 15, 54, 15, 1, 71, 47, 48, 49, 143,
15, 77, 146, 152, 66, 81, 150, 15, 84, 85,
86, 152, 88, 79, 90, 15, 92, 72, 73, 95,
152, 15, 29, 99, 100, 101, 1, 148, 104, 105,
152, 29, 108, 102, 103, 111, 112, 8, 9, 10,
97, 98, 13, 119, 102, 103, 112, 106, 107, 130,
131, 148, 149, 29, 29, 148, 149, 123, 35, 29,
29, 35, 35, 54, 71, 66, 77, 77, 67, 74,
77, 77, 148, 149, 81, 77, 79, 84, 85, 86,
77, 88, 77, 90, 77, 92, 78, 77, 95, 77,
156, 77, 99, 100, 101, 1, 71, 104, 105, 77,
79, 108, 77, 86, 111, 112, 81, 79, 89, 84,
85, 86, 119, 88, 79, 90, 80, 92, 102, 82,
95, 82, 109, 29, 99, 100, 101, 1, 87, 104,
105, 91, 94, 108, 123, 93, 111, 112, 94, 94,
94, 148, 149, 96, 119, 96, 112, 127, 152, -1,
146, -1, -1, 110, 139, 29, 123, 139, 126, -1,
-1, -1, -1, -1, -1, 71, -1, -1, -1, -1,
-1, 77, -1, 148, 149, 81, 35, 126, 84, 85,
86, -1, 88, -1, 90, -1, 92, -1, -1, 95,
142, -1, 142, 99, 100, 101, 1, 71, 104, 105,
142, 142, 108, 77, 147, 111, 112, 81, 67, 146,
84, 85, 86, 119, 88, 146, 90, 146, 92, 146,
79, 95, 146, 146, 83, 99, 100, 101, 146, 148,
104, 105, 148, 148, 108, 148, 148, 111, 112, 148,
148, 148, 148, 149, 148, 119, 148, 148, 148, 148,
148, 148, 148, 112, 148, 148, 148, 152, 149, 149,
149, 149, 149, 149, 149, 149, 71, 149, 149, 149,
129, 130, 77, 149, 148, 149, 81, 149, 149, 84,
85, 86, 149, 88, 150, 90, 150, 92, 150, 150,
95, 151, 151, 150, 99, 100, 101, 156, 150, 104,
105, 150, 150, 108, 150, 150, 111, 112, 8, 9,
10, 150, 150, 150, 119, 150, 150, 150, 150, 150,
150, 150, 150, 150, 150, 150, 150, 150, 28, 150,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
40, 150, 152, 148, 149, 151, 153, 151, 151, 151,
52, 13, 54, 1, 152, 67, 154, 8, 9, 10,
47, 48, 13, 148, 66, 146, 53, 7, 55, 56,
57, 58, 59, 60, 61, 62, 63, 64, 65, 7,
67, 68, 69, 70, 71, 8, 9, 10, 75, 76,
77, 7, 79, 13, 81, 1, 83, 84, 85, 86,
1, 88, 67, 90, 7, 92, 67, 67, 95, 1,
7, 67, 99, 100, 101, 102, 128, 104, 105, 79,
28, 108, 7, 83, 111, 112, 28, 1, 148, 35,
142, 79, 119, 120, 121, 82, 7, 149, 7, 151,
149, 152, 129, 130, 7, 132, 133, 134, 135, 136,
137, 138, 112, 8, 9, 10, 143, 144, 145, 146,
7, 35, 149, 33, 151, 71, 153, 128, 155, 156,
130, 77, 128, 28, 79, 81, 77, 82, 84, 85,
86, 142, 88, 1, 90, 150, 92, 79, 149, 95,
151, 151, 139, 99, 100, 101, 156, 71, 104, 105,
7, 149, 108, 77, 7, 111, 112, 81, 156, 79,
84, 85, 86, 119, 88, 1, 90, 35, 92, 29,
112, 95, 130, 131, 152, 99, 100, 101, 130, 131,
104, 105, 152, 29, 108, 140, 141, 111, 112, 8,
9, 147, 67, 149, 152, 119, 152, 67, 149, 35,
152, 29, 7, 71, 1, 152, 8, 9, 10, 77,
47, 48, 49, 81, 156, 7, 84, 85, 86, 67,
88, 29, 90, 147, 92, 149, 28, 95, 30, 31,
32, 99, 100, 101, 1, 71, 104, 105, 7, 77,
108, 77, 29, 111, 112, 81, 7, 7, 84, 85,
86, 119, 88, 128, 90, 152, 92, 154, 128, 95,
28, 77, 29, 99, 100, 101, 1, 142, 104, 105,
146, 29, 108, 149, 149, 111, 112, 72, 73, 149,
128, 149, 79, 119, 41, 42, 43, 44, 45, 46,
47, 48, 49, 7, 142, 152, 72, 73, 7, 152,
35, 149, 148, 15, 71, 143, 67, 29, 146, 1,
77, 15, 150, 149, 81, 112, 15, 84, 85, 86,
148, 88, 15, 90, 15, 92, 123, 143, 95, 15,
146, 15, 99, 100, 101, 15, 71, 104, 105, 29,
148, 108, 77, 54, 111, 112, 81, 29, 1, 84,
85, 86, 119, 88, 29, 90, 35, 92, 74, 156,
95, 148, 130, 131, 99, 100, 101, 128, 66, 104,
105, 97, 98, 108, 102, 103, 111, 112, 67, 71,
77, 142, 149, 77, 119, 77, 78, 82, 149, 81,
148, 152, 84, 85, 86, 80, 88, 110, 90, 77,
92, 102, 103, 95, 77, 67, 77, 99, 100, 101,
106, 107, 104, 105, 149, 79, 108, 79, 71, 111,
112, 83, 130, 131, 77, 148, 149, 119, 81, 77,
0, 84, 85, 86, 77, 88, 77, 90, 77, 92,
77, 77, 95, 148, 149, 79, 99, 100, 101, 79,
112, 104, 105, 79, 82, 108, 87, 149, 111, 112,
72, 73, 74, 8, 9, 10, 119, 129, 130, 86,
89, 91, 93, 96, 96, 87, 94, 89, 94, 91,
94, 93, 109, 28, 94, 30, 31, 32, 33, 151,
102, 102, 127, 126, 156, 139, 149, 8, 9, 10,
109, 113, 114, 112, 113, 114, 115, 116, 117, 118,
122, 123, 124, 125, 112, 123, 123, 28, 142, 30,
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
126, 35, 102, 103, 139, 148, 148, 152, 150, 109,
96, 97, 98, 113, 114, 142, 102, 142, 142, 148,
150, 152, 122, 123, 124, 125, 146, 113, 114, 96,
97, 98, 146, 67, 146, 102, 122, 123, 124, 125,
146, 146, 146, 143, 146, 79, 113, 114, 148, 83,
150, 8, 9, 10, 146, 122, 123, 124, 125, 147,
149, 148, 148, 148, 150, 148, 148, 148, 148, 148,
148, 28, 148, 30, 31, 148, 148, 148, 112, 148,
148, 148, 148, 150, 148, 148, 148, 152, 149, 149,
149, 149, 149, 149, 149, 129, 130, 149, 149, 149,
149, 149, 149, 149, -1, 150, 150, 150, 150, -1,
150, 150, 150, 150, 150, 150, -1, 151, 150, 150,
150, 150, 156, 150, 150, 150, 150, 150, 150, 150,
150, 150, 150, 150, 150, 150, -1, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, 151, 151, 151, 151, 151, 151, 151,
151, 151, 151, -1, 152, 152, 152, 152, 152, 152,
151, 151, 151, 151, 151, -1, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
-1, 153, -1, 154, 154, 154, 154, 154, 154, -1,
155
152, 152, -1, 153, 153, -1, 154, -1, 154, 154,
154, 154, 154, -1, 155
);
protected $actionBase = array(
0, 220, 295, 283, 336, 572, -2, -2, -2, -2,
-36, 505, 473, 606, 473, 574, 404, 675, 675, 675,
109, 264, 506, 506, 506, 488, 504, 503, 507, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 64, 64, 359, 201, 670, 708, 703,
476, 709, 524, 702, 704, 234, 671, 659, 408, 657,
656, 655, 654, 705, 730, 585, 706, 418, 418, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 48, 509, 416, 432, 432, 432, 432,
432, 432, 432, 432, 432, 432, 432, 432, 432, 432,
432, 432, 432, 432, 432, 160, 160, 160, 343, 210,
208, 198, 17, 233, 27, 780, 780, 780, 780, 780,
108, 108, 108, 108, 621, 621, 93, 280, 280, 280,
280, 280, 280, 280, 280, 280, 280, 280, 614, 616,
618, 619, 414, 429, 429, 196, 196, 196, 196, 146,
151, -45, 199, 77, 498, 735, 399, 174, 174, 111,
207, -22, -22, -22, 275, 517, 514, 514, 514, 514,
92, 92, 514, 514, 242, -37, 233, 233, 274, 233,
422, 422, 422, 221, 240, 519, 221, 591, 529, 653,
527, 649, 273, 31, 32, 484, 94, 543, 496, 94,
421, 362, 425, 717, 64, 539, 64, 64, 64, 64,
64, 64, 64, 64, 64, 94, 94, 64, 205, 64,
387, 359, 383, 489, 502, 209, 595, 339, 241, 133,
489, 489, 489, 596, 598, 331, 113, 590, 348, 411,
358, 351, 469, 469, 412, 478, 494, 469, 469, 469,
469, 508, 469, 678, 678, 682, 412, 469, 678, 412,
266, 24, 173, 67, 412, 281, 531, 469, 512, 512,
279, 478, 515, 230, 250, 500, 678, 678, 500, 494,
56, 412, 26, 565, 567, 493, 537, 39, 400, 400,
238, 493, 228, 412, 400, 508, 245, 170, 400, 5,
683, 700, 482, 699, 680, 698, 684, 697, 487, 589,
491, 513, 692, 691, 696, 470, 485, 681, 679, 562,
483, 456, 465, 528, 481, 620, 496, 557, 479, 479,
479, 481, 676, 479, 479, 479, 479, 479, 479, 479,
479, 729, 252, 538, 497, 486, 553, 525, 458, 608,
495, 562, 562, 651, 728, 673, 474, 690, 714, 695,
576, 472, 722, 689, 650, 556, 490, 551, 688, 721,
713, 604, 456, 712, 652, 492, 562, 648, 479, 674,
701, 734, 733, 677, 732, 720, 549, 516, 731, 647,
711, 600, 599, 564, 725, 707, 719, 646, 718, 568,
521, 727, 522, 685, 501, 686, 592, 645, 643, 299,
571, 642, 694, 573, 724, 723, 726, 583, 588, 593,
594, 480, 641, 397, 587, 693, 511, 475, 520, 586,
477, 710, 635, 613, 687, 584, 561, 634, 632, 715,
518, 557, 530, 523, 526, 499, 609, 631, 716, 510,
582, 581, 580, 579, 628, 578, 623, 0, 0, 0,
0, 568, 610, 624, 643, 182, 342, 567, -2, -2,
-2, -2, -36, 393, 110, 334, 110, 372, 422, 648,
648, 648, 224, 256, 312, 312, 312, 488, 413, 445,
344, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 527, 527, 527, 527, 527,
527, 527, 527, 527, 527, 45, 45, 352, 43, 645,
729, 725, 565, 730, 566, 724, 726, 168, 693, 694,
505, 695, 692, 691, 690, 727, 752, 579, 728, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 30, 179, 361, 207, 207,
207, 207, 207, 207, 207, 207, 207, 207, 207, 207,
207, 207, 207, 207, 207, 207, 207, 275, 275, 275,
753, 378, 419, 635, 17, 305, 27, 669, 669, 669,
669, 669, 423, 423, 423, 423, 676, 676, 518, 170,
170, 170, 170, 170, 170, 170, 170, 170, 170, 170,
689, 580, 665, 666, 383, 343, 343, 222, 222, 222,
222, 238, 228, -45, 412, 183, 536, 759, 472, 229,
229, 118, 169, -22, -22, -22, 49, 552, 582, 582,
582, 582, 225, 225, 582, 582, 4, -37, 305, 305,
332, 305, 452, 452, 452, 364, 304, 485, 364, 621,
558, 667, 557, 681, 310, 283, 32, 605, -16, 604,
569, -16, 484, 404, 385, 737, 45, 583, 45, 45,
45, 45, 45, 45, 45, 45, 45, -16, -16, 45,
121, 45, 457, 352, 475, 469, 543, 174, 655, 327,
233, 165, 469, 469, 469, 658, 649, 119, 210, 664,
202, 479, 323, 260, 483, 483, 501, 507, 486, 483,
483, 483, 483, 516, 483, 700, 700, 704, 501, 483,
700, 501, 227, 411, 245, 259, 501, 388, 547, 483,
584, 584, 261, 507, 550, 214, 466, 545, 700, 700,
545, 486, 190, 501, 375, 625, 627, 553, 622, 67,
498, 498, 471, 553, 26, 501, 498, 516, 420, 58,
498, 31, 705, 722, 490, 721, 702, 720, 706, 719,
537, 650, 572, 573, 714, 713, 718, 502, 532, 703,
701, 596, 509, 494, 489, 585, 491, 696, 569, 618,
482, 482, 482, 491, 698, 482, 482, 482, 482, 482,
482, 482, 482, 758, 267, 586, 563, 487, 606, 570,
481, 662, 575, 596, 596, 684, 751, 750, 541, 712,
735, 717, 632, 468, 744, 711, 683, 608, 544, 598,
710, 743, 734, 661, 494, 733, 685, 539, 596, 686,
482, 697, 723, 756, 757, 699, 754, 742, 590, 495,
755, 687, 732, 660, 659, 623, 747, 736, 741, 688,
740, 628, 549, 749, 559, 707, 546, 708, 651, 680,
679, 496, 629, 678, 716, 630, 746, 745, 748, 631,
642, 652, 653, 500, 675, 476, 647, 715, 320, 464,
560, 646, 554, 731, 674, 654, 709, 644, 581, 673,
672, 738, 564, 618, 556, 467, 562, 561, 663, 671,
739, 458, 641, 639, 638, 637, 670, 634, 668, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 134, 134, -2,
-2, -2, 0, 0, 0, 0, -2, 134, 134, 134,
134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
134, 134, 134, 134, 134, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 143,
143, 143, 143, -2, -2, -2, 0, 0, 0, 0,
-2, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143, 143, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 128, 128, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
128, 128, 128, 128, 128, 128, 128, 128, 128, 128,
-3, 128, 128, -3, 128, 128, 128, 128, 128, 128,
-22, -22, -22, -22, 364, 364, 364, 364, 364, 364,
364, 364, 364, 364, 364, 364, 364, 364, 571, 571,
571, 571, 364, -22, -22, 364, 364, 364, 364, 364,
364, 571, 364, 225, 225, 225, 364, -16, -16, 0,
0, 0, 0, 0, 483, 225, 364, 364, 364, 364,
0, 0, 364, 364, -16, 0, 0, 0, 0, 0,
483, 483, 483, 0, 483, 225, 0, 45, 454, 454,
454, 454, 0, 0, 0, 483, 0, 483, 550, 0,
0, 0, 0, 501, 0, 700, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 418, 418, 418, 418, 418, 418, 418,
418, 418, 418, 418, 418, 418, -3, 418, 418, -3,
418, 418, 418, 418, 418, 418, -22, -22, -22, -22,
221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
221, 221, 221, 221, 49, 49, 49, 49, 221, -22,
-22, 221, 221, 221, 221, 221, 221, 49, 221, 92,
92, 92, 221, 94, 94, 0, 0, 0, 0, 0,
469, 92, 221, 221, 221, 221, 0, 0, 221, 221,
94, 0, 0, 0, 0, 0, 469, 469, 469, 0,
469, 92, 0, 64, 423, 423, 423, 423, 0, 0,
0, 469, 0, 469, 515, 0, 0, 0, 0, 412,
0, 678, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 479,
690, 0, 474, 0, 0, 0, 479, 479, 479, 474,
474, 0, 0, 474
0, 0, 0, 482, 712, 0, 541, 0, 0, 0,
482, 482, 482, 541, 541, 0, 0, 541
);
protected $actionDefault = array(
3,32767,32767,32767,32767,32767,32767, 88,32767,32767,
3,32767,32767,32767,32767,32767,32767,32767,32767, 88,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767, 88, 489, 489, 489,32767,32767,32767,32767, 302,
302, 302,32767, 481, 439, 439, 439, 439, 439, 439,
439, 481,32767,32767,32767,32767,32767, 381,32767,32767,
32767,32767,32767, 88, 489, 489, 489,32767,32767,32767,
32767, 302, 302, 302,32767, 481, 439, 439, 439, 439,
439, 439, 439, 481,32767,32767,32767,32767,32767, 381,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767, 88,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767, 88,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767, 486,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767, 486,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767, 364, 365, 367,
368, 301, 440, 250, 485, 300, 126, 261, 252, 204,
298, 236, 130, 329, 382, 331, 380, 384, 330, 307,
311, 312, 313, 314, 315, 316, 317, 318, 319, 320,
321, 322, 305, 306, 383, 361, 360, 359, 327, 328,
304, 332, 334, 304, 333, 350, 351, 348, 349, 352,
353, 354, 355, 356,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767, 88,32767, 284, 284,
284, 284,32767, 341, 342, 242, 242, 242, 242,32767,
242, 285,32767,32767,32767,32767,32767,32767,32767, 433,
358, 336, 337, 335,32767, 411,32767,32767,32767,32767,
32767, 413,32767, 88,32767,32767, 324, 326, 405, 308,
32767,32767, 90,32767,32767,32767,32767,32767,32767,32767,
32767,32767, 408, 441, 441,32767,32767, 88, 399, 88,
169, 223, 225, 174,32767, 416,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767, 364,
365, 367, 368, 301, 440, 250, 485, 300, 126, 261,
252, 204, 298, 236, 130, 329, 382, 331, 380, 384,
330, 307, 311, 312, 313, 314, 315, 316, 317, 318,
319, 320, 321, 322, 305, 306, 383, 361, 360, 359,
327, 328, 304, 332, 334, 304, 333, 350, 351, 348,
349, 352, 353, 354, 355, 356,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767, 88,32767,
284, 284, 284, 284,32767, 341, 342, 242, 242, 242,
242,32767, 242, 285,32767,32767,32767,32767,32767,32767,
32767, 433, 358, 336, 337, 335,32767, 411,32767,32767,
32767,32767,32767, 413,32767, 88,32767,32767, 324, 326,
405, 308,32767,32767, 90,32767,32767,32767,32767,32767,
32767,32767,32767,32767, 408, 441, 441,32767,32767, 88,
399, 88, 169, 223, 225, 174,32767, 416,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767, 346,32767, 496,32767, 441,32767,32767,
338, 339, 340,32767,32767, 441, 441,32767, 441,32767,
441,32767,32767,32767, 174,32767,32767,32767,32767,32767,
32767,32767, 90, 414, 414, 409, 174,32767,32767, 174,
87, 87, 87, 87, 174, 87, 187,32767, 185, 185,
87, 88, 88, 87, 87, 189,32767, 455, 189, 88,
87, 174, 87, 209, 209, 390, 176, 89, 244, 244,
89, 390, 87, 174, 244, 88, 87, 87, 244,32767,
32767,32767, 82,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767, 401,
32767,32767, 421,32767, 434, 453, 399,32767, 344, 345,
347,32767, 443, 369, 370, 371, 372, 373, 374, 375,
377,32767, 482, 404,32767,32767, 84, 117, 260,32767,
494, 84, 402,32767, 494,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767, 84,32767, 84,32767,32767,
32767,32767, 478,32767, 441,32767, 403,32767, 343, 417,
460,32767,32767, 442,32767,32767, 84,32767,32767,32767,
32767,32767,32767,32767,32767, 421,32767,32767,32767,32767,
32767, 441,32767,32767,32767,32767,32767,32767,32767, 297,
32767,32767,32767,32767,32767,32767, 441,32767,32767,32767,
32767, 235,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767, 346,32767, 496,32767, 441,
32767,32767, 338, 339, 340,32767,32767, 441, 441,32767,
441,32767, 441,32767,32767,32767, 174,32767,32767,32767,
32767,32767,32767,32767, 90, 414, 414, 409, 174,32767,
32767, 174, 87, 87, 87, 87, 174, 87, 187,32767,
185, 185, 87, 88, 88, 87, 87, 189,32767, 455,
189, 88, 87, 174, 87, 209, 209, 390, 176, 89,
244, 244, 89, 390, 87, 174, 244, 88, 87, 87,
244,32767,32767,32767, 82,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
82, 60,32767, 278,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767, 132, 132, 3,
3, 132, 132, 132, 132, 132, 132, 132, 132, 132,
32767, 401,32767,32767, 421,32767, 434, 453, 399,32767,
344, 345, 347,32767, 443, 369, 370, 371, 372, 373,
374, 375, 377,32767, 482, 404,32767,32767, 84, 117,
260,32767, 494, 84, 402,32767, 494,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767, 84,32767, 84,
32767,32767,32767,32767, 478,32767, 441,32767, 403,32767,
343, 417, 460,32767,32767, 442,32767,32767, 84,32767,
32767,32767,32767,32767,32767,32767,32767, 421,32767,32767,
32767,32767,32767, 441,32767,32767,32767,32767,32767,32767,
32767, 297,32767,32767,32767,32767,32767,32767, 441,32767,
32767,32767,32767, 235,32767,32767,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767,32767,
32767,32767, 82, 60,32767, 278,32767,32767,32767,32767,
32767,32767,32767,32767,32767,32767,32767,32767,32767, 132,
132, 3, 3, 132, 132, 132, 132, 132, 132, 132,
132, 132, 132, 132, 132, 132, 263, 164, 263, 217,
263, 263, 220, 209, 209, 270
263, 263, 220, 209, 209, 270, 132, 132
);
protected $goto = array(
163, 163, 136, 136, 136, 146, 148, 179, 164, 161,
161, 161, 161, 145, 162, 162, 162, 162, 162, 162,
162, 145, 157, 158, 159, 160, 176, 174, 177, 418,
419, 313, 420, 423, 424, 425, 426, 427, 428, 429,
430, 886, 134, 137, 138, 139, 140, 141, 142, 143,
144, 147, 173, 175, 178, 195, 198, 199, 201, 202,
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
233, 234, 251, 252, 253, 320, 321, 322, 468, 180,
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
191, 192, 193, 149, 194, 150, 165, 166, 167, 196,
168, 151, 152, 153, 169, 154, 197, 135, 170, 155,
171, 172, 156, 532, 200, 436, 734, 704, 469, 855,
545, 279, 200, 524, 853, 470, 710, 667, 5, 462,
669, 441, 441, 441, 261, 441, 791, 462, 770, 245,
569, 668, 434, 800, 795, 543, 457, 454, 441, 774,
572, 490, 492, 518, 522, 788, 527, 528, 802, 535,
787, 537, 544, 798, 546, 422, 422, 422, 422, 422,
422, 422, 422, 422, 422, 422, 422, 422, 422, 421,
421, 421, 421, 421, 421, 421, 421, 421, 421, 421,
421, 421, 421, 441, 441, 486, 488, 538, 455, 476,
441, 441, 972, 441, 229, 731, 230, 231, 442, 298,
301, 448, 471, 472, 474, 766, 310, 541, 466, 485,
485, 997, 997, 997, 997, 997, 997, 997, 997, 997,
997, 997, 997, 699, 687, 829, 433, 833, 463, 695,
1066, 1066, 777, 433, 825, 747, 480, 483, 504, 1059,
314, 296, 807, 447, 767, 973, 505, 1066, 458, 671,
768, 768, 768, 768, 870, 1051, 762, 769, 703, 968,
695, 1069, 695, 974, 1028, 376, 676, 460, 726, 721,
722, 735, 677, 723, 674, 724, 725, 8, 933, 675,
810, 729, 1067, 1067, 821, 326, 506, 330, 317, 317,
266, 267, 283, 464, 269, 325, 284, 328, 491, 1067,
805, 805, 1056, 467, 479, 814, 1040, 686, 686, 285,
280, 281, 696, 696, 696, 698, 510, 685, 497, 277,
691, 523, 307, 688, 830, 312, 556, 969, 964, 512,
368, 976, 482, 684, 815, 815, 815, 815, 976, 815,
700, 815, 834, 779, 1037, 815, 384, 872, 0, 863,
0, 1037, 0, 0, 0, 976, 976, 976, 976, 1048,
1048, 976, 976, 0, 0, 0, 0, 0, 0, 0,
0, 0, 742, 0, 0, 743, 1034, 0, 0, 0,
165, 165, 138, 138, 138, 148, 150, 181, 166, 163,
163, 163, 163, 147, 164, 164, 164, 164, 164, 164,
164, 147, 159, 160, 161, 162, 178, 176, 179, 420,
421, 315, 422, 425, 426, 427, 428, 429, 430, 431,
432, 888, 136, 139, 140, 141, 142, 143, 144, 145,
146, 149, 175, 177, 180, 197, 200, 201, 203, 204,
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
235, 236, 253, 254, 255, 322, 323, 324, 470, 182,
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
193, 194, 195, 151, 196, 152, 167, 168, 169, 198,
170, 153, 154, 155, 171, 156, 199, 137, 172, 157,
173, 174, 158, 534, 202, 438, 736, 281, 471, 857,
547, 7, 202, 526, 855, 472, 669, 231, 464, 232,
233, 443, 443, 443, 671, 443, 464, 793, 774, 772,
774, 569, 670, 436, 802, 797, 459, 456, 443, 545,
572, 492, 494, 520, 524, 529, 530, 804, 537, 539,
546, 800, 548, 424, 424, 424, 424, 424, 424, 424,
424, 424, 424, 424, 424, 424, 424, 423, 423, 423,
423, 423, 423, 423, 423, 423, 423, 423, 423, 423,
423, 485, 506, 443, 443, 488, 490, 540, 457, 478,
443, 443, 974, 443, 768, 312, 543, 706, 444, 300,
303, 450, 473, 474, 476, 469, 481, 733, 468, 487,
487, 999, 999, 999, 999, 999, 999, 999, 999, 999,
999, 999, 999, 701, 689, 831, 435, 835, 776, 697,
1068, 1068, 779, 435, 263, 749, 482, 3, 4, 247,
316, 827, 809, 449, 769, 975, 465, 1068, 460, 673,
770, 770, 770, 770, 872, 1061, 764, 771, 705, 970,
697, 1071, 697, 976, 1030, 378, 678, 298, 728, 723,
724, 737, 679, 725, 676, 726, 727, 10, 1053, 677,
507, 731, 462, 935, 823, 328, 508, 332, 319, 319,
268, 269, 285, 466, 271, 327, 286, 330, 493, 807,
807, 1058, 1069, 1069, 282, 283, 812, 688, 688, 816,
1042, 512, 698, 698, 698, 700, 525, 687, 499, 1069,
314, 287, 693, 279, 309, 690, 832, 576, 966, 514,
370, 978, 971, 484, 817, 817, 817, 817, 978, 817,
836, 817, 865, 702, 1039, 817, 781, 686, 874, 386,
0, 1039, 0, 0, 0, 978, 978, 978, 978, 1050,
1050, 978, 978, 0, 0, 0, 0, 0, 0, 0,
0, 0, 744, 0, 0, 745, 1036, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 832, 0,
0, 832, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 1041, 1042
0, 0, 0, 0, 0, 0, 0, 0, 834, 0,
0, 834, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 1043, 1044
);
protected $gotoCheck = array(
@ -631,31 +635,31 @@ class Php7 extends \PhpParser\ParserAbstract
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
30, 30, 30, 60, 53, 8, 10, 33, 7, 7,
7, 76, 53, 7, 7, 93, 13, 13, 106, 81,
15, 8, 8, 8, 128, 8, 13, 81, 13, 128,
13, 14, 13, 13, 13, 5, 8, 36, 8, 37,
30, 30, 30, 60, 53, 8, 10, 76, 7, 7,
7, 106, 53, 7, 7, 93, 13, 69, 81, 69,
69, 8, 8, 8, 15, 8, 81, 13, 13, 13,
13, 13, 14, 13, 13, 13, 8, 36, 8, 5,
36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
36, 36, 36, 36, 36, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 131, 131, 129,
36, 36, 36, 131, 131, 131, 131, 131, 131, 131,
131, 131, 131, 131, 131, 131, 131, 129, 129, 129,
129, 129, 129, 129, 129, 129, 129, 129, 129, 129,
129, 129, 129, 8, 8, 64, 64, 64, 8, 8,
8, 8, 88, 8, 69, 52, 69, 69, 8, 46,
46, 46, 46, 46, 46, 72, 72, 72, 8, 82,
129, 43, 43, 8, 8, 64, 64, 64, 8, 8,
8, 8, 88, 8, 72, 72, 72, 33, 8, 46,
46, 46, 46, 46, 46, 2, 2, 52, 8, 82,
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
82, 82, 82, 11, 11, 11, 71, 11, 130, 23,
139, 139, 11, 71, 90, 11, 11, 43, 43, 138,
62, 49, 11, 62, 11, 88, 51, 139, 62, 10,
71, 71, 71, 71, 11, 136, 71, 71, 11, 11,
23, 139, 23, 88, 88, 62, 10, 50, 10, 10,
10, 10, 10, 10, 10, 10, 10, 62, 112, 10,
84, 10, 140, 140, 86, 53, 53, 53, 53, 53,
53, 53, 53, 53, 53, 53, 53, 53, 53, 140,
81, 81, 81, 2, 2, 87, 133, 23, 23, 17,
76, 76, 23, 23, 23, 23, 65, 23, 21, 9,
27, 65, 16, 25, 92, 65, 78, 121, 118, 20,
67, 60, 68, 12, 60, 60, 60, 60, 60, 60,
29, 60, 95, 75, 93, 60, 116, 109, -1, 106,
82, 82, 82, 11, 11, 11, 71, 11, 37, 23,
139, 139, 11, 71, 128, 11, 11, 34, 34, 128,
62, 90, 11, 62, 11, 88, 130, 139, 62, 10,
71, 71, 71, 71, 11, 138, 71, 71, 11, 11,
23, 139, 23, 88, 88, 62, 10, 49, 10, 10,
10, 10, 10, 10, 10, 10, 10, 62, 136, 10,
51, 10, 50, 112, 86, 53, 53, 53, 53, 53,
53, 53, 53, 53, 53, 53, 53, 53, 53, 81,
81, 81, 140, 140, 76, 76, 84, 23, 23, 87,
133, 65, 23, 23, 23, 23, 65, 23, 21, 140,
65, 17, 27, 9, 16, 25, 92, 78, 118, 20,
67, 60, 121, 68, 60, 60, 60, 60, 60, 60,
95, 60, 106, 29, 93, 60, 75, 12, 109, 116,
-1, 93, -1, -1, -1, 60, 60, 60, 60, 93,
93, 60, 60, -1, -1, -1, -1, -1, -1, -1,
-1, -1, 60, -1, -1, 60, 93, -1, -1, -1,
@ -666,39 +670,39 @@ class Php7 extends \PhpParser\ParserAbstract
);
protected $gotoBase = array(
0, 0, -236, 0, 0, 135, 0, 115, -139, 55,
-18, -118, -37, 125, 139, 128, 47, 65, 0, 0,
6, 57, 0, -15, 0, 46, 0, 58, 0, -11,
-20, 0, 0, 110, 0, 0, -401, 133, 0, 0,
0, 0, 0, 217, 0, 0, 174, 0, 0, 219,
59, 41, 191, 81, 0, 0, 0, 0, 0, 0,
109, 0, -96, 0, -41, -53, 0, -19, -26, -364,
0, 4, -42, 0, 0, -16, -253, 0, 25, 0,
0, 96, 5, 0, 50, 0, 52, 69, -93, 0,
223, 0, 45, 122, 0, -10, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 118, 0, 0, -28,
0, 0, 49, 0, 0, 0, -25, 0, -6, 0,
0, 3, 0, 0, 0, 0, 0, 0, -121, -35,
215, -49, 0, 68, 0, 0, 224, 0, 225, -4,
48, 0, 0
0, 0, -336, 0, 0, 137, 0, 113, -141, 57,
-20, -120, -25, 124, 140, 132, 47, 75, 0, 0,
4, 55, 0, -17, 0, 46, 0, 58, 0, -10,
-22, 0, 0, 198, -329, 0, -403, 220, 0, 0,
0, 0, 0, 159, 0, 0, 172, 0, 0, 243,
72, 73, 201, 79, 0, 0, 0, 0, 0, 0,
107, 0, -98, 0, -43, -60, 0, -21, -27, -441,
0, 2, -55, 0, 0, -15, -259, 0, 24, 0,
0, 93, 3, 0, 74, 0, 50, 71, -95, 0,
228, 0, 45, 120, 0, -14, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 109, 0, 0, -29,
0, 0, 52, 0, 0, 0, -24, 0, -8, 0,
0, 6, 0, 0, 0, 0, 0, 0, -13, -39,
231, -53, 0, 70, 0, 0, 245, 0, 239, -6,
66, 0, 0
);
protected $gotoDefault = array(
-32768, 389, 577, 2, 578, 649, 657, 513, 409, 437,
728, 875, 690, 772, 711, 712, 302, 340, 294, 300,
498, 487, 380, 697, 352, 689, 377, 692, 351, 701,
133, 514, 386, 705, 1, 707, 443, 738, 291, 715,
292, 517, 717, 450, 719, 720, 297, 303, 304, 879,
459, 484, 730, 203, 452, 732, 290, 733, 741, 331,
295, 363, 520, 494, 475, 509, 410, 365, 481, 228,
461, 983, 764, 372, 360, 778, 278, 786, 561, 794,
797, 411, 412, 370, 809, 371, 819, 813, 991, 364,
824, 353, 831, 1023, 355, 835, 838, 341, 500, 329,
842, 843, 4, 847, 533, 534, 862, 241, 382, 871,
350, 885, 344, 952, 954, 445, 379, 965, 359, 521,
387, 970, 1027, 348, 413, 366, 268, 282, 244, 414,
431, 249, 415, 367, 1030, 318, 1052, 432, 1060, 1068,
275, 315, 478
-32768, 391, 579, 2, 580, 651, 659, 515, 411, 439,
730, 877, 692, 712, 713, 714, 304, 342, 296, 302,
500, 489, 382, 699, 354, 691, 379, 694, 353, 703,
135, 516, 388, 707, 1, 709, 445, 740, 293, 717,
294, 519, 719, 452, 721, 722, 299, 305, 306, 881,
461, 486, 732, 205, 454, 734, 292, 735, 743, 333,
297, 365, 522, 496, 477, 511, 412, 367, 483, 230,
463, 985, 766, 374, 362, 780, 280, 788, 577, 796,
799, 413, 414, 372, 811, 373, 821, 815, 993, 366,
826, 355, 833, 1025, 357, 837, 840, 343, 502, 331,
844, 845, 6, 849, 535, 536, 864, 243, 384, 873,
352, 887, 346, 954, 956, 447, 381, 967, 361, 523,
389, 972, 1029, 350, 415, 368, 270, 284, 246, 416,
433, 251, 417, 369, 1032, 320, 1054, 434, 1062, 1070,
277, 317, 480
);
protected $ruleToNonTerminal = array(

View File

@ -4,6 +4,8 @@ Switch
switch ($a) {
case 0:
break;
// Comment
case 1;
default:
}
@ -27,6 +29,9 @@ array(
value: 0
)
stmts: array(
0: Stmt_Break(
num: null
)
)
)
1: Stmt_Case(
@ -35,6 +40,9 @@ array(
)
stmts: array(
)
comments: array(
0: // Comment
)
)
2: Stmt_Case(
cond: null

View File

@ -13,6 +13,7 @@ switch ($expr) {
case 4:
echo 'Third case, return instead of break';
return;
// Comment
default:
echo 'Default case';
break;
@ -29,6 +30,7 @@ switch ($expr) {
case 4:
echo 'Third case, return instead of break';
return;
// Comment
default:
echo 'Default case';
break;