ruby_parser 3.20.0 → 3.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.rdoc +6 -0
- data/lib/ruby20_parser.rb +170 -134
- data/lib/ruby20_parser.y +50 -16
- data/lib/ruby21_parser.rb +110 -74
- data/lib/ruby21_parser.y +50 -16
- data/lib/ruby22_parser.rb +238 -202
- data/lib/ruby22_parser.y +50 -16
- data/lib/ruby23_parser.rb +383 -347
- data/lib/ruby23_parser.y +50 -16
- data/lib/ruby24_parser.rb +96 -60
- data/lib/ruby24_parser.y +50 -16
- data/lib/ruby25_parser.rb +92 -56
- data/lib/ruby25_parser.y +50 -16
- data/lib/ruby26_parser.rb +92 -56
- data/lib/ruby26_parser.y +50 -16
- data/lib/ruby27_parser.rb +574 -538
- data/lib/ruby27_parser.y +50 -16
- data/lib/ruby30_parser.rb +357 -331
- data/lib/ruby30_parser.y +42 -16
- data/lib/ruby31_parser.rb +174 -148
- data/lib/ruby31_parser.y +42 -16
- data/lib/ruby32_parser.rb +174 -148
- data/lib/ruby32_parser.y +42 -16
- data/lib/ruby3_parser.yy +42 -16
- data/lib/ruby_parser.yy +50 -16
- data/lib/ruby_parser_extras.rb +19 -13
- data/test/test_ruby_parser.rb +156 -6
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
data/lib/ruby22_parser.rb
CHANGED
@@ -104,7 +104,7 @@ racc_action_table = [
|
|
104
104
|
605, 684, 608, 623, 622, 626, 625, 234, 234, 420,
|
105
105
|
-300, -300, -291, -300, -300, -300, -300, -300, 234, -291,
|
106
106
|
-94, 704, 230, 234, 230, 552, 715, 780, -291, 549,
|
107
|
-
720, 578, 723, 234, 780,
|
107
|
+
720, 578, 723, 234, 780, 234, 784, 731, 474, 619,
|
108
108
|
576, -300, -300, -300, -300, -300, -300, -300, -300, -300,
|
109
109
|
-300, -300, -300, -300, -300, 230, -301, -300, -300, -300,
|
110
110
|
230, 672, 660, -301, 521, -300, 734, 753, -300, 723,
|
@@ -5258,7 +5258,7 @@ racc_action_pointer = [
|
|
5258
5258
|
702, 701, nil, nil, 702, 16988, 707, 17127, 24798, 24866,
|
5259
5259
|
788, 745, nil, 17266, 707, nil, 17405, 17544, 24934, 25002,
|
5260
5260
|
3563, 1743, 17683, 833, 833, 717, nil, nil, 67, 198,
|
5261
|
-
|
5261
|
+
719, 734, nil, 319, 786, 2303, 864, nil, 2443, 55,
|
5262
5262
|
870, 871, 868, 885, nil, nil, 17822, 25070, 25138, 25,
|
5263
5263
|
nil, 172, 205, 305, nil, 792, nil, 789, 17961, nil,
|
5264
5264
|
808, nil, nil, nil, 18100, nil, 715, nil, 770, 774,
|
@@ -5370,7 +5370,7 @@ racc_action_default = [
|
|
5370
5370
|
-635, -80, -299, -96, -85, -647, -635, -646, -647, -647,
|
5371
5371
|
-106, -647, -518, -647, -92, -97, -647, -647, -647, -647,
|
5372
5372
|
-247, -239, -647, -457, -647, -635, -296, -249, -639, -639,
|
5373
|
-
-
|
5373
|
+
-635, -647, -610, -639, -647, -646, -363, -364, -646, -647,
|
5374
5374
|
-647, -647, -647, -647, -358, -452, -646, -647, -647, -301,
|
5375
5375
|
-58, -117, -118, -647, -120, -647, -291, -646, -647, -332,
|
5376
5376
|
-545, -336, -628, -629, -647, -418, -567, -421, -606, -606,
|
@@ -5428,105 +5428,105 @@ racc_action_default = [
|
|
5428
5428
|
racc_goto_table = [
|
5429
5429
|
6, 573, 4, 232, 294, 294, 294, 228, 144, 144,
|
5430
5430
|
380, 448, 285, 289, 131, 278, 296, 296, 296, 554,
|
5431
|
-
698, 350, 295, 295, 295, 455, 461,
|
5432
|
-
344, 331, 331, 139, 220,
|
5433
|
-
408,
|
5434
|
-
|
5435
|
-
|
5436
|
-
|
5437
|
-
131, 502,
|
5438
|
-
351,
|
5439
|
-
405,
|
5440
|
-
|
5441
|
-
|
5442
|
-
|
5443
|
-
|
5444
|
-
|
5445
|
-
|
5446
|
-
|
5447
|
-
467,
|
5448
|
-
|
5449
|
-
|
5450
|
-
|
5451
|
-
|
5452
|
-
698, 438, 19,
|
5453
|
-
|
5454
|
-
|
5455
|
-
390,
|
5456
|
-
461,
|
5457
|
-
|
5458
|
-
|
5459
|
-
|
5460
|
-
538, 285, 331, nil, 316, 289, 131,
|
5461
|
-
|
5462
|
-
nil, nil, 559, 563,
|
5463
|
-
|
5464
|
-
577,
|
5465
|
-
744, 528, 331,
|
5466
|
-
nil,
|
5467
|
-
|
5468
|
-
nil, 19, 236, 436, 236, 236, 436, 236,
|
5469
|
-
|
5470
|
-
nil, nil, nil,
|
5471
|
-
|
5472
|
-
nil, 814,
|
5473
|
-
nil, nil, 801, 652, 675,
|
5474
|
-
517, 236, 236, 669, 147, 456, 455, 461,
|
5475
|
-
nil, 236, nil, nil, nil, nil, nil, nil,
|
5476
|
-
465, nil, 449, 964, 966, nil, 968, 970,
|
5477
|
-
19, 683, nil,
|
5478
|
-
|
5479
|
-
694,
|
5480
|
-
nil,
|
5481
|
-
|
5482
|
-
nil, 456, nil,
|
5483
|
-
585,
|
5484
|
-
|
5485
|
-
456, 947,
|
5486
|
-
nil, 718, nil,
|
5431
|
+
698, 350, 295, 295, 295, 455, 461, 845, 235, 276,
|
5432
|
+
344, 331, 331, 139, 220, 719, 316, 597, 352, 353,
|
5433
|
+
408, 419, 357, 508, 147, 147, 604, 565, 568, 518,
|
5434
|
+
445, 317, 779, 9, 761, 466, 355, 356, 855, 9,
|
5435
|
+
432, 433, 769, 770, 338, 509, 331, 127, 695, 690,
|
5436
|
+
439, 695, 144, 439, 504, 662, 544, 128, 439, 334,
|
5437
|
+
131, 502, 896, 861, 725, 728, 351, 351, 785, 732,
|
5438
|
+
351, 388, 893, 389, 313, 391, 393, 396, 399, 402,
|
5439
|
+
405, 406, 144, 389, 414, 415, 416, 417, 292, 305,
|
5440
|
+
306, 830, 752, 346, 132, 923, 973, 1028, 1, 2,
|
5441
|
+
886, 315, 975, 587, 639, 589, 1012, 642, 138, 651,
|
5442
|
+
1014, 844, 935, 358, 701, 529, 219, 280, 288, 290,
|
5443
|
+
367, 428, 421, 736, 862, 277, 688, 653, 342, 560,
|
5444
|
+
687, 384, 351, 351, 351, 351, 634, 561, 636, 365,
|
5445
|
+
756, 640, 381, 591, 640, 345, 698, 347, 612, 555,
|
5446
|
+
348, 349, 19, 368, 873, 446, 588, 875, 19, 9,
|
5447
|
+
467, 926, 1007, 773, 775, 777, 370, 730, 418, 760,
|
5448
|
+
1028, 590, 764, 236, 957, 974, 925, 927, 1011, 294,
|
5449
|
+
595, 882, 236, 236, 236, 518, 19, 322, 322, 386,
|
5450
|
+
766, 456, 431, 431, 1076, 741, 695, 695, 1014, 779,
|
5451
|
+
511, 426, 512, 903, 472, 449, 465, 427, 438, 835,
|
5452
|
+
698, 438, 19, 866, 412, 973, 438, 236, 236, 1054,
|
5453
|
+
685, 236, 362, 443, 444, 316, 833, 767, 1042, 743,
|
5454
|
+
851, 468, 469, 294, 294, 900, 604, 937, 682, 387,
|
5455
|
+
390, 934, 392, 294, 395, 398, 296, 1024, 401, 455,
|
5456
|
+
461, 896, 295, 404, 905, 296, 705, 790, 791, 449,
|
5457
|
+
988, 295, 871, 407, 714, 874, 891, 888, 1022, 893,
|
5458
|
+
594, nil, nil, 517, 517, nil, nil, 523, 19, 389,
|
5459
|
+
893, 1034, nil, 236, 236, 236, 236, 19, 541, 824,
|
5460
|
+
538, 285, 331, nil, 316, 289, 131, nil, 692, 316,
|
5461
|
+
nil, 707, nil, nil, nil, 569, nil, 548, nil, 331,
|
5462
|
+
nil, nil, 559, 563, 841, 710, nil, nil, 558, nil,
|
5463
|
+
779, 779, 892, nil, 894, 710, 557, 562, nil, 545,
|
5464
|
+
577, 962, 1043, 542, nil, 570, 571, nil, 510, 534,
|
5465
|
+
744, 528, 331, nil, 331, 1073, 131, 513, nil, 526,
|
5466
|
+
nil, 867, 313, 351, 710, nil, nil, 313, 612, 527,
|
5467
|
+
940, nil, 893, 978, 979, nil, nil, nil, nil, nil,
|
5468
|
+
nil, 19, 236, 436, 236, 236, 436, 236, 924, 530,
|
5469
|
+
nil, 436, 236, 236, 536, 793, nil, nil, 793, nil,
|
5470
|
+
nil, nil, nil, 878, 879, 19, nil, 698, 144, 572,
|
5471
|
+
nil, 1008, 604, 604, 659, 467, nil, 446, 913, 663,
|
5472
|
+
nil, 814, 702, nil, 876, 877, nil, 819, 670, nil,
|
5473
|
+
nil, nil, 801, 652, 675, 840, 294, 837, nil, 517,
|
5474
|
+
517, 236, 236, 669, 147, 456, 455, 461, 779, 779,
|
5475
|
+
nil, 236, nil, nil, nil, nil, nil, nil, 695, nil,
|
5476
|
+
465, nil, 449, 964, 966, nil, 968, 970, nil, 971,
|
5477
|
+
19, 683, nil, nil, 19, 1055, nil, 670, 322, 19,
|
5478
|
+
810, 812, nil, nil, nil, 716, 815, 817, nil, 949,
|
5479
|
+
694, nil, 669, nil, 439, 322, nil, nil, nil, 294,
|
5480
|
+
nil, nil, nil, 439, 439, 19, nil, 1067, nil, 439,
|
5481
|
+
439, 456, nil, nil, 236, 19, 19, nil, nil, 331,
|
5482
|
+
nil, 456, nil, 1015, nil, 449, 465, 331, 585, 872,
|
5483
|
+
585, 663, nil, nil, 612, 612, 465, 950, 294, 545,
|
5484
|
+
1025, 710, nil, 1026, 612, nil, 612, 545, 959, 852,
|
5485
|
+
456, 947, 837, 668, 887, 733, nil, 749, 735, 674,
|
5486
|
+
nil, 718, nil, nil, 449, 465, nil, nil, 737, nil,
|
5487
5487
|
nil, nil, nil, nil, nil, 758, nil, nil, nil, nil,
|
5488
5488
|
nil, nil, nil, nil, nil, nil, nil, 1050, 1051, 1052,
|
5489
|
-
1053, nil,
|
5490
|
-
928, nil,
|
5491
|
-
nil, 816, 818, nil, 920, nil,
|
5492
|
-
294,
|
5489
|
+
1053, nil, nil, nil, nil, nil, nil, 759, nil, nil,
|
5490
|
+
928, nil, 686, 765, nil, 811, 813, nil, nil, nil,
|
5491
|
+
nil, 816, 818, nil, 920, nil, 1078, nil, nil, nil,
|
5492
|
+
294, 914, 994, nil, nil, nil, nil, 1001, nil, nil,
|
5493
5493
|
nil, nil, 456, 832, 236, nil, nil, 1044, 809, 6,
|
5494
|
-
144, 797,
|
5494
|
+
144, 797, 889, nil, 439, 889, 449, 465, nil, 1083,
|
5495
5495
|
nil, nil, 438, 663, nil, nil, nil, nil, nil, nil,
|
5496
5496
|
nil, 438, 438, nil, nil, 798, nil, 438, 438, nil,
|
5497
|
-
nil, 1045, 1046, 826, nil, nil, 147,
|
5498
|
-
831, nil, 517, 670, nil,
|
5497
|
+
nil, 1045, 1046, 826, nil, nil, 147, nil, 663, nil,
|
5498
|
+
831, nil, 517, 670, nil, 1082, 675, 19, 331, 880,
|
5499
5499
|
nil, nil, 9, nil, nil, 322, nil, 236, 669, 331,
|
5500
|
-
854, 431,
|
5500
|
+
854, 431, 921, 322, nil, nil, nil, 849, 545, 853,
|
5501
5501
|
nil, nil, 236, nil, nil, 663, nil, 294, nil, 842,
|
5502
5502
|
nil, 859, nil, 859, nil, 19, nil, 456, 19, nil,
|
5503
5503
|
nil, nil, nil, nil, nil, 612, 236, nil, 885, 868,
|
5504
5504
|
465, nil, nil, 449, nil, nil, 915, nil, 236, nil,
|
5505
5505
|
nil, 144, 928, nil, 236, 928, nil, nil, nil, 811,
|
5506
5506
|
813, 818, 816, 1021, nil, nil, 920, nil, nil, 920,
|
5507
|
-
|
5508
|
-
nil, 910,
|
5507
|
+
nil, 920, 663, nil, nil, nil, nil, nil, nil, nil,
|
5508
|
+
nil, 910, 982, 984, 986, nil, nil, nil, nil, nil,
|
5509
5509
|
722, nil, nil, nil, nil, nil, nil, 517, nil, 885,
|
5510
5510
|
nil, nil, 438, nil, nil, nil, 739, 740, nil, 742,
|
5511
5511
|
1068, 19, nil, nil, nil, nil, nil, 436, 236, 942,
|
5512
5512
|
932, nil, nil, 826, 710, nil, 436, 436, 928, nil,
|
5513
5513
|
nil, 29, 436, 436, nil, 951, nil, 29, 936, 939,
|
5514
|
-
nil, nil, 920, 663, 920, nil, 920, nil, 920,
|
5515
|
-
943,
|
5514
|
+
nil, nil, 920, 663, 920, nil, 920, nil, 920, nil,
|
5515
|
+
943, 889, 29, nil, 921, nil, 915, 921, nil, 921,
|
5516
5516
|
nil, 29, 29, 29, 322, 29, nil, 351, nil, nil,
|
5517
|
-
920, nil, nil, 958, 952, 322, nil,
|
5518
|
-
nil, nil, nil, 351,
|
5519
|
-
|
5517
|
+
920, nil, nil, 958, 952, 322, nil, nil, 956, nil,
|
5518
|
+
nil, nil, nil, 351, 1057, 1059, 1061, 1063, nil, 1064,
|
5519
|
+
nil, 29, nil, nil, nil, nil, 29, 29, 885, nil,
|
5520
5520
|
29, nil, nil, nil, nil, nil, nil, nil, nil, 19,
|
5521
5521
|
981, 981, 981, 331, nil, 236, nil, nil, nil, nil,
|
5522
5522
|
19, 19, 331, nil, 992, 993, 895, 470, 897, nil,
|
5523
|
-
|
5524
|
-
|
5525
|
-
1006, 19,
|
5523
|
+
921, nil, 921, nil, 921, nil, 921, 1004, 1085, 1086,
|
5524
|
+
1087, 1088, nil, nil, nil, nil, nil, nil, nil, 1090,
|
5525
|
+
1006, 19, nil, nil, nil, nil, nil, 29, 921, nil,
|
5526
5526
|
nil, nil, 29, 29, 29, 29, 29, 436, nil, nil,
|
5527
5527
|
nil, nil, nil, 331, nil, 1037, nil, 863, nil, nil,
|
5528
5528
|
922, 849, 1047, nil, 1035, 514, nil, nil, nil, nil,
|
5529
|
-
19, 1040, 859, nil, nil,
|
5529
|
+
19, 1040, 859, nil, nil, 929, nil, nil, 294, nil,
|
5530
5530
|
nil, nil, nil, nil, nil, nil, nil, nil, 19, 531,
|
5531
5531
|
456, nil, 981, 981, 981, 981, nil, 981, 236, 465,
|
5532
5532
|
19, nil, nil, nil, 449, 465, nil, nil, 859, nil,
|
@@ -5541,18 +5541,18 @@ racc_goto_table = [
|
|
5541
5541
|
29, 29, 953, 954, nil, 1016, nil, 1017, nil, 1018,
|
5542
5542
|
29, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
5543
5543
|
nil, nil, nil, nil, nil, 1027, nil, 1029, nil, 29,
|
5544
|
-
nil, nil, nil, 29,
|
5545
|
-
|
5544
|
+
nil, nil, nil, 29, 929, nil, nil, 929, 29, 1031,
|
5545
|
+
929, 520, 929, 522, 19, nil, 524, 525, nil, nil,
|
5546
5546
|
nil, 19, nil, 676, nil, nil, nil, 19, 19, nil,
|
5547
5547
|
nil, nil, nil, nil, 29, nil, nil, nil, nil, nil,
|
5548
5548
|
nil, nil, nil, 29, 29, 29, 1005, nil, nil, nil,
|
5549
5549
|
nil, nil, nil, nil, nil, nil, 236, nil, nil, nil,
|
5550
5550
|
nil, 1077, 564, 689, nil, nil, nil, 693, 1079, nil,
|
5551
5551
|
1080, 32, 1081, nil, nil, nil, nil, 32, nil, nil,
|
5552
|
-
nil, nil, nil,
|
5552
|
+
nil, nil, nil, 929, 703, 929, nil, 929, nil, 929,
|
5553
5553
|
706, nil, 32, nil, nil, nil, 1089, nil, nil, nil,
|
5554
5554
|
nil, 32, 32, 32, nil, 32, nil, nil, nil, 724,
|
5555
|
-
nil,
|
5555
|
+
nil, 929, nil, nil, nil, nil, nil, nil, nil, nil,
|
5556
5556
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
5557
5557
|
nil, 32, nil, nil, nil, nil, 32, 32, nil, nil,
|
5558
5558
|
32, 1074, 1075, 655, nil, nil, nil, nil, nil, nil,
|
@@ -5815,105 +5815,105 @@ racc_goto_table = [
|
|
5815
5815
|
racc_goto_check = [
|
5816
5816
|
6, 113, 2, 40, 46, 46, 46, 38, 71, 71,
|
5817
5817
|
70, 36, 85, 85, 118, 38, 84, 84, 84, 12,
|
5818
|
-
220, 102, 82, 82, 82, 50, 50,
|
5819
|
-
40, 78, 78, 22, 22,
|
5820
|
-
70,
|
5821
|
-
|
5822
|
-
|
5823
|
-
|
5824
|
-
118, 172,
|
5825
|
-
31,
|
5826
|
-
6,
|
5827
|
-
|
5828
|
-
|
5829
|
-
|
5830
|
-
|
5831
|
-
|
5832
|
-
|
5833
|
-
|
5834
|
-
75,
|
5835
|
-
|
5836
|
-
|
5837
|
-
|
5838
|
-
|
5839
|
-
220, 27, 35,
|
5840
|
-
|
5841
|
-
|
5842
|
-
189,
|
5843
|
-
50,
|
5844
|
-
|
5845
|
-
|
5846
|
-
|
5847
|
-
38, 85, 78, nil, 14, 85, 118,
|
5848
|
-
|
5849
|
-
nil, nil, 84, 84,
|
5850
|
-
|
5851
|
-
38,
|
5852
|
-
36, 9, 78,
|
5853
|
-
nil,
|
5854
|
-
|
5855
|
-
nil, 35, 35, 35, 35, 35, 35, 35,
|
5856
|
-
|
5857
|
-
nil, nil, nil,
|
5858
|
-
|
5859
|
-
nil, 52,
|
5860
|
-
nil, nil, 36, 22, 85,
|
5861
|
-
6, 35, 35, 6, 73, 85, 50, 50,
|
5862
|
-
nil, 35, nil, nil, nil, nil, nil, nil,
|
5863
|
-
71, nil, 6, 207, 207, nil, 207, 207,
|
5864
|
-
35, 40, nil,
|
5865
|
-
|
5866
|
-
84,
|
5867
|
-
nil,
|
5868
|
-
|
5869
|
-
nil, 85, nil,
|
5870
|
-
35,
|
5871
|
-
|
5872
|
-
85, 106,
|
5873
|
-
nil, 31, nil,
|
5818
|
+
220, 102, 82, 82, 82, 50, 50, 17, 27, 171,
|
5819
|
+
40, 78, 78, 22, 22, 15, 14, 170, 24, 24,
|
5820
|
+
70, 10, 24, 52, 73, 73, 204, 106, 106, 87,
|
5821
|
+
33, 63, 146, 9, 121, 33, 42, 42, 107, 9,
|
5822
|
+
29, 29, 153, 153, 76, 36, 78, 5, 88, 53,
|
5823
|
+
25, 88, 71, 25, 50, 37, 65, 8, 25, 64,
|
5824
|
+
118, 172, 215, 109, 83, 83, 31, 31, 147, 83,
|
5825
|
+
31, 188, 210, 6, 59, 6, 6, 6, 6, 6,
|
5826
|
+
6, 188, 71, 6, 24, 24, 24, 24, 58, 58,
|
5827
|
+
58, 160, 68, 9, 7, 158, 145, 216, 1, 3,
|
5828
|
+
162, 60, 148, 69, 192, 69, 164, 192, 11, 13,
|
5829
|
+
165, 16, 18, 5, 20, 21, 23, 51, 51, 51,
|
5830
|
+
26, 30, 32, 43, 45, 49, 55, 74, 79, 81,
|
5831
|
+
86, 98, 31, 31, 31, 31, 193, 101, 193, 115,
|
5832
|
+
117, 193, 122, 123, 193, 124, 220, 125, 209, 126,
|
5833
|
+
127, 128, 35, 129, 130, 75, 131, 132, 35, 9,
|
5834
|
+
75, 162, 133, 207, 207, 207, 134, 37, 9, 135,
|
5835
|
+
216, 136, 137, 35, 138, 149, 150, 156, 163, 46,
|
5836
|
+
166, 167, 35, 35, 35, 87, 35, 35, 35, 168,
|
5837
|
+
169, 85, 82, 82, 164, 113, 88, 88, 165, 146,
|
5838
|
+
174, 14, 175, 146, 38, 6, 71, 27, 27, 177,
|
5839
|
+
220, 27, 35, 178, 7, 145, 27, 35, 35, 148,
|
5840
|
+
180, 35, 35, 31, 31, 14, 53, 170, 181, 182,
|
5841
|
+
183, 31, 31, 46, 46, 147, 204, 184, 36, 187,
|
5842
|
+
189, 160, 190, 46, 191, 194, 84, 158, 195, 50,
|
5843
|
+
50, 215, 82, 196, 197, 84, 65, 198, 199, 6,
|
5844
|
+
162, 82, 68, 202, 65, 203, 208, 212, 213, 210,
|
5845
|
+
219, nil, nil, 6, 6, nil, nil, 188, 35, 6,
|
5846
|
+
210, 17, nil, 35, 35, 35, 35, 35, 40, 37,
|
5847
|
+
38, 85, 78, nil, 14, 85, 118, nil, 172, 14,
|
5848
|
+
nil, 36, nil, nil, nil, 24, nil, 38, nil, 78,
|
5849
|
+
nil, nil, 84, 84, 37, 50, nil, nil, 82, nil,
|
5850
|
+
146, 146, 159, nil, 159, 50, 6, 6, nil, 63,
|
5851
|
+
38, 153, 109, 76, nil, 14, 14, nil, 58, 64,
|
5852
|
+
36, 9, 78, nil, 78, 107, 118, 58, nil, 5,
|
5853
|
+
nil, 37, 59, 31, 50, nil, nil, 59, 209, 8,
|
5854
|
+
83, nil, 210, 153, 153, nil, nil, nil, nil, nil,
|
5855
|
+
nil, 35, 35, 35, 35, 35, 35, 35, 159, 60,
|
5856
|
+
nil, 35, 35, 35, 60, 193, nil, nil, 193, nil,
|
5857
|
+
nil, nil, nil, 170, 170, 35, nil, 220, 71, 5,
|
5858
|
+
nil, 121, 204, 204, 38, 75, nil, 75, 37, 40,
|
5859
|
+
nil, 52, 10, nil, 12, 12, nil, 52, 85, nil,
|
5860
|
+
nil, nil, 36, 22, 85, 65, 46, 87, nil, 6,
|
5861
|
+
6, 35, 35, 6, 73, 85, 50, 50, 146, 146,
|
5862
|
+
nil, 35, nil, nil, nil, nil, nil, nil, 88, nil,
|
5863
|
+
71, nil, 6, 207, 207, nil, 207, 207, nil, 207,
|
5864
|
+
35, 40, nil, nil, 35, 153, nil, 85, 35, 35,
|
5865
|
+
33, 33, nil, nil, nil, 75, 33, 33, nil, 37,
|
5866
|
+
84, nil, 6, nil, 25, 35, nil, nil, nil, 46,
|
5867
|
+
nil, nil, nil, 25, 25, 35, nil, 15, nil, 25,
|
5868
|
+
25, 85, nil, nil, 35, 35, 35, nil, nil, 78,
|
5869
|
+
nil, 85, nil, 159, nil, 6, 71, 78, 35, 36,
|
5870
|
+
35, 40, nil, nil, 209, 209, 71, 12, 46, 63,
|
5871
|
+
159, 50, nil, 159, 209, nil, 209, 63, 12, 29,
|
5872
|
+
85, 106, 87, 51, 152, 14, nil, 42, 14, 51,
|
5873
|
+
nil, 31, nil, nil, 6, 71, nil, nil, 118, nil,
|
5874
5874
|
nil, nil, nil, nil, nil, 6, nil, nil, nil, nil,
|
5875
5875
|
nil, nil, nil, nil, nil, nil, nil, 207, 207, 207,
|
5876
|
-
207, nil,
|
5877
|
-
209, nil,
|
5878
|
-
nil, 75, 75, nil, 152, nil,
|
5879
|
-
46,
|
5876
|
+
207, nil, nil, nil, nil, nil, nil, 31, nil, nil,
|
5877
|
+
209, nil, 51, 31, nil, 75, 75, nil, nil, nil,
|
5878
|
+
nil, 75, 75, nil, 152, nil, 159, nil, nil, nil,
|
5879
|
+
46, 33, 106, nil, nil, nil, nil, 106, nil, nil,
|
5880
5880
|
nil, nil, 85, 102, 35, nil, nil, 113, 84, 6,
|
5881
|
-
71, 2,
|
5881
|
+
71, 2, 154, nil, 25, 154, 6, 71, nil, 207,
|
5882
5882
|
nil, nil, 27, 40, nil, nil, nil, nil, nil, nil,
|
5883
5883
|
nil, 27, 27, nil, nil, 22, nil, 27, 27, nil,
|
5884
|
-
nil, 12, 12, 6, nil, nil, 73,
|
5885
|
-
171, nil, 6, 85, nil,
|
5884
|
+
nil, 12, 12, 6, nil, nil, 73, nil, 40, nil,
|
5885
|
+
171, nil, 6, 85, nil, 37, 85, 35, 78, 70,
|
5886
5886
|
nil, nil, 9, nil, nil, 35, nil, 35, 6, 78,
|
5887
|
-
84, 82,
|
5887
|
+
84, 82, 154, 35, nil, nil, nil, 6, 63, 6,
|
5888
5888
|
nil, nil, 35, nil, nil, 40, nil, 46, nil, 63,
|
5889
5889
|
nil, 6, nil, 6, nil, 35, nil, 85, 35, nil,
|
5890
5890
|
nil, nil, nil, nil, nil, 209, 35, nil, 40, 14,
|
5891
5891
|
71, nil, nil, 6, nil, nil, 75, nil, 35, nil,
|
5892
5892
|
nil, 71, 209, nil, 35, 209, nil, nil, nil, 75,
|
5893
5893
|
75, 75, 75, 152, nil, nil, 152, nil, nil, 152,
|
5894
|
-
|
5895
|
-
nil, 14,
|
5894
|
+
nil, 152, 40, nil, nil, nil, nil, nil, nil, nil,
|
5895
|
+
nil, 14, 155, 155, 155, nil, nil, nil, nil, nil,
|
5896
5896
|
100, nil, nil, nil, nil, nil, nil, 6, nil, 40,
|
5897
5897
|
nil, nil, 27, nil, nil, nil, 100, 100, nil, 100,
|
5898
5898
|
36, 35, nil, nil, nil, nil, nil, 35, 35, 24,
|
5899
5899
|
14, nil, nil, 6, 50, nil, 35, 35, 209, nil,
|
5900
5900
|
nil, 54, 35, 35, nil, 24, nil, 54, 14, 6,
|
5901
|
-
nil, nil, 152, 40, 152, nil, 152, nil, 152,
|
5902
|
-
14,
|
5901
|
+
nil, nil, 152, 40, 152, nil, 152, nil, 152, nil,
|
5902
|
+
14, 154, 54, nil, 154, nil, 75, 154, nil, 154,
|
5903
5903
|
nil, 54, 54, 54, 35, 54, nil, 31, nil, nil,
|
5904
|
-
152, nil, nil, 14, 118, 35, nil,
|
5905
|
-
nil, nil, nil, 31,
|
5906
|
-
|
5904
|
+
152, nil, nil, 14, 118, 35, nil, nil, 118, nil,
|
5905
|
+
nil, nil, nil, 31, 155, 155, 155, 155, nil, 155,
|
5906
|
+
nil, 54, nil, nil, nil, nil, 54, 54, 40, nil,
|
5907
5907
|
54, nil, nil, nil, nil, nil, nil, nil, nil, 35,
|
5908
5908
|
6, 6, 6, 78, nil, 35, nil, nil, nil, nil,
|
5909
5909
|
35, 35, 78, nil, 14, 14, 157, 61, 157, nil,
|
5910
|
-
|
5911
|
-
|
5912
|
-
118, 35,
|
5910
|
+
154, nil, 154, nil, 154, nil, 154, 14, 155, 155,
|
5911
|
+
155, 155, nil, nil, nil, nil, nil, nil, nil, 155,
|
5912
|
+
118, 35, nil, nil, nil, nil, nil, 54, 154, nil,
|
5913
5913
|
nil, nil, 54, 54, 54, 54, 54, 35, nil, nil,
|
5914
5914
|
nil, nil, nil, 78, nil, 38, nil, 100, nil, nil,
|
5915
5915
|
157, 6, 40, nil, 14, 61, nil, nil, nil, nil,
|
5916
|
-
35, 14, 6, nil, nil,
|
5916
|
+
35, 14, 6, nil, nil, 211, nil, nil, 46, nil,
|
5917
5917
|
nil, nil, nil, nil, nil, nil, nil, nil, 35, 61,
|
5918
5918
|
85, nil, 6, 6, 6, 6, nil, 6, 35, 71,
|
5919
5919
|
35, nil, nil, nil, 6, 71, nil, nil, 6, nil,
|
@@ -5928,18 +5928,18 @@ racc_goto_check = [
|
|
5928
5928
|
54, 54, 100, 100, nil, 157, nil, 157, nil, 157,
|
5929
5929
|
54, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
5930
5930
|
nil, nil, nil, nil, nil, 157, nil, 157, nil, 54,
|
5931
|
-
nil, nil, nil, 54,
|
5932
|
-
|
5931
|
+
nil, nil, nil, 54, 211, nil, nil, 211, 54, 35,
|
5932
|
+
211, 80, 211, 80, 35, nil, 80, 80, nil, nil,
|
5933
5933
|
nil, 35, nil, 61, nil, nil, nil, 35, 35, nil,
|
5934
5934
|
nil, nil, nil, nil, 54, nil, nil, nil, nil, nil,
|
5935
5935
|
nil, nil, nil, 54, 54, 54, 100, nil, nil, nil,
|
5936
5936
|
nil, nil, nil, nil, nil, nil, 35, nil, nil, nil,
|
5937
5937
|
nil, 157, 80, 61, nil, nil, nil, 61, 157, nil,
|
5938
5938
|
157, 57, 157, nil, nil, nil, nil, 57, nil, nil,
|
5939
|
-
nil, nil, nil,
|
5939
|
+
nil, nil, nil, 211, 61, 211, nil, 211, nil, 211,
|
5940
5940
|
61, nil, 57, nil, nil, nil, 157, nil, nil, nil,
|
5941
5941
|
nil, 57, 57, 57, nil, 57, nil, nil, nil, 61,
|
5942
|
-
nil,
|
5942
|
+
nil, 211, nil, nil, nil, nil, nil, nil, nil, nil,
|
5943
5943
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
5944
5944
|
nil, 57, nil, nil, nil, nil, 57, 57, nil, nil,
|
5945
5945
|
57, 100, 100, 80, nil, nil, nil, nil, nil, nil,
|
@@ -6200,28 +6200,28 @@ racc_goto_check = [
|
|
6200
6200
|
67, 67 ]
|
6201
6201
|
|
6202
6202
|
racc_goto_pointer = [
|
6203
|
-
nil,
|
6204
|
-
|
6205
|
-
-
|
6206
|
-
-
|
6207
|
-
-19, 1656, -
|
6208
|
-
-203,
|
6209
|
-
|
6210
|
-
-65, -3, nil, 33, -
|
6211
|
-
863, -
|
6212
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
6213
|
-
246, -
|
6214
|
-
nil, nil, nil, -357, nil,
|
6215
|
-
nil, -
|
6216
|
-
-
|
6217
|
-
nil, nil, nil, nil, nil, -
|
6218
|
-
-
|
6219
|
-
-
|
6220
|
-
-
|
6221
|
-
-
|
6222
|
-
164, 165, -
|
6223
|
-
nil, nil,
|
6224
|
-
-
|
6203
|
+
nil, 118, 0, 119, nil, 62, -2, 106, 72, 51,
|
6204
|
+
-97, 118, -326, -291, 0, -518, -588, -692, -712, nil,
|
6205
|
+
-393, -177, 22, 124, -29, -153, 68, 5, 1925, -162,
|
6206
|
+
-81, 19, 3, -176, 2061, 170, -216, -373, -12, 2296,
|
6207
|
+
-19, 1656, -13, -426, nil, -592, -28, nil, nil, 118,
|
6208
|
+
-203, 108, -237, -442, 839, -361, nil, 1219, 76, 58,
|
6209
|
+
85, 704, nil, 14, 41, -259, 2458, 2833, -471, -245,
|
6210
|
+
-65, -3, nil, 33, -278, -51, 20, nil, -6, 101,
|
6211
|
+
863, -199, -10, -474, -16, -17, -354, -247, -448, nil,
|
6212
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 76, nil,
|
6213
|
+
246, -192, -44, nil, nil, nil, -305, -675, nil, -652,
|
6214
|
+
nil, nil, nil, -357, nil, 87, nil, -427, 9, nil,
|
6215
|
+
nil, -536, 87, -218, 104, 105, -177, 107, 107, 100,
|
6216
|
+
-582, -193, -582, -770, 112, -400, -189, -399, -686, nil,
|
6217
|
+
nil, nil, nil, nil, nil, -785, -561, -525, -780, -706,
|
6218
|
+
-632, nil, -204, -536, -116, -130, -631, 162, -713, -430,
|
6219
|
+
-574, nil, -647, -762, -834, -830, -186, -565, 120, -385,
|
6220
|
+
-349, 4, -194, nil, -66, -65, nil, -462, -510, nil,
|
6221
|
+
-263, -756, -326, -471, -594, nil, nil, 167, -4, 163,
|
6222
|
+
164, 165, -271, -234, 165, 167, 171, -516, -354, -354,
|
6223
|
+
nil, nil, 178, -472, -340, nil, nil, -418, -486, -218,
|
6224
|
+
-680, 177, -481, -689, nil, -692, -866, nil, nil, -95,
|
6225
6225
|
-499 ]
|
6226
6226
|
|
6227
6227
|
racc_goto_default = [
|
@@ -6887,8 +6887,8 @@ racc_reduce_table = [
|
|
6887
6887
|
1, 151, :_reduce_none,
|
6888
6888
|
0, 186, :_reduce_none,
|
6889
6889
|
1, 186, :_reduce_none,
|
6890
|
-
2, 207, :
|
6891
|
-
2, 183, :
|
6890
|
+
2, 207, :_reduce_637,
|
6891
|
+
2, 183, :_reduce_638,
|
6892
6892
|
0, 229, :_reduce_none,
|
6893
6893
|
1, 229, :_reduce_none,
|
6894
6894
|
1, 229, :_reduce_none,
|
@@ -7676,6 +7676,7 @@ end
|
|
7676
7676
|
|
7677
7677
|
def _reduce_38(val, _values, result)
|
7678
7678
|
lhs, _, rhs = val
|
7679
|
+
|
7679
7680
|
result = new_assign lhs, s(:svalue, rhs).line(rhs.line)
|
7680
7681
|
|
7681
7682
|
result
|
@@ -8789,8 +8790,10 @@ def _reduce_254(val, _values, result)
|
|
8789
8790
|
end
|
8790
8791
|
|
8791
8792
|
def _reduce_255(val, _values, result)
|
8792
|
-
_, args, _ = val
|
8793
|
+
_, args, (_, line_max) = val
|
8794
|
+
|
8793
8795
|
result = args
|
8796
|
+
result.line_max = line_max if args
|
8794
8797
|
|
8795
8798
|
result
|
8796
8799
|
end
|
@@ -9071,10 +9074,12 @@ def _reduce_302(val, _values, result)
|
|
9071
9074
|
end
|
9072
9075
|
|
9073
9076
|
def _reduce_303(val, _values, result)
|
9074
|
-
_, line, args, _ = val
|
9077
|
+
_, line, args, (_, line_max) = val
|
9078
|
+
|
9075
9079
|
result = args || s(:array)
|
9076
9080
|
result.sexp_type = :array # aref_args is :args
|
9077
9081
|
result.line line
|
9082
|
+
result.line_max = line_max
|
9078
9083
|
|
9079
9084
|
result
|
9080
9085
|
end
|
@@ -9860,15 +9865,21 @@ end
|
|
9860
9865
|
def _reduce_429(val, _values, result)
|
9861
9866
|
call, args = val
|
9862
9867
|
|
9863
|
-
result = call
|
9868
|
+
result = call
|
9869
|
+
|
9870
|
+
if args then
|
9871
|
+
call.concat args.sexp_body
|
9872
|
+
result.line_max = args.line_max
|
9873
|
+
end
|
9864
9874
|
|
9865
9875
|
result
|
9866
9876
|
end
|
9867
9877
|
|
9868
9878
|
def _reduce_430(val, _values, result)
|
9869
|
-
recv, call_op, (op,
|
9879
|
+
recv, call_op, (op, op_line), args = val
|
9870
9880
|
|
9871
9881
|
result = new_call recv, op.to_sym, args, call_op
|
9882
|
+
result.line_max = op_line unless args
|
9872
9883
|
|
9873
9884
|
result
|
9874
9885
|
end
|
@@ -10155,17 +10166,19 @@ def _reduce_474(val, _values, result)
|
|
10155
10166
|
end
|
10156
10167
|
|
10157
10168
|
def _reduce_475(val, _values, result)
|
10158
|
-
(_, line), _, _ = val
|
10169
|
+
(_, line), _, (_, line_max) = val
|
10159
10170
|
|
10160
10171
|
result = s(:array).line line
|
10172
|
+
result.line_max = line_max
|
10161
10173
|
|
10162
10174
|
result
|
10163
10175
|
end
|
10164
10176
|
|
10165
10177
|
def _reduce_476(val, _values, result)
|
10166
|
-
(_, line), list, _ = val
|
10178
|
+
(_, line), list, (_, line_max) = val
|
10167
10179
|
|
10168
10180
|
result = list.line line
|
10181
|
+
result.line_max = line_max
|
10169
10182
|
|
10170
10183
|
result
|
10171
10184
|
end
|
@@ -10191,17 +10204,19 @@ def _reduce_480(val, _values, result)
|
|
10191
10204
|
end
|
10192
10205
|
|
10193
10206
|
def _reduce_481(val, _values, result)
|
10194
|
-
(_, line), _, _ = val
|
10207
|
+
(_, line), _, (_, line_max) = val
|
10195
10208
|
|
10196
10209
|
result = s(:array).line line
|
10210
|
+
result.line_max = line_max
|
10197
10211
|
|
10198
10212
|
result
|
10199
10213
|
end
|
10200
10214
|
|
10201
10215
|
def _reduce_482(val, _values, result)
|
10202
|
-
(_, line), list, _, = val
|
10203
|
-
|
10204
|
-
result = list
|
10216
|
+
(_, line), list, (_, line_max), = val
|
10217
|
+
|
10218
|
+
result = list.line line
|
10219
|
+
result.line_max = line_max
|
10205
10220
|
|
10206
10221
|
result
|
10207
10222
|
end
|
@@ -10220,33 +10235,37 @@ def _reduce_484(val, _values, result)
|
|
10220
10235
|
end
|
10221
10236
|
|
10222
10237
|
def _reduce_485(val, _values, result)
|
10223
|
-
(_, line), _, _ = val
|
10238
|
+
(_, line), _, (_, line_max) = val
|
10224
10239
|
|
10225
10240
|
result = s(:array).line line
|
10241
|
+
result.line_max = line_max
|
10226
10242
|
|
10227
10243
|
result
|
10228
10244
|
end
|
10229
10245
|
|
10230
10246
|
def _reduce_486(val, _values, result)
|
10231
|
-
(_, line), list, _ = val
|
10247
|
+
(_, line), list, (_, line_max) = val
|
10232
10248
|
|
10233
10249
|
result = list.line line
|
10250
|
+
result.line_max = line_max
|
10234
10251
|
|
10235
10252
|
result
|
10236
10253
|
end
|
10237
10254
|
|
10238
10255
|
def _reduce_487(val, _values, result)
|
10239
|
-
(_, line), _, _ = val
|
10256
|
+
(_, line), _, (_, line_max) = val
|
10240
10257
|
|
10241
10258
|
result = s(:array).line line
|
10259
|
+
result.line_max = line_max
|
10242
10260
|
|
10243
10261
|
result
|
10244
10262
|
end
|
10245
10263
|
|
10246
10264
|
def _reduce_488(val, _values, result)
|
10247
|
-
(_, line), list, _ = val
|
10265
|
+
(_, line), list, (_, line_max) = val
|
10248
10266
|
|
10249
10267
|
result = list.line line
|
10268
|
+
result.line_max = line_max
|
10250
10269
|
|
10251
10270
|
result
|
10252
10271
|
end
|
@@ -10795,7 +10814,14 @@ def _reduce_578(val, _values, result)
|
|
10795
10814
|
result = s(:args, list).line list.line
|
10796
10815
|
end
|
10797
10816
|
|
10798
|
-
|
10817
|
+
if Sexp === item then
|
10818
|
+
line_max = item.line_max
|
10819
|
+
else
|
10820
|
+
item, line_max = item
|
10821
|
+
end
|
10822
|
+
|
10823
|
+
result << item
|
10824
|
+
result.line_max = line_max
|
10799
10825
|
|
10800
10826
|
result
|
10801
10827
|
end
|
@@ -11087,9 +11113,19 @@ end
|
|
11087
11113
|
|
11088
11114
|
# reduce 636 omitted
|
11089
11115
|
|
11090
|
-
|
11116
|
+
def _reduce_637(val, _values, result)
|
11117
|
+
_, close = val
|
11118
|
+
result = [close, lexer.lineno]
|
11119
|
+
|
11120
|
+
result
|
11121
|
+
end
|
11122
|
+
|
11123
|
+
def _reduce_638(val, _values, result)
|
11124
|
+
_, close = val
|
11125
|
+
result = [close, lexer.lineno]
|
11091
11126
|
|
11092
|
-
|
11127
|
+
result
|
11128
|
+
end
|
11093
11129
|
|
11094
11130
|
# reduce 639 omitted
|
11095
11131
|
|