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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fe94228dc0622091501dfb99f5fe522983b9ac8daa618eaf50e8925ce818aae
4
- data.tar.gz: f40651573fa4769fdb77e2bdddc1429aa7b5a02c78753bf762311fac18d37dc7
3
+ metadata.gz: 1a1091cb2c6708b4fc4565e0beee0249ecb71356c65df5aaca422151fc4f4208
4
+ data.tar.gz: e84c6c57564b5d685991ca9889adcbbc9840fd6ad614ece42865cd6bfc8ff4bb
5
5
  SHA512:
6
- metadata.gz: 52eeaa22c91a134e7d61fd11d8ecf366b6634f80940450802460f57dcd2e1483cfdfabc455007b11c3bf468974d24c78641b0c0cd677d366070a11da7da63acc
7
- data.tar.gz: f517db6a7e6bb364638a6aa3c81b6304d6b1b90b6e92702675b4a601badb117efdf5254ff753675274d6ed95b9db097f1ef7d82c601b7b664ae35ff76e4d6415
6
+ metadata.gz: ecfb9fac2cf9c3ee2fb700ffbf1ae370442ce58fb8edc70563837a8eb87e354db670b62a30721bb5770dfda77ef1c000c3c3f6dfc5f2f4263a668b7770847544
7
+ data.tar.gz: 04e714616f46cdb11cc22f84bf1b5a3aa4d64e8395b8f2336804ca3137b5c6ceeac3ef5d9388845f7f11b2d4823948f5ec3fa04c801d9c4b13e1e95b7184abea
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 3.20.1 / 2023-05-16
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Fixes Sexp#line_max in parser for many constructs: paren_args, arrays of various sorts, calls, classes, modules, etc.
6
+
1
7
  === 3.20.0 / 2023-03-04
2
8
 
3
9
  * 1 major enhancement:
data/lib/ruby20_parser.rb CHANGED
@@ -119,7 +119,7 @@ racc_action_table = [
119
119
  231, 549, -618, -618, 653, -618, -618, -618, -618, -618,
120
120
  780, -301, 604, 603, 602, 709, 605, 715, -301, 609,
121
121
  900, 901, 718, 231, 902, 121, 122, -301, 618, 617,
122
- 621, 620, 725, -618, -618, -618, -618, -618, -618, -618,
122
+ 621, 620, 231, -618, -618, -618, -618, -618, -618, -618,
123
123
  -618, -618, -618, -618, -618, -618, -618, 227, 775, -618,
124
124
  -618, -618, -301, 668, 748, 726, 517, -618, 729, -301,
125
125
  -618, 718, 718, 750, 614, -618, 571, -618, -301, -618,
@@ -5181,7 +5181,7 @@ racc_action_pointer = [
5181
5181
  nil, nil, 16550, 1321, 825, 823, 829, nil, nil, 830,
5182
5182
  16686, 834, 16822, 24420, 24488, 893, 871, nil, nil, 16958,
5183
5183
  846, nil, 17094, 17230, 17366, 24556, 24624, 1398, 2656, 17502,
5184
- 970, 973, 857, nil, nil, 403, 452, 897, 902, nil,
5184
+ 970, 973, 857, nil, nil, 403, 452, 866, 902, nil,
5185
5185
  587, 928, 3067, 1006, nil, 3204, 125, 1012, 1013, 1010,
5186
5186
  1027, nil, nil, 17638, 24692, 24760, 98, nil, 308, 329,
5187
5187
  169, nil, 929, nil, 933, 17774, nil, 951, nil, nil,
@@ -5292,7 +5292,7 @@ racc_action_default = [
5292
5292
  -610, -16, -627, -20, -640, -628, -81, -299, -97, -86,
5293
5293
  -640, -628, -639, -640, -640, -107, -640, -519, -520, -640,
5294
5294
  -93, -98, -640, -640, -640, -640, -640, -249, -241, -640,
5295
- -457, -640, -628, -296, -251, -632, -632, -640, -640, -604,
5295
+ -457, -640, -628, -296, -251, -632, -632, -628, -640, -604,
5296
5296
  -632, -640, -639, -363, -364, -639, -640, -640, -640, -640,
5297
5297
  -640, -358, -452, -639, -640, -640, -301, -59, -118, -119,
5298
5298
  -640, -121, -640, -291, -639, -640, -332, -543, -336, -621,
@@ -5352,71 +5352,71 @@ racc_goto_table = [
5352
5352
  377, 444, 128, 273, 347, 275, 551, 4, 352, 353,
5353
5353
  570, 349, 350, 313, 504, 354, 451, 457, 9, 714,
5354
5354
  341, 282, 286, 416, 9, 124, 327, 136, 217, 514,
5355
- 405, 426, 429, 144, 144, 540, 850, 442, 562, 565,
5356
- 756, 125, 463, 856, 840, 129, 888, 498, 891, 232,
5357
- 330, 312, 594, 309, 781, 505, 293, 293, 293, 774,
5358
- 348, 348, 141, 685, 348, 500, 917, 601, 128, 311,
5359
- 747, 967, 969, 693, 411, 412, 413, 414, 343, 1022,
5360
- 277, 285, 287, 386, 826, 388, 390, 393, 396, 399,
5361
- 402, 355, 141, 386, 385, 657, 466, 435, 720, 723,
5362
- 435, 1, 2, 727, 403, 435, 289, 301, 302, 135,
5363
- 292, 292, 292, 881, 1006, 441, 690, 1008, 634, 690,
5364
- 462, 637, 646, 348, 348, 348, 348, 584, 839, 586,
5365
- 929, 695, 524, 216, 364, 764, 765, 418, 731, 857,
5355
+ 405, 756, 850, 144, 144, 540, 309, 442, 562, 565,
5356
+ 856, 125, 463, 498, 840, 129, 888, 891, 747, 232,
5357
+ 330, 312, 426, 429, 781, 505, 293, 293, 293, 774,
5358
+ 348, 348, 141, 685, 348, 500, 967, 594, 128, 311,
5359
+ 969, 1006, 1008, 693, 411, 412, 413, 414, 343, 1022,
5360
+ 277, 285, 287, 386, 1, 388, 390, 393, 396, 399,
5361
+ 402, 355, 141, 386, 917, 657, 466, 435, 2, 385,
5362
+ 435, 826, 584, 601, 586, 435, 289, 301, 302, 403,
5363
+ 292, 292, 292, 720, 723, 441, 690, 881, 727, 690,
5364
+ 462, 135, 646, 348, 348, 348, 348, 634, 839, 929,
5365
+ 637, 695, 524, 216, 364, 764, 765, 418, 731, 857,
5366
5366
  274, 9, 683, 648, 339, 557, 682, 381, 558, 362,
5367
- 415, 751, 1022, 378, 510, 588, 342, 344, 552, 345,
5368
- 346, 19, 409, 365, 629, 868, 631, 19, 585, 635,
5369
- 870, 1001, 635, 367, 755, 920, 587, 526, 759, 951,
5370
- 968, 919, 233, 921, 514, 1005, 291, 592, 877, 1048,
5371
- 967, 233, 233, 233, 383, 19, 318, 318, 761, 507,
5372
- 508, 831, 1070, 861, 680, 1008, 1036, 738, 846, 931,
5373
- 553, 468, 445, 461, 439, 440, 1018, 452, 693, 384,
5374
- 894, 19, 464, 465, 736, 774, 233, 233, 387, 897,
5375
- 233, 359, 389, 423, 699, 928, 891, 392, 866, 829,
5376
- 291, 291, 888, 708, 395, 424, 434, 677, 398, 434,
5377
- 291, 401, 899, 888, 434, 786, 787, 312, 404, 451,
5378
- 457, 869, 762, 690, 690, 886, 445, 883, 327, 1016,
5379
- 591, nil, 982, nil, nil, nil, nil, 601, nil, nil,
5380
- 513, 513, 693, 687, 19, 327, 463, nil, 442, 233,
5367
+ 415, 751, 1022, 378, 510, 588, 342, 344, 552, 1070,
5368
+ 1008, 19, 409, 345, 629, 346, 631, 19, 365, 635,
5369
+ 868, 585, 635, 870, 1001, 367, 755, 526, 587, 920,
5370
+ 759, 951, 233, 968, 514, 967, 291, 1048, 919, 921,
5371
+ 1005, 233, 233, 233, 592, 19, 318, 318, 877, 383,
5372
+ 761, 507, 508, 831, 861, 680, 1036, 738, 725, 846,
5373
+ 553, 468, 445, 461, 439, 440, 866, 452, 693, 931,
5374
+ 894, 19, 464, 465, 736, 774, 233, 233, 384, 897,
5375
+ 233, 359, 387, 423, 699, 891, 389, 392, 395, 829,
5376
+ 291, 291, 888, 708, 1018, 424, 434, 677, 398, 434,
5377
+ 291, 401, 928, 888, 434, 899, 786, 312, 787, 451,
5378
+ 457, 404, 869, 690, 690, 886, 445, 883, 327, 1016,
5379
+ 591, nil, nil, nil, nil, nil, 982, 762, nil, 687,
5380
+ 513, 513, 693, nil, 19, 327, 463, nil, 442, 233,
5381
5381
  233, 233, 233, 19, 536, 566, 533, 428, 428, nil,
5382
- 128, nil, nil, 293, nil, nil, nil, 541, nil, 701,
5383
- nil, 1037, 293, nil, 545, nil, 282, 1028, nil, 327,
5384
- 286, 327, 523, 521, 704, 312, 529, 309, 820, nil,
5385
- 312, 671, 309, 554, 559, 888, 704, 574, nil, 522,
5386
- nil, nil, 1067, 525, 348, 774, 774, nil, 531, nil,
5382
+ 128, nil, nil, 293, nil, nil, nil, 541, 1037, 701,
5383
+ 309, nil, 293, 601, 545, 309, 282, 1028, nil, 327,
5384
+ 286, 327, 523, 521, 704, 312, 529, nil, 820, nil,
5385
+ 312, 671, nil, 554, 559, 888, 704, 574, 1067, 522,
5386
+ nil, nil, nil, 525, 348, 774, 774, nil, 531, nil,
5387
5387
  739, 128, 836, 506, nil, nil, 710, 292, nil, nil,
5388
5388
  nil, nil, 509, nil, nil, 704, 292, 567, 568, 556,
5389
5389
  560, 684, nil, nil, 569, 688, nil, 19, 233, 432,
5390
5390
  233, 233, 432, 233, nil, nil, nil, 432, 233, 233,
5391
- 862, 697, 934, 887, nil, 889, nil, 700, nil, nil,
5392
- 810, 19, 835, nil, 1002, 141, 815, nil, nil, nil,
5391
+ 862, 697, nil, nil, nil, 1002, nil, 700, nil, nil,
5392
+ 810, 19, 835, nil, nil, 141, 815, 934, nil, nil,
5393
5393
  654, 789, 696, nil, 789, 658, nil, nil, 719, 871,
5394
- 872, nil, 956, 555, nil, 833, 873, 874, nil, nil,
5394
+ 872, nil, 956, 555, nil, 833, nil, nil, nil, nil,
5395
5395
  797, nil, 291, nil, 647, 513, 513, 233, 233, 664,
5396
- 144, 601, 601, 665, nil, 451, 457, 233, 907, 670,
5397
- 918, nil, nil, 972, 973, nil, 461, nil, 445, nil,
5396
+ 144, 873, 874, 665, nil, 451, 457, 233, 907, 670,
5397
+ nil, nil, nil, 972, 973, nil, 461, nil, 445, nil,
5398
5398
  452, nil, nil, 774, 774, 19, nil, 678, 693, 19,
5399
- 717, nil, nil, 318, 19, 807, 809, nil, nil, nil,
5399
+ 717, nil, nil, 318, 19, 807, 809, 601, 601, nil,
5400
5400
  nil, 812, 814, nil, 327, nil, 734, 735, 664, 737,
5401
5401
  318, nil, 665, 327, 291, nil, nil, nil, 1061, nil,
5402
5402
  nil, 19, 663, nil, nil, nil, 541, nil, 669, nil,
5403
5403
  233, 19, 19, nil, 690, 541, 744, nil, 943, nil,
5404
- 445, 461, nil, nil, 582, 452, 582, 867, 847, 435,
5404
+ 445, 461, nil, nil, 582, 452, 582, 867, 658, 435,
5405
5405
  nil, nil, 944, 461, nil, 291, 689, 452, 435, 435,
5406
- 704, 833, 713, 953, 435, 435, nil, nil, nil, nil,
5406
+ 704, 833, 713, 953, 435, 435, nil, nil, nil, 847,
5407
5407
  941, 681, nil, 806, 808, 1049, nil, nil, nil, 811,
5408
5408
  813, 445, 461, 732, nil, nil, 452, nil, nil, nil,
5409
- nil, nil, 753, nil, nil, nil, nil, 728, 754, 838,
5410
- 730, nil, nil, 1009, 760, nil, nil, nil, nil, nil,
5409
+ nil, 887, 753, 889, nil, nil, nil, 728, 754, 838,
5410
+ 730, nil, nil, nil, 760, nil, nil, nil, nil, nil,
5411
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
5411
5412
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
5412
- 1019, nil, nil, 1020, nil, nil, nil, nil, nil, nil,
5413
5413
  nil, nil, nil, nil, nil, 291, nil, 909, nil, nil,
5414
- 988, 828, nil, nil, nil, 995, 876, nil, nil, 233,
5414
+ 988, 828, nil, nil, nil, 995, 876, nil, 918, 233,
5415
5415
  807, 809, 814, 812, 6, 141, 882, nil, nil, nil,
5416
5416
  nil, 445, 461, nil, nil, nil, 452, 898, 658, nil,
5417
5417
  nil, 793, 327, 1038, nil, 858, nil, nil, nil, 827,
5418
5418
  nil, nil, 9, 327, 794, 1039, 1040, nil, 822, nil,
5419
- 144, nil, 658, nil, 541, nil, 1072, 513, 434, nil,
5419
+ 144, nil, 658, nil, 541, nil, nil, 513, 434, nil,
5420
5420
  435, 19, nil, 805, 875, 837, nil, 434, 434, 318,
5421
5421
  nil, 233, 664, 434, 434, 908, 665, 914, 318, 670,
5422
5422
  nil, nil, 844, nil, 848, nil, nil, nil, 233, nil,
@@ -5425,16 +5425,16 @@ racc_goto_table = [
5425
5425
  nil, nil, 233, 880, nil, 461, nil, nil, 445, 949,
5426
5426
  nil, 452, nil, nil, 233, 849, 141, 955, nil, nil,
5427
5427
  233, nil, nil, nil, nil, nil, nil, nil, nil, 863,
5428
- 966, nil, nil, 768, 770, 772, nil, nil, 658, 935,
5429
- nil, nil, nil, nil, nil, 938, nil, nil, nil, nil,
5430
- nil, nil, 942, nil, nil, nil, nil, nil, nil, nil,
5428
+ 966, 1009, nil, 768, 770, 772, nil, nil, 658, 935,
5429
+ nil, nil, nil, nil, nil, 938, nil, nil, 1019, nil,
5430
+ nil, 1020, 942, nil, nil, nil, nil, nil, nil, nil,
5431
5431
  947, 948, nil, 513, 428, 880, nil, 936, nil, nil,
5432
5432
  nil, nil, 904, nil, nil, 19, nil, 1062, nil, nil,
5433
5433
  nil, 432, 233, 945, nil, nil, nil, nil, nil, 822,
5434
5434
  432, 432, 704, nil, nil, nil, 432, 432, nil, 434,
5435
5435
  nil, nil, nil, nil, 933, nil, nil, nil, 658, nil,
5436
5436
  nil, 926, nil, nil, 1015, nil, 348, 914, nil, nil,
5437
- 914, nil, 914, nil, nil, nil, nil, 318, 930, nil,
5437
+ 914, nil, 914, nil, 1072, nil, nil, 318, 930, nil,
5438
5438
  nil, nil, 348, 999, nil, nil, nil, 946, 318, nil,
5439
5439
  937, 950, nil, nil, nil, nil, nil, 327, nil, nil,
5440
5440
  nil, nil, nil, nil, nil, nil, 327, nil, nil, nil,
@@ -5728,71 +5728,71 @@ racc_goto_check = [
5728
5728
  70, 36, 116, 169, 100, 38, 12, 2, 42, 42,
5729
5729
  111, 24, 24, 63, 52, 24, 50, 50, 9, 15,
5730
5730
  40, 83, 83, 10, 9, 5, 77, 22, 22, 85,
5731
- 70, 29, 29, 73, 73, 65, 105, 75, 104, 104,
5732
- 119, 8, 75, 107, 17, 7, 207, 170, 211, 27,
5733
- 64, 14, 168, 59, 145, 36, 82, 82, 82, 144,
5734
- 31, 31, 71, 53, 31, 50, 156, 202, 116, 60,
5735
- 68, 143, 146, 216, 24, 24, 24, 24, 9, 212,
5736
- 51, 51, 51, 6, 158, 6, 6, 6, 6, 6,
5737
- 6, 5, 71, 6, 186, 37, 61, 25, 81, 81,
5738
- 25, 1, 3, 81, 186, 25, 58, 58, 58, 11,
5739
- 80, 80, 80, 160, 162, 33, 86, 163, 190, 86,
5740
- 33, 190, 13, 31, 31, 31, 31, 69, 16, 69,
5741
- 18, 20, 21, 23, 26, 151, 151, 32, 43, 45,
5731
+ 70, 119, 105, 73, 73, 65, 59, 75, 104, 104,
5732
+ 107, 8, 75, 170, 17, 7, 207, 211, 68, 27,
5733
+ 64, 14, 29, 29, 145, 36, 82, 82, 82, 144,
5734
+ 31, 31, 71, 53, 31, 50, 143, 168, 116, 60,
5735
+ 146, 162, 163, 216, 24, 24, 24, 24, 9, 212,
5736
+ 51, 51, 51, 6, 1, 6, 6, 6, 6, 6,
5737
+ 6, 5, 71, 6, 156, 37, 61, 25, 3, 186,
5738
+ 25, 158, 69, 202, 69, 25, 58, 58, 58, 186,
5739
+ 80, 80, 80, 81, 81, 33, 86, 160, 81, 86,
5740
+ 33, 11, 13, 31, 31, 31, 31, 190, 16, 18,
5741
+ 190, 20, 21, 23, 26, 151, 151, 32, 43, 45,
5742
5742
  49, 9, 55, 74, 78, 79, 84, 96, 99, 113,
5743
- 9, 115, 212, 120, 61, 121, 122, 123, 124, 125,
5744
- 126, 35, 7, 127, 191, 128, 191, 35, 129, 191,
5745
- 130, 131, 191, 132, 133, 160, 134, 61, 135, 136,
5746
- 147, 148, 35, 154, 85, 161, 46, 164, 165, 146,
5747
- 143, 35, 35, 35, 166, 35, 35, 35, 167, 172,
5748
- 173, 175, 162, 176, 178, 163, 179, 180, 181, 182,
5749
- 61, 38, 6, 71, 31, 31, 156, 83, 216, 185,
5750
- 145, 35, 31, 31, 111, 144, 35, 35, 187, 144,
5751
- 35, 35, 188, 14, 65, 158, 211, 189, 68, 53,
5752
- 46, 46, 207, 65, 192, 27, 27, 36, 193, 27,
5753
- 46, 194, 195, 207, 27, 196, 197, 14, 200, 50,
5754
- 50, 201, 168, 86, 86, 206, 6, 208, 77, 209,
5755
- 215, nil, 160, nil, nil, nil, nil, 202, nil, nil,
5756
- 6, 6, 216, 170, 35, 77, 75, nil, 75, 35,
5743
+ 9, 115, 212, 120, 61, 121, 122, 123, 124, 162,
5744
+ 163, 35, 7, 125, 191, 126, 191, 35, 127, 191,
5745
+ 128, 129, 191, 130, 131, 132, 133, 61, 134, 160,
5746
+ 135, 136, 35, 147, 85, 143, 46, 146, 148, 154,
5747
+ 161, 35, 35, 35, 164, 35, 35, 35, 165, 166,
5748
+ 167, 172, 173, 175, 176, 178, 179, 180, 37, 181,
5749
+ 61, 38, 6, 71, 31, 31, 68, 83, 216, 182,
5750
+ 145, 35, 31, 31, 111, 144, 35, 35, 185, 144,
5751
+ 35, 35, 187, 14, 65, 211, 188, 189, 192, 53,
5752
+ 46, 46, 207, 65, 156, 27, 27, 36, 193, 27,
5753
+ 46, 194, 158, 207, 27, 195, 196, 14, 197, 50,
5754
+ 50, 200, 201, 86, 86, 206, 6, 208, 77, 209,
5755
+ 215, nil, nil, nil, nil, nil, 160, 168, nil, 170,
5756
+ 6, 6, 216, nil, 35, 77, 75, nil, 75, 35,
5757
5757
  35, 35, 35, 35, 40, 24, 38, 80, 80, nil,
5758
- 116, nil, nil, 82, nil, nil, nil, 63, nil, 36,
5759
- nil, 107, 82, nil, 38, nil, 83, 17, nil, 77,
5760
- 83, 77, 9, 5, 50, 14, 64, 59, 37, nil,
5761
- 14, 61, 59, 6, 6, 207, 50, 38, nil, 8,
5762
- nil, nil, 105, 60, 31, 144, 144, nil, 60, nil,
5758
+ 116, nil, nil, 82, nil, nil, nil, 63, 107, 36,
5759
+ 59, nil, 82, 202, 38, 59, 83, 17, nil, 77,
5760
+ 83, 77, 9, 5, 50, 14, 64, nil, 37, nil,
5761
+ 14, 61, nil, 6, 6, 207, 50, 38, 105, 8,
5762
+ nil, nil, nil, 60, 31, 144, 144, nil, 60, nil,
5763
5763
  36, 116, 37, 58, nil, nil, 75, 80, nil, nil,
5764
5764
  nil, nil, 58, nil, nil, 50, 80, 14, 14, 82,
5765
5765
  82, 61, nil, nil, 5, 61, nil, 35, 35, 35,
5766
5766
  35, 35, 35, 35, nil, nil, nil, 35, 35, 35,
5767
- 37, 61, 81, 157, nil, 157, nil, 61, nil, nil,
5768
- 52, 35, 65, nil, 119, 71, 52, nil, nil, nil,
5767
+ 37, 61, nil, nil, nil, 119, nil, 61, nil, nil,
5768
+ 52, 35, 65, nil, nil, 71, 52, 81, nil, nil,
5769
5769
  38, 191, 10, nil, 191, 40, nil, nil, 61, 12,
5770
- 12, nil, 151, 80, nil, 85, 168, 168, nil, nil,
5770
+ 12, nil, 151, 80, nil, 85, nil, nil, nil, nil,
5771
5771
  36, nil, 46, nil, 22, 6, 6, 35, 35, 6,
5772
- 73, 202, 202, 83, nil, 50, 50, 35, 37, 83,
5773
- 157, nil, nil, 151, 151, nil, 71, nil, 6, nil,
5772
+ 73, 168, 168, 83, nil, 50, 50, 35, 37, 83,
5773
+ nil, nil, nil, 151, 151, nil, 71, nil, 6, nil,
5774
5774
  83, nil, nil, 144, 144, 35, nil, 40, 216, 35,
5775
- 98, nil, nil, 35, 35, 75, 75, nil, nil, nil,
5775
+ 98, nil, nil, 35, 35, 75, 75, 202, 202, nil,
5776
5776
  nil, 75, 75, nil, 77, nil, 98, 98, 6, 98,
5777
5777
  35, nil, 83, 77, 46, nil, nil, nil, 15, nil,
5778
5778
  nil, 35, 51, nil, nil, nil, 63, nil, 51, nil,
5779
5779
  35, 35, 35, nil, 86, 63, 42, nil, 37, nil,
5780
- 6, 71, nil, nil, 35, 83, 35, 36, 29, 25,
5780
+ 6, 71, nil, nil, 35, 83, 35, 36, 40, 25,
5781
5781
  nil, nil, 12, 71, nil, 46, 82, 83, 25, 25,
5782
- 50, 85, 31, 12, 25, 25, nil, nil, nil, nil,
5782
+ 50, 85, 31, 12, 25, 25, nil, nil, nil, 29,
5783
5783
  104, 51, nil, 33, 33, 151, nil, nil, nil, 33,
5784
5784
  33, 6, 71, 116, nil, nil, 83, nil, nil, nil,
5785
- nil, nil, 6, nil, nil, nil, nil, 14, 31, 61,
5786
- 14, nil, nil, 157, 31, nil, nil, nil, nil, nil,
5785
+ nil, 157, 6, 157, nil, nil, nil, 14, 31, 61,
5786
+ 14, nil, nil, nil, 31, nil, nil, nil, nil, nil,
5787
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
5787
5788
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
5788
- 157, nil, nil, 157, nil, nil, nil, nil, nil, nil,
5789
5789
  nil, nil, nil, nil, nil, 46, nil, 75, nil, nil,
5790
- 104, 100, nil, nil, nil, 104, 61, nil, nil, 35,
5790
+ 104, 100, nil, nil, nil, 104, 61, nil, 157, 35,
5791
5791
  75, 75, 75, 75, 6, 71, 150, nil, nil, nil,
5792
5792
  nil, 6, 71, nil, nil, nil, 83, 61, 40, nil,
5793
5793
  nil, 2, 77, 111, nil, 98, nil, nil, nil, 169,
5794
5794
  nil, nil, 9, 77, 22, 12, 12, nil, 6, nil,
5795
- 73, nil, 40, nil, 63, nil, 157, 6, 27, nil,
5795
+ 73, nil, 40, nil, 63, nil, nil, 6, 27, nil,
5796
5796
  25, 35, nil, 82, 70, 63, nil, 27, 27, 35,
5797
5797
  nil, 35, 6, 27, 27, 33, 83, 150, 35, 83,
5798
5798
  nil, nil, 6, nil, 6, nil, nil, nil, 35, nil,
@@ -5801,16 +5801,16 @@ racc_goto_check = [
5801
5801
  nil, nil, 35, 40, nil, 71, nil, nil, 6, 61,
5802
5802
  nil, 83, nil, nil, 35, 82, 71, 61, nil, nil,
5803
5803
  35, nil, nil, nil, nil, nil, nil, nil, nil, 14,
5804
- 61, nil, nil, 205, 205, 205, nil, nil, 40, 98,
5805
- nil, nil, nil, nil, nil, 98, nil, nil, nil, nil,
5806
- nil, nil, 98, nil, nil, nil, nil, nil, nil, nil,
5804
+ 61, 157, nil, 205, 205, 205, nil, nil, 40, 98,
5805
+ nil, nil, nil, nil, nil, 98, nil, nil, 157, nil,
5806
+ nil, 157, 98, nil, nil, nil, nil, nil, nil, nil,
5807
5807
  98, 98, nil, 6, 80, 40, nil, 24, nil, nil,
5808
5808
  nil, nil, 14, nil, nil, 35, nil, 36, nil, nil,
5809
5809
  nil, 35, 35, 24, nil, nil, nil, nil, nil, 6,
5810
5810
  35, 35, 50, nil, nil, nil, 35, 35, nil, 27,
5811
5811
  nil, nil, nil, nil, 6, nil, nil, nil, 40, nil,
5812
5812
  nil, 14, nil, nil, 150, nil, 31, 150, nil, nil,
5813
- 150, nil, 150, nil, nil, nil, nil, 35, 14, nil,
5813
+ 150, nil, 150, nil, 157, nil, nil, 35, 14, nil,
5814
5814
  nil, nil, 31, 98, nil, nil, nil, 116, 35, nil,
5815
5815
  14, 116, nil, nil, nil, nil, nil, 77, nil, nil,
5816
5816
  nil, nil, nil, nil, nil, nil, 77, nil, nil, nil,
@@ -6100,28 +6100,28 @@ racc_goto_check = [
6100
6100
  67 ]
6101
6101
 
6102
6102
  racc_goto_pointer = [
6103
- nil, 111, 15, 112, nil, 30, -2, 47, 46, 26,
6104
- -102, 109, -326, -285, 25, -521, -576, -660, -699, nil,
6105
- -381, -166, 26, 131, -46, -113, 72, 36, 1554, -178,
6103
+ nil, 94, 15, 108, nil, 30, -2, 47, 46, 26,
6104
+ -102, 121, -326, -285, 25, -521, -576, -660, -700, nil,
6105
+ -381, -166, 26, 131, -46, -113, 72, 36, 1554, -157,
6106
6106
  833, 3, 11, -98, 2024, 169, -213, -339, -12, 2346,
6107
6107
  -19, 1847, -51, -418, nil, -582, -28, nil, nil, 123,
6108
- -199, 61, -253, -434, 926, -351, nil, 1195, 84, 27,
6109
- 43, -124, nil, -14, 22, -286, 2687, 2728, -500, -228,
6108
+ -199, 61, -253, -434, 926, -351, nil, 1195, 84, 10,
6109
+ 43, -124, nil, -14, 22, -286, 2687, 2728, -522, -253,
6110
6110
  -65, -3, nil, 32, -269, -176, nil, -36, 107, -190,
6111
- 88, -447, 34, 2, -344, -254, -386, nil, nil, nil,
6111
+ 88, -432, 34, 2, -344, -254, -386, nil, nil, nil,
6112
6112
  nil, nil, nil, nil, nil, nil, 82, nil, -71, -188,
6113
- -51, nil, nil, nil, -301, -682, nil, -677, nil, nil,
6114
- nil, -335, nil, 87, nil, -423, 7, nil, nil, -537,
6115
- 88, -213, 105, 105, -175, 106, 106, 100, -576, -188,
6116
- -574, -765, 109, -402, -191, -400, -686, nil, nil, nil,
6117
- nil, nil, nil, -814, -540, -545, -814, -705, -633, nil,
6118
- -117, -450, 146, 118, -631, 256, -748, -364, -586, nil,
6119
- -639, -759, -830, -827, -186, -563, 115, -384, -321, -12,
6120
- -215, nil, -74, -74, nil, -475, -525, nil, -285, -782,
6121
- -355, -498, -627, nil, nil, 137, 9, 141, 144, 148,
6122
- -264, -213, 154, 157, 159, -524, -361, -361, nil, nil,
6123
- 163, -481, -306, nil, nil, 175, -492, -711, -486, -692,
6124
- nil, -711, -888, nil, nil, -102, -432 ]
6113
+ -51, nil, nil, nil, -301, -686, nil, -680, nil, nil,
6114
+ nil, -335, nil, 87, nil, -423, 7, nil, nil, -546,
6115
+ 88, -213, 105, 105, -175, 110, 111, 105, -571, -185,
6116
+ -571, -762, 111, -400, -189, -398, -684, nil, nil, nil,
6117
+ nil, nil, nil, -819, -540, -545, -816, -702, -626, nil,
6118
+ -117, -450, 146, 118, -625, 256, -720, -186, -569, nil,
6119
+ -635, -754, -873, -872, -179, -553, 120, -382, -306, -12,
6120
+ -219, nil, -72, -72, nil, -473, -524, nil, -284, -782,
6121
+ -355, -497, -617, nil, nil, 146, 14, 145, 148, 148,
6122
+ -255, -213, 148, 157, 159, -521, -360, -359, nil, nil,
6123
+ 166, -480, -270, nil, nil, 175, -492, -711, -486, -692,
6124
+ nil, -712, -888, nil, nil, -102, -432 ]
6125
6125
 
6126
6126
  racc_goto_default = [
6127
6127
  nil, nil, nil, nil, 5, nil, 304, 7, 356, 307,
@@ -6778,8 +6778,8 @@ racc_reduce_table = [
6778
6778
  1, 148, :_reduce_none,
6779
6779
  0, 183, :_reduce_none,
6780
6780
  1, 183, :_reduce_none,
6781
- 2, 204, :_reduce_none,
6782
- 2, 180, :_reduce_none,
6781
+ 2, 204, :_reduce_630,
6782
+ 2, 180, :_reduce_631,
6783
6783
  0, 224, :_reduce_none,
6784
6784
  1, 224, :_reduce_none,
6785
6785
  1, 224, :_reduce_none,
@@ -7557,6 +7557,7 @@ end
7557
7557
 
7558
7558
  def _reduce_38(val, _values, result)
7559
7559
  lhs, _, rhs = val
7560
+
7560
7561
  result = new_assign lhs, s(:svalue, rhs).line(rhs.line)
7561
7562
 
7562
7563
  result
@@ -8686,8 +8687,10 @@ def _reduce_256(val, _values, result)
8686
8687
  end
8687
8688
 
8688
8689
  def _reduce_257(val, _values, result)
8689
- _, args, _ = val
8690
+ _, args, (_, line_max) = val
8691
+
8690
8692
  result = args
8693
+ result.line_max = line_max if args
8691
8694
 
8692
8695
  result
8693
8696
  end
@@ -8956,10 +8959,12 @@ def _reduce_302(val, _values, result)
8956
8959
  end
8957
8960
 
8958
8961
  def _reduce_303(val, _values, result)
8959
- _, line, args, _ = val
8962
+ _, line, args, (_, line_max) = val
8963
+
8960
8964
  result = args || s(:array)
8961
8965
  result.sexp_type = :array # aref_args is :args
8962
8966
  result.line line
8967
+ result.line_max = line_max
8963
8968
 
8964
8969
  result
8965
8970
  end
@@ -9745,15 +9750,21 @@ end
9745
9750
  def _reduce_429(val, _values, result)
9746
9751
  call, args = val
9747
9752
 
9748
- result = call.concat args.sexp_body if args
9753
+ result = call
9754
+
9755
+ if args then
9756
+ call.concat args.sexp_body
9757
+ result.line_max = args.line_max
9758
+ end
9749
9759
 
9750
9760
  result
9751
9761
  end
9752
9762
 
9753
9763
  def _reduce_430(val, _values, result)
9754
- recv, call_op, (op, _line), args = val
9764
+ recv, call_op, (op, op_line), args = val
9755
9765
 
9756
9766
  result = new_call recv, op.to_sym, args, call_op
9767
+ result.line_max = op_line unless args
9757
9768
 
9758
9769
  result
9759
9770
  end
@@ -10040,17 +10051,19 @@ def _reduce_474(val, _values, result)
10040
10051
  end
10041
10052
 
10042
10053
  def _reduce_475(val, _values, result)
10043
- (_, line), _, _ = val
10054
+ (_, line), _, (_, line_max) = val
10044
10055
 
10045
10056
  result = s(:array).line line
10057
+ result.line_max = line_max
10046
10058
 
10047
10059
  result
10048
10060
  end
10049
10061
 
10050
10062
  def _reduce_476(val, _values, result)
10051
- (_, line), list, _ = val
10063
+ (_, line), list, (_, line_max) = val
10052
10064
 
10053
10065
  result = list.line line
10066
+ result.line_max = line_max
10054
10067
 
10055
10068
  result
10056
10069
  end
@@ -10076,17 +10089,19 @@ def _reduce_480(val, _values, result)
10076
10089
  end
10077
10090
 
10078
10091
  def _reduce_481(val, _values, result)
10079
- (_, line), _, _ = val
10092
+ (_, line), _, (_, line_max) = val
10080
10093
 
10081
10094
  result = s(:array).line line
10095
+ result.line_max = line_max
10082
10096
 
10083
10097
  result
10084
10098
  end
10085
10099
 
10086
10100
  def _reduce_482(val, _values, result)
10087
- (_, line), list, _, = val
10088
- list.line line
10089
- result = list
10101
+ (_, line), list, (_, line_max), = val
10102
+
10103
+ result = list.line line
10104
+ result.line_max = line_max
10090
10105
 
10091
10106
  result
10092
10107
  end
@@ -10105,33 +10120,37 @@ def _reduce_484(val, _values, result)
10105
10120
  end
10106
10121
 
10107
10122
  def _reduce_485(val, _values, result)
10108
- (_, line), _, _ = val
10123
+ (_, line), _, (_, line_max) = val
10109
10124
 
10110
10125
  result = s(:array).line line
10126
+ result.line_max = line_max
10111
10127
 
10112
10128
  result
10113
10129
  end
10114
10130
 
10115
10131
  def _reduce_486(val, _values, result)
10116
- (_, line), list, _ = val
10132
+ (_, line), list, (_, line_max) = val
10117
10133
 
10118
10134
  result = list.line line
10135
+ result.line_max = line_max
10119
10136
 
10120
10137
  result
10121
10138
  end
10122
10139
 
10123
10140
  def _reduce_487(val, _values, result)
10124
- (_, line), _, _ = val
10141
+ (_, line), _, (_, line_max) = val
10125
10142
 
10126
10143
  result = s(:array).line line
10144
+ result.line_max = line_max
10127
10145
 
10128
10146
  result
10129
10147
  end
10130
10148
 
10131
10149
  def _reduce_488(val, _values, result)
10132
- (_, line), list, _ = val
10150
+ (_, line), list, (_, line_max) = val
10133
10151
 
10134
10152
  result = list.line line
10153
+ result.line_max = line_max
10135
10154
 
10136
10155
  result
10137
10156
  end
@@ -10679,7 +10698,14 @@ def _reduce_575(val, _values, result)
10679
10698
  result = s(:args, list).line list.line
10680
10699
  end
10681
10700
 
10682
- result << (Sexp === item ? item : item.first)
10701
+ if Sexp === item then
10702
+ line_max = item.line_max
10703
+ else
10704
+ item, line_max = item
10705
+ end
10706
+
10707
+ result << item
10708
+ result.line_max = line_max
10683
10709
 
10684
10710
  result
10685
10711
  end
@@ -10937,9 +10963,19 @@ end
10937
10963
 
10938
10964
  # reduce 629 omitted
10939
10965
 
10940
- # reduce 630 omitted
10966
+ def _reduce_630(val, _values, result)
10967
+ _, close = val
10968
+ result = [close, lexer.lineno]
10941
10969
 
10942
- # reduce 631 omitted
10970
+ result
10971
+ end
10972
+
10973
+ def _reduce_631(val, _values, result)
10974
+ _, close = val
10975
+ result = [close, lexer.lineno]
10976
+
10977
+ result
10978
+ end
10943
10979
 
10944
10980
  # reduce 632 omitted
10945
10981