racc 1.4.15 → 1.4.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING +22 -515
- data/Manifest.txt +3 -9
- data/README.ja.rdoc +3 -4
- data/README.rdoc +4 -4
- data/Rakefile +13 -55
- data/bin/racc +2 -4
- data/ext/racc/{cparse.c → cparse/cparse.c} +64 -31
- data/ext/racc/cparse/extconf.rb +8 -0
- data/lib/racc/exception.rb +3 -5
- data/lib/racc/grammar.rb +5 -7
- data/lib/racc/grammarfileparser.rb +4 -3
- data/lib/racc/info.rb +4 -6
- data/lib/racc/iset.rb +2 -2
- data/lib/racc/logfilegenerator.rb +2 -2
- data/lib/racc/parser-text.rb +14 -11
- data/lib/racc/parser.rb +14 -11
- data/lib/racc/parserfilegenerator.rb +5 -7
- data/lib/racc/state.rb +11 -13
- data/test/assets/intp.y +4 -4
- data/test/assets/mailp.y +27 -27
- data/test/assets/mof.y +12 -12
- data/test/assets/nullbug2.y +2 -2
- data/test/assets/recv.y +20 -20
- data/test/assets/syntax.y +1 -1
- data/test/assets/twowaysql.y +1 -1
- data/test/helper.rb +46 -35
- data/test/regress/cadenza +60 -60
- data/test/regress/cast +8 -8
- data/test/regress/csspool +167 -167
- data/test/regress/edtf +115 -115
- data/test/regress/huia +75 -75
- data/test/regress/journey +12 -12
- data/test/regress/liquor +54 -54
- data/test/regress/machete +37 -37
- data/test/regress/mediacloth +83 -83
- data/test/regress/mof +60 -60
- data/test/regress/namae +29 -29
- data/test/regress/nasl +174 -174
- data/test/regress/nokogiri-css +59 -59
- data/test/regress/opal +352 -352
- data/test/regress/php_serialization +20 -20
- data/test/regress/riml +261 -261
- data/test/regress/ruby18 +353 -353
- data/test/regress/ruby22 +433 -433
- data/test/regress/tp_plus +125 -125
- data/test/regress/twowaysql +30 -30
- data/test/test_chk_y.rb +1 -0
- data/test/test_racc_command.rb +5 -24
- data/test/test_scan_y.rb +1 -0
- data/test/testscanner.rb +1 -1
- metadata +9 -76
- data/ext/racc/depend +0 -1
- data/ext/racc/extconf.rb +0 -7
- data/test/assets/bibtex.y +0 -141
- data/test/assets/rdblockparser.y +0 -576
- data/test/assets/rdinlineparser.y +0 -561
- data/test/regress/bibtex +0 -474
- data/test/regress/rdblockparser +0 -1061
- data/test/regress/rdinlineparser +0 -1243
data/test/regress/namae
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.4.
|
4
|
-
# from Racc
|
3
|
+
# This file is automatically generated by Racc 1.4.16.pre.1
|
4
|
+
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
7
7
|
require 'racc/parser.rb'
|
@@ -386,28 +386,28 @@ Racc_debug_parser = false
|
|
386
386
|
|
387
387
|
module_eval(<<'.,.,', 'namae.y', 39)
|
388
388
|
def _reduce_1(val, _values, result)
|
389
|
-
result = []
|
389
|
+
result = []
|
390
390
|
result
|
391
391
|
end
|
392
392
|
.,.,
|
393
393
|
|
394
394
|
module_eval(<<'.,.,', 'namae.y', 40)
|
395
395
|
def _reduce_2(val, _values, result)
|
396
|
-
result = [val[0]]
|
396
|
+
result = [val[0]]
|
397
397
|
result
|
398
398
|
end
|
399
399
|
.,.,
|
400
400
|
|
401
401
|
module_eval(<<'.,.,', 'namae.y', 41)
|
402
402
|
def _reduce_3(val, _values, result)
|
403
|
-
result = val[0] << val[2]
|
403
|
+
result = val[0] << val[2]
|
404
404
|
result
|
405
405
|
end
|
406
406
|
.,.,
|
407
407
|
|
408
408
|
module_eval(<<'.,.,', 'namae.y', 43)
|
409
409
|
def _reduce_4(val, _values, result)
|
410
|
-
result = Name.new(:given => val[0])
|
410
|
+
result = Name.new(:given => val[0])
|
411
411
|
result
|
412
412
|
end
|
413
413
|
.,.,
|
@@ -416,14 +416,14 @@ module_eval(<<'.,.,', 'namae.y', 43)
|
|
416
416
|
|
417
417
|
module_eval(<<'.,.,', 'namae.y', 45)
|
418
418
|
def _reduce_6(val, _values, result)
|
419
|
-
result = val[0].merge(:family => val[1])
|
419
|
+
result = val[0].merge(:family => val[1])
|
420
420
|
result
|
421
421
|
end
|
422
422
|
.,.,
|
423
423
|
|
424
424
|
module_eval(<<'.,.,', 'namae.y', 46)
|
425
425
|
def _reduce_7(val, _values, result)
|
426
|
-
result = val[1].merge(val[0])
|
426
|
+
result = val[1].merge(val[0])
|
427
427
|
result
|
428
428
|
end
|
429
429
|
.,.,
|
@@ -432,14 +432,14 @@ module_eval(<<'.,.,', 'namae.y', 46)
|
|
432
432
|
|
433
433
|
module_eval(<<'.,.,', 'namae.y', 49)
|
434
434
|
def _reduce_9(val, _values, result)
|
435
|
-
result = Name.new(:appellation => val[0])
|
435
|
+
result = Name.new(:appellation => val[0])
|
436
436
|
result
|
437
437
|
end
|
438
438
|
.,.,
|
439
439
|
|
440
440
|
module_eval(<<'.,.,', 'namae.y', 50)
|
441
441
|
def _reduce_10(val, _values, result)
|
442
|
-
result = Name.new(:title => val[0])
|
442
|
+
result = Name.new(:title => val[0])
|
443
443
|
result
|
444
444
|
end
|
445
445
|
.,.,
|
@@ -448,7 +448,7 @@ module_eval(<<'.,.,', 'namae.y', 54)
|
|
448
448
|
def _reduce_11(val, _values, result)
|
449
449
|
result = Name.new(:given => val[0], :family => val[1],
|
450
450
|
:suffix => val[2], :title => val[3])
|
451
|
-
|
451
|
+
|
452
452
|
result
|
453
453
|
end
|
454
454
|
.,.,
|
@@ -457,7 +457,7 @@ module_eval(<<'.,.,', 'namae.y', 59)
|
|
457
457
|
def _reduce_12(val, _values, result)
|
458
458
|
result = Name.new(:given => val[0], :nick => val[1],
|
459
459
|
:family => val[2], :suffix => val[3], :title => val[4])
|
460
|
-
|
460
|
+
|
461
461
|
result
|
462
462
|
end
|
463
463
|
.,.,
|
@@ -467,7 +467,7 @@ module_eval(<<'.,.,', 'namae.y', 64)
|
|
467
467
|
result = Name.new(:given => val[0], :nick => val[1],
|
468
468
|
:particle => val[2], :family => val[3],
|
469
469
|
:suffix => val[4], :title => val[5])
|
470
|
-
|
470
|
+
|
471
471
|
result
|
472
472
|
end
|
473
473
|
.,.,
|
@@ -476,7 +476,7 @@ module_eval(<<'.,.,', 'namae.y', 70)
|
|
476
476
|
def _reduce_14(val, _values, result)
|
477
477
|
result = Name.new(:given => val[0], :particle => val[1],
|
478
478
|
:family => val[2])
|
479
|
-
|
479
|
+
|
480
480
|
result
|
481
481
|
end
|
482
482
|
.,.,
|
@@ -484,7 +484,7 @@ module_eval(<<'.,.,', 'namae.y', 70)
|
|
484
484
|
module_eval(<<'.,.,', 'namae.y', 75)
|
485
485
|
def _reduce_15(val, _values, result)
|
486
486
|
result = Name.new(:particle => val[0], :family => val[1])
|
487
|
-
|
487
|
+
|
488
488
|
result
|
489
489
|
end
|
490
490
|
.,.,
|
@@ -493,7 +493,7 @@ module_eval(<<'.,.,', 'namae.y', 80)
|
|
493
493
|
def _reduce_16(val, _values, result)
|
494
494
|
result = Name.new({ :family => val[0], :suffix => val[2][0],
|
495
495
|
:given => val[2][1] }, !!val[2][0])
|
496
|
-
|
496
|
+
|
497
497
|
result
|
498
498
|
end
|
499
499
|
.,.,
|
@@ -502,7 +502,7 @@ module_eval(<<'.,.,', 'namae.y', 85)
|
|
502
502
|
def _reduce_17(val, _values, result)
|
503
503
|
result = Name.new({ :particle => val[0], :family => val[1],
|
504
504
|
:suffix => val[3][0], :given => val[3][1] }, !!val[3][0])
|
505
|
-
|
505
|
+
|
506
506
|
result
|
507
507
|
end
|
508
508
|
.,.,
|
@@ -511,7 +511,7 @@ module_eval(<<'.,.,', 'namae.y', 90)
|
|
511
511
|
def _reduce_18(val, _values, result)
|
512
512
|
result = Name.new({ :particle => val[0,2].join(' '), :family => val[2],
|
513
513
|
:suffix => val[4][0], :given => val[4][1] }, !!val[4][0])
|
514
|
-
|
514
|
+
|
515
515
|
result
|
516
516
|
end
|
517
517
|
.,.,
|
@@ -520,14 +520,14 @@ module_eval(<<'.,.,', 'namae.y', 90)
|
|
520
520
|
|
521
521
|
module_eval(<<'.,.,', 'namae.y', 96)
|
522
522
|
def _reduce_20(val, _values, result)
|
523
|
-
result = val.join(' ')
|
523
|
+
result = val.join(' ')
|
524
524
|
result
|
525
525
|
end
|
526
526
|
.,.,
|
527
527
|
|
528
528
|
module_eval(<<'.,.,', 'namae.y', 97)
|
529
529
|
def _reduce_21(val, _values, result)
|
530
|
-
result = val.join(' ')
|
530
|
+
result = val.join(' ')
|
531
531
|
result
|
532
532
|
end
|
533
533
|
.,.,
|
@@ -538,28 +538,28 @@ module_eval(<<'.,.,', 'namae.y', 97)
|
|
538
538
|
|
539
539
|
module_eval(<<'.,.,', 'namae.y', 101)
|
540
540
|
def _reduce_24(val, _values, result)
|
541
|
-
result = [nil,val[0]]
|
541
|
+
result = [nil,val[0]]
|
542
542
|
result
|
543
543
|
end
|
544
544
|
.,.,
|
545
545
|
|
546
546
|
module_eval(<<'.,.,', 'namae.y', 102)
|
547
547
|
def _reduce_25(val, _values, result)
|
548
|
-
result = [val[2],val[0]]
|
548
|
+
result = [val[2],val[0]]
|
549
549
|
result
|
550
550
|
end
|
551
551
|
.,.,
|
552
552
|
|
553
553
|
module_eval(<<'.,.,', 'namae.y', 103)
|
554
554
|
def _reduce_26(val, _values, result)
|
555
|
-
result = [val[0],nil]
|
555
|
+
result = [val[0],nil]
|
556
556
|
result
|
557
557
|
end
|
558
558
|
.,.,
|
559
559
|
|
560
560
|
module_eval(<<'.,.,', 'namae.y', 104)
|
561
561
|
def _reduce_27(val, _values, result)
|
562
|
-
result = [val[0],val[2]]
|
562
|
+
result = [val[0],val[2]]
|
563
563
|
result
|
564
564
|
end
|
565
565
|
.,.,
|
@@ -568,7 +568,7 @@ module_eval(<<'.,.,', 'namae.y', 104)
|
|
568
568
|
|
569
569
|
module_eval(<<'.,.,', 'namae.y', 107)
|
570
570
|
def _reduce_29(val, _values, result)
|
571
|
-
result = val.join(' ')
|
571
|
+
result = val.join(' ')
|
572
572
|
result
|
573
573
|
end
|
574
574
|
.,.,
|
@@ -581,7 +581,7 @@ module_eval(<<'.,.,', 'namae.y', 107)
|
|
581
581
|
|
582
582
|
module_eval(<<'.,.,', 'namae.y', 112)
|
583
583
|
def _reduce_33(val, _values, result)
|
584
|
-
result = val.join(' ')
|
584
|
+
result = val.join(' ')
|
585
585
|
result
|
586
586
|
end
|
587
587
|
.,.,
|
@@ -608,7 +608,7 @@ module_eval(<<'.,.,', 'namae.y', 112)
|
|
608
608
|
|
609
609
|
module_eval(<<'.,.,', 'namae.y', 122)
|
610
610
|
def _reduce_44(val, _values, result)
|
611
|
-
result = val.join(' ')
|
611
|
+
result = val.join(' ')
|
612
612
|
result
|
613
613
|
end
|
614
614
|
.,.,
|
@@ -621,7 +621,7 @@ module_eval(<<'.,.,', 'namae.y', 122)
|
|
621
621
|
|
622
622
|
module_eval(<<'.,.,', 'namae.y', 127)
|
623
623
|
def _reduce_48(val, _values, result)
|
624
|
-
result = val.join(' ')
|
624
|
+
result = val.join(' ')
|
625
625
|
result
|
626
626
|
end
|
627
627
|
.,.,
|
@@ -631,4 +631,4 @@ def _reduce_none(val, _values, result)
|
|
631
631
|
end
|
632
632
|
|
633
633
|
end # class Parser
|
634
|
-
|
634
|
+
end # module Namae
|
data/test/regress/nasl
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.4.
|
4
|
-
# from Racc
|
3
|
+
# This file is automatically generated by Racc 1.4.16.pre.1
|
4
|
+
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
7
7
|
require 'racc/parser.rb'
|
@@ -1024,1027 +1024,1027 @@ Racc_debug_parser = false
|
|
1024
1024
|
|
1025
1025
|
module_eval(<<'.,.,', 'nasl.y', 61)
|
1026
1026
|
def _reduce_1(val, _values)
|
1027
|
-
val[0]
|
1027
|
+
val[0]
|
1028
1028
|
end
|
1029
1029
|
.,.,
|
1030
1030
|
|
1031
1031
|
module_eval(<<'.,.,', 'nasl.y', 63)
|
1032
1032
|
def _reduce_2(val, _values)
|
1033
|
-
[]
|
1033
|
+
[]
|
1034
1034
|
end
|
1035
1035
|
.,.,
|
1036
1036
|
|
1037
1037
|
module_eval(<<'.,.,', 'nasl.y', 67)
|
1038
1038
|
def _reduce_3(val, _values)
|
1039
|
-
[val[0]] + val[1]
|
1039
|
+
[val[0]] + val[1]
|
1040
1040
|
end
|
1041
1041
|
.,.,
|
1042
1042
|
|
1043
1043
|
module_eval(<<'.,.,', 'nasl.y', 69)
|
1044
1044
|
def _reduce_4(val, _values)
|
1045
|
-
[val[0]]
|
1045
|
+
[val[0]]
|
1046
1046
|
end
|
1047
1047
|
.,.,
|
1048
1048
|
|
1049
1049
|
module_eval(<<'.,.,', 'nasl.y', 73)
|
1050
1050
|
def _reduce_5(val, _values)
|
1051
|
-
c(*val)
|
1051
|
+
c(*val)
|
1052
1052
|
end
|
1053
1053
|
.,.,
|
1054
1054
|
|
1055
1055
|
module_eval(<<'.,.,', 'nasl.y', 75)
|
1056
1056
|
def _reduce_6(val, _values)
|
1057
|
-
val[0]
|
1057
|
+
val[0]
|
1058
1058
|
end
|
1059
1059
|
.,.,
|
1060
1060
|
|
1061
1061
|
module_eval(<<'.,.,', 'nasl.y', 77)
|
1062
1062
|
def _reduce_7(val, _values)
|
1063
|
-
c(*val)
|
1063
|
+
c(*val)
|
1064
1064
|
end
|
1065
1065
|
.,.,
|
1066
1066
|
|
1067
1067
|
module_eval(<<'.,.,', 'nasl.y', 79)
|
1068
1068
|
def _reduce_8(val, _values)
|
1069
|
-
val[0]
|
1069
|
+
val[0]
|
1070
1070
|
end
|
1071
1071
|
.,.,
|
1072
1072
|
|
1073
1073
|
module_eval(<<'.,.,', 'nasl.y', 81)
|
1074
1074
|
def _reduce_9(val, _values)
|
1075
|
-
val[0]
|
1075
|
+
val[0]
|
1076
1076
|
end
|
1077
1077
|
.,.,
|
1078
1078
|
|
1079
1079
|
module_eval(<<'.,.,', 'nasl.y', 85)
|
1080
1080
|
def _reduce_10(val, _values)
|
1081
|
-
val[0]
|
1081
|
+
val[0]
|
1082
1082
|
end
|
1083
1083
|
.,.,
|
1084
1084
|
|
1085
1085
|
module_eval(<<'.,.,', 'nasl.y', 87)
|
1086
1086
|
def _reduce_11(val, _values)
|
1087
|
-
val[0]
|
1087
|
+
val[0]
|
1088
1088
|
end
|
1089
1089
|
.,.,
|
1090
1090
|
|
1091
1091
|
module_eval(<<'.,.,', 'nasl.y', 95)
|
1092
1092
|
def _reduce_12(val, _values)
|
1093
|
-
n(:Export, *val)
|
1093
|
+
n(:Export, *val)
|
1094
1094
|
end
|
1095
1095
|
.,.,
|
1096
1096
|
|
1097
1097
|
module_eval(<<'.,.,', 'nasl.y', 99)
|
1098
1098
|
def _reduce_13(val, _values)
|
1099
|
-
n(:Function, *val)
|
1099
|
+
n(:Function, *val)
|
1100
1100
|
end
|
1101
1101
|
.,.,
|
1102
1102
|
|
1103
1103
|
module_eval(<<'.,.,', 'nasl.y', 101)
|
1104
1104
|
def _reduce_14(val, _values)
|
1105
|
-
n(:Function, *val)
|
1105
|
+
n(:Function, *val)
|
1106
1106
|
end
|
1107
1107
|
.,.,
|
1108
1108
|
|
1109
1109
|
module_eval(<<'.,.,', 'nasl.y', 105)
|
1110
1110
|
def _reduce_15(val, _values)
|
1111
|
-
val[0]
|
1111
|
+
val[0]
|
1112
1112
|
end
|
1113
1113
|
.,.,
|
1114
1114
|
|
1115
1115
|
module_eval(<<'.,.,', 'nasl.y', 107)
|
1116
1116
|
def _reduce_16(val, _values)
|
1117
|
-
val[0]
|
1117
|
+
val[0]
|
1118
1118
|
end
|
1119
1119
|
.,.,
|
1120
1120
|
|
1121
1121
|
module_eval(<<'.,.,', 'nasl.y', 109)
|
1122
1122
|
def _reduce_17(val, _values)
|
1123
|
-
val[0]
|
1123
|
+
val[0]
|
1124
1124
|
end
|
1125
1125
|
.,.,
|
1126
1126
|
|
1127
1127
|
module_eval(<<'.,.,', 'nasl.y', 111)
|
1128
1128
|
def _reduce_18(val, _values)
|
1129
|
-
val[0]
|
1129
|
+
val[0]
|
1130
1130
|
end
|
1131
1131
|
.,.,
|
1132
1132
|
|
1133
1133
|
module_eval(<<'.,.,', 'nasl.y', 113)
|
1134
1134
|
def _reduce_19(val, _values)
|
1135
|
-
val[0]
|
1135
|
+
val[0]
|
1136
1136
|
end
|
1137
1137
|
.,.,
|
1138
1138
|
|
1139
1139
|
module_eval(<<'.,.,', 'nasl.y', 115)
|
1140
1140
|
def _reduce_20(val, _values)
|
1141
|
-
val[0]
|
1141
|
+
val[0]
|
1142
1142
|
end
|
1143
1143
|
.,.,
|
1144
1144
|
|
1145
1145
|
module_eval(<<'.,.,', 'nasl.y', 117)
|
1146
1146
|
def _reduce_21(val, _values)
|
1147
|
-
c(*val)
|
1147
|
+
c(*val)
|
1148
1148
|
end
|
1149
1149
|
.,.,
|
1150
1150
|
|
1151
1151
|
module_eval(<<'.,.,', 'nasl.y', 119)
|
1152
1152
|
def _reduce_22(val, _values)
|
1153
|
-
val[0]
|
1153
|
+
val[0]
|
1154
1154
|
end
|
1155
1155
|
.,.,
|
1156
1156
|
|
1157
1157
|
module_eval(<<'.,.,', 'nasl.y', 121)
|
1158
1158
|
def _reduce_23(val, _values)
|
1159
|
-
val[0]
|
1159
|
+
val[0]
|
1160
1160
|
end
|
1161
1161
|
.,.,
|
1162
1162
|
|
1163
1163
|
module_eval(<<'.,.,', 'nasl.y', 123)
|
1164
1164
|
def _reduce_24(val, _values)
|
1165
|
-
val[0]
|
1165
|
+
val[0]
|
1166
1166
|
end
|
1167
1167
|
.,.,
|
1168
1168
|
|
1169
1169
|
module_eval(<<'.,.,', 'nasl.y', 125)
|
1170
1170
|
def _reduce_25(val, _values)
|
1171
|
-
val[0]
|
1171
|
+
val[0]
|
1172
1172
|
end
|
1173
1173
|
.,.,
|
1174
1174
|
|
1175
1175
|
module_eval(<<'.,.,', 'nasl.y', 127)
|
1176
1176
|
def _reduce_26(val, _values)
|
1177
|
-
val[0]
|
1177
|
+
val[0]
|
1178
1178
|
end
|
1179
1179
|
.,.,
|
1180
1180
|
|
1181
1181
|
module_eval(<<'.,.,', 'nasl.y', 129)
|
1182
1182
|
def _reduce_27(val, _values)
|
1183
|
-
val[0]
|
1183
|
+
val[0]
|
1184
1184
|
end
|
1185
1185
|
.,.,
|
1186
1186
|
|
1187
1187
|
module_eval(<<'.,.,', 'nasl.y', 131)
|
1188
1188
|
def _reduce_28(val, _values)
|
1189
|
-
val[0]
|
1189
|
+
val[0]
|
1190
1190
|
end
|
1191
1191
|
.,.,
|
1192
1192
|
|
1193
1193
|
module_eval(<<'.,.,', 'nasl.y', 135)
|
1194
1194
|
def _reduce_29(val, _values)
|
1195
|
-
val[0]
|
1195
|
+
val[0]
|
1196
1196
|
end
|
1197
1197
|
.,.,
|
1198
1198
|
|
1199
1199
|
module_eval(<<'.,.,', 'nasl.y', 137)
|
1200
1200
|
def _reduce_30(val, _values)
|
1201
|
-
val[0]
|
1201
|
+
val[0]
|
1202
1202
|
end
|
1203
1203
|
.,.,
|
1204
1204
|
|
1205
1205
|
module_eval(<<'.,.,', 'nasl.y', 139)
|
1206
1206
|
def _reduce_31(val, _values)
|
1207
|
-
val[0]
|
1207
|
+
val[0]
|
1208
1208
|
end
|
1209
1209
|
.,.,
|
1210
1210
|
|
1211
1211
|
module_eval(<<'.,.,', 'nasl.y', 141)
|
1212
1212
|
def _reduce_32(val, _values)
|
1213
|
-
val[0]
|
1213
|
+
val[0]
|
1214
1214
|
end
|
1215
1215
|
.,.,
|
1216
1216
|
|
1217
1217
|
module_eval(<<'.,.,', 'nasl.y', 143)
|
1218
1218
|
def _reduce_33(val, _values)
|
1219
|
-
val[0]
|
1219
|
+
val[0]
|
1220
1220
|
end
|
1221
1221
|
.,.,
|
1222
1222
|
|
1223
1223
|
module_eval(<<'.,.,', 'nasl.y', 145)
|
1224
1224
|
def _reduce_34(val, _values)
|
1225
|
-
val[0]
|
1225
|
+
val[0]
|
1226
1226
|
end
|
1227
1227
|
.,.,
|
1228
1228
|
|
1229
1229
|
module_eval(<<'.,.,', 'nasl.y', 153)
|
1230
1230
|
def _reduce_35(val, _values)
|
1231
|
-
val[0]
|
1231
|
+
val[0]
|
1232
1232
|
end
|
1233
1233
|
.,.,
|
1234
1234
|
|
1235
1235
|
module_eval(<<'.,.,', 'nasl.y', 157)
|
1236
1236
|
def _reduce_36(val, _values)
|
1237
|
-
n(:Break, *val)
|
1237
|
+
n(:Break, *val)
|
1238
1238
|
end
|
1239
1239
|
.,.,
|
1240
1240
|
|
1241
1241
|
module_eval(<<'.,.,', 'nasl.y', 161)
|
1242
1242
|
def _reduce_37(val, _values)
|
1243
|
-
val[0]
|
1243
|
+
val[0]
|
1244
1244
|
end
|
1245
1245
|
.,.,
|
1246
1246
|
|
1247
1247
|
module_eval(<<'.,.,', 'nasl.y', 165)
|
1248
1248
|
def _reduce_38(val, _values)
|
1249
|
-
n(:Continue, *val)
|
1249
|
+
n(:Continue, *val)
|
1250
1250
|
end
|
1251
1251
|
.,.,
|
1252
1252
|
|
1253
1253
|
module_eval(<<'.,.,', 'nasl.y', 169)
|
1254
1254
|
def _reduce_39(val, _values)
|
1255
|
-
val[0]
|
1255
|
+
val[0]
|
1256
1256
|
end
|
1257
1257
|
.,.,
|
1258
1258
|
|
1259
1259
|
module_eval(<<'.,.,', 'nasl.y', 173)
|
1260
1260
|
def _reduce_40(val, _values)
|
1261
|
-
n(:Empty, *val)
|
1261
|
+
n(:Empty, *val)
|
1262
1262
|
end
|
1263
1263
|
.,.,
|
1264
1264
|
|
1265
1265
|
module_eval(<<'.,.,', 'nasl.y', 177)
|
1266
1266
|
def _reduce_41(val, _values)
|
1267
|
-
n(:Global, *val)
|
1267
|
+
n(:Global, *val)
|
1268
1268
|
end
|
1269
1269
|
.,.,
|
1270
1270
|
|
1271
1271
|
module_eval(<<'.,.,', 'nasl.y', 181)
|
1272
1272
|
def _reduce_42(val, _values)
|
1273
|
-
val[0]
|
1273
|
+
val[0]
|
1274
1274
|
end
|
1275
1275
|
.,.,
|
1276
1276
|
|
1277
1277
|
module_eval(<<'.,.,', 'nasl.y', 185)
|
1278
1278
|
def _reduce_43(val, _values)
|
1279
|
-
n(:Import, *val)
|
1279
|
+
n(:Import, *val)
|
1280
1280
|
end
|
1281
1281
|
.,.,
|
1282
1282
|
|
1283
1283
|
module_eval(<<'.,.,', 'nasl.y', 189)
|
1284
1284
|
def _reduce_44(val, _values)
|
1285
|
-
n(:Include, *val)
|
1285
|
+
n(:Include, *val)
|
1286
1286
|
end
|
1287
1287
|
.,.,
|
1288
1288
|
|
1289
1289
|
module_eval(<<'.,.,', 'nasl.y', 193)
|
1290
1290
|
def _reduce_45(val, _values)
|
1291
|
-
n(:Local, *val)
|
1291
|
+
n(:Local, *val)
|
1292
1292
|
end
|
1293
1293
|
.,.,
|
1294
1294
|
|
1295
1295
|
module_eval(<<'.,.,', 'nasl.y', 197)
|
1296
1296
|
def _reduce_46(val, _values)
|
1297
|
-
n(:Repetition, *val[0..-1])
|
1297
|
+
n(:Repetition, *val[0..-1])
|
1298
1298
|
end
|
1299
1299
|
.,.,
|
1300
1300
|
|
1301
1301
|
module_eval(<<'.,.,', 'nasl.y', 201)
|
1302
1302
|
def _reduce_47(val, _values)
|
1303
|
-
n(:Return, *val)
|
1303
|
+
n(:Return, *val)
|
1304
1304
|
end
|
1305
1305
|
.,.,
|
1306
1306
|
|
1307
1307
|
module_eval(<<'.,.,', 'nasl.y', 203)
|
1308
1308
|
def _reduce_48(val, _values)
|
1309
|
-
n(:Return, *val)
|
1309
|
+
n(:Return, *val)
|
1310
1310
|
end
|
1311
1311
|
.,.,
|
1312
1312
|
|
1313
1313
|
module_eval(<<'.,.,', 'nasl.y', 205)
|
1314
1314
|
def _reduce_49(val, _values)
|
1315
|
-
n(:Return, *val)
|
1315
|
+
n(:Return, *val)
|
1316
1316
|
end
|
1317
1317
|
.,.,
|
1318
1318
|
|
1319
1319
|
module_eval(<<'.,.,', 'nasl.y', 213)
|
1320
1320
|
def _reduce_50(val, _values)
|
1321
|
-
n(:Block, *val)
|
1321
|
+
n(:Block, *val)
|
1322
1322
|
end
|
1323
1323
|
.,.,
|
1324
1324
|
|
1325
1325
|
module_eval(<<'.,.,', 'nasl.y', 215)
|
1326
1326
|
def _reduce_51(val, _values)
|
1327
|
-
n(:Block, *val)
|
1327
|
+
n(:Block, *val)
|
1328
1328
|
end
|
1329
1329
|
.,.,
|
1330
1330
|
|
1331
1331
|
module_eval(<<'.,.,', 'nasl.y', 219)
|
1332
1332
|
def _reduce_52(val, _values)
|
1333
|
-
n(:For, *val)
|
1333
|
+
n(:For, *val)
|
1334
1334
|
end
|
1335
1335
|
.,.,
|
1336
1336
|
|
1337
1337
|
module_eval(<<'.,.,', 'nasl.y', 223)
|
1338
1338
|
def _reduce_53(val, _values)
|
1339
|
-
n(:Foreach, val[0], val[1], val[3], val[5])
|
1339
|
+
n(:Foreach, val[0], val[1], val[3], val[5])
|
1340
1340
|
end
|
1341
1341
|
.,.,
|
1342
1342
|
|
1343
1343
|
module_eval(<<'.,.,', 'nasl.y', 225)
|
1344
1344
|
def _reduce_54(val, _values)
|
1345
|
-
n(:Foreach, val[0], val[2], val[4], val[6])
|
1345
|
+
n(:Foreach, val[0], val[2], val[4], val[6])
|
1346
1346
|
end
|
1347
1347
|
.,.,
|
1348
1348
|
|
1349
1349
|
module_eval(<<'.,.,', 'nasl.y', 229)
|
1350
1350
|
def _reduce_55(val, _values)
|
1351
|
-
n(:If, *val)
|
1351
|
+
n(:If, *val)
|
1352
1352
|
end
|
1353
1353
|
.,.,
|
1354
1354
|
|
1355
1355
|
module_eval(<<'.,.,', 'nasl.y', 231)
|
1356
1356
|
def _reduce_56(val, _values)
|
1357
|
-
n(:If, *val)
|
1357
|
+
n(:If, *val)
|
1358
1358
|
end
|
1359
1359
|
.,.,
|
1360
1360
|
|
1361
1361
|
module_eval(<<'.,.,', 'nasl.y', 235)
|
1362
1362
|
def _reduce_57(val, _values)
|
1363
|
-
n(:Repeat, *val)
|
1363
|
+
n(:Repeat, *val)
|
1364
1364
|
end
|
1365
1365
|
.,.,
|
1366
1366
|
|
1367
1367
|
module_eval(<<'.,.,', 'nasl.y', 239)
|
1368
1368
|
def _reduce_58(val, _values)
|
1369
|
-
n(:While, *val)
|
1369
|
+
n(:While, *val)
|
1370
1370
|
end
|
1371
1371
|
.,.,
|
1372
1372
|
|
1373
1373
|
module_eval(<<'.,.,', 'nasl.y', 247)
|
1374
1374
|
def _reduce_59(val, _values)
|
1375
|
-
n(:Assignment, *val)
|
1375
|
+
n(:Assignment, *val)
|
1376
1376
|
end
|
1377
1377
|
.,.,
|
1378
1378
|
|
1379
1379
|
module_eval(<<'.,.,', 'nasl.y', 249)
|
1380
1380
|
def _reduce_60(val, _values)
|
1381
|
-
n(:Assignment, *val)
|
1381
|
+
n(:Assignment, *val)
|
1382
1382
|
end
|
1383
1383
|
.,.,
|
1384
1384
|
|
1385
1385
|
module_eval(<<'.,.,', 'nasl.y', 251)
|
1386
1386
|
def _reduce_61(val, _values)
|
1387
|
-
n(:Assignment, *val)
|
1387
|
+
n(:Assignment, *val)
|
1388
1388
|
end
|
1389
1389
|
.,.,
|
1390
1390
|
|
1391
1391
|
module_eval(<<'.,.,', 'nasl.y', 253)
|
1392
1392
|
def _reduce_62(val, _values)
|
1393
|
-
n(:Assignment, *val)
|
1393
|
+
n(:Assignment, *val)
|
1394
1394
|
end
|
1395
1395
|
.,.,
|
1396
1396
|
|
1397
1397
|
module_eval(<<'.,.,', 'nasl.y', 255)
|
1398
1398
|
def _reduce_63(val, _values)
|
1399
|
-
n(:Assignment, *val)
|
1399
|
+
n(:Assignment, *val)
|
1400
1400
|
end
|
1401
1401
|
.,.,
|
1402
1402
|
|
1403
1403
|
module_eval(<<'.,.,', 'nasl.y', 257)
|
1404
1404
|
def _reduce_64(val, _values)
|
1405
|
-
n(:Assignment, *val)
|
1405
|
+
n(:Assignment, *val)
|
1406
1406
|
end
|
1407
1407
|
.,.,
|
1408
1408
|
|
1409
1409
|
module_eval(<<'.,.,', 'nasl.y', 259)
|
1410
1410
|
def _reduce_65(val, _values)
|
1411
|
-
n(:Assignment, *val)
|
1411
|
+
n(:Assignment, *val)
|
1412
1412
|
end
|
1413
1413
|
.,.,
|
1414
1414
|
|
1415
1415
|
module_eval(<<'.,.,', 'nasl.y', 261)
|
1416
1416
|
def _reduce_66(val, _values)
|
1417
|
-
n(:Assignment, *val)
|
1417
|
+
n(:Assignment, *val)
|
1418
1418
|
end
|
1419
1419
|
.,.,
|
1420
1420
|
|
1421
1421
|
module_eval(<<'.,.,', 'nasl.y', 263)
|
1422
1422
|
def _reduce_67(val, _values)
|
1423
|
-
n(:Assignment, *val)
|
1423
|
+
n(:Assignment, *val)
|
1424
1424
|
end
|
1425
1425
|
.,.,
|
1426
1426
|
|
1427
1427
|
module_eval(<<'.,.,', 'nasl.y', 265)
|
1428
1428
|
def _reduce_68(val, _values)
|
1429
|
-
n(:Assignment, *val)
|
1429
|
+
n(:Assignment, *val)
|
1430
1430
|
end
|
1431
1431
|
.,.,
|
1432
1432
|
|
1433
1433
|
module_eval(<<'.,.,', 'nasl.y', 269)
|
1434
1434
|
def _reduce_69(val, _values)
|
1435
|
-
n(:Call, *val)
|
1435
|
+
n(:Call, *val)
|
1436
1436
|
end
|
1437
1437
|
.,.,
|
1438
1438
|
|
1439
1439
|
module_eval(<<'.,.,', 'nasl.y', 271)
|
1440
1440
|
def _reduce_70(val, _values)
|
1441
|
-
n(:Call, *val)
|
1441
|
+
n(:Call, *val)
|
1442
1442
|
end
|
1443
1443
|
.,.,
|
1444
1444
|
|
1445
1445
|
module_eval(<<'.,.,', 'nasl.y', 275)
|
1446
1446
|
def _reduce_71(val, _values)
|
1447
|
-
n(:Decrement, val[0])
|
1447
|
+
n(:Decrement, val[0])
|
1448
1448
|
end
|
1449
1449
|
.,.,
|
1450
1450
|
|
1451
1451
|
module_eval(<<'.,.,', 'nasl.y', 277)
|
1452
1452
|
def _reduce_72(val, _values)
|
1453
|
-
n(:Decrement, val[0])
|
1453
|
+
n(:Decrement, val[0])
|
1454
1454
|
end
|
1455
1455
|
.,.,
|
1456
1456
|
|
1457
1457
|
module_eval(<<'.,.,', 'nasl.y', 281)
|
1458
1458
|
def _reduce_73(val, _values)
|
1459
|
-
n(:Increment, val[0])
|
1459
|
+
n(:Increment, val[0])
|
1460
1460
|
end
|
1461
1461
|
.,.,
|
1462
1462
|
|
1463
1463
|
module_eval(<<'.,.,', 'nasl.y', 283)
|
1464
1464
|
def _reduce_74(val, _values)
|
1465
|
-
n(:Increment, val[0])
|
1465
|
+
n(:Increment, val[0])
|
1466
1466
|
end
|
1467
1467
|
.,.,
|
1468
1468
|
|
1469
1469
|
module_eval(<<'.,.,', 'nasl.y', 287)
|
1470
1470
|
def _reduce_75(val, _values)
|
1471
|
-
n(:Expression, *val)
|
1471
|
+
n(:Expression, *val)
|
1472
1472
|
end
|
1473
1473
|
.,.,
|
1474
1474
|
|
1475
1475
|
module_eval(<<'.,.,', 'nasl.y', 289)
|
1476
1476
|
def _reduce_76(val, _values)
|
1477
|
-
n(:Expression, *val)
|
1477
|
+
n(:Expression, *val)
|
1478
1478
|
end
|
1479
1479
|
.,.,
|
1480
1480
|
|
1481
1481
|
module_eval(<<'.,.,', 'nasl.y', 291)
|
1482
1482
|
def _reduce_77(val, _values)
|
1483
|
-
n(:Expression, *val)
|
1483
|
+
n(:Expression, *val)
|
1484
1484
|
end
|
1485
1485
|
.,.,
|
1486
1486
|
|
1487
1487
|
module_eval(<<'.,.,', 'nasl.y', 293)
|
1488
1488
|
def _reduce_78(val, _values)
|
1489
|
-
n(:Expression, *val)
|
1489
|
+
n(:Expression, *val)
|
1490
1490
|
end
|
1491
1491
|
.,.,
|
1492
1492
|
|
1493
1493
|
module_eval(<<'.,.,', 'nasl.y', 295)
|
1494
1494
|
def _reduce_79(val, _values)
|
1495
|
-
n(:Expression, *val)
|
1495
|
+
n(:Expression, *val)
|
1496
1496
|
end
|
1497
1497
|
.,.,
|
1498
1498
|
|
1499
1499
|
module_eval(<<'.,.,', 'nasl.y', 297)
|
1500
1500
|
def _reduce_80(val, _values)
|
1501
|
-
n(:Expression, *val)
|
1501
|
+
n(:Expression, *val)
|
1502
1502
|
end
|
1503
1503
|
.,.,
|
1504
1504
|
|
1505
1505
|
module_eval(<<'.,.,', 'nasl.y', 299)
|
1506
1506
|
def _reduce_81(val, _values)
|
1507
|
-
n(:Expression, *val)
|
1507
|
+
n(:Expression, *val)
|
1508
1508
|
end
|
1509
1509
|
.,.,
|
1510
1510
|
|
1511
1511
|
module_eval(<<'.,.,', 'nasl.y', 301)
|
1512
1512
|
def _reduce_82(val, _values)
|
1513
|
-
n(:Expression, *val)
|
1513
|
+
n(:Expression, *val)
|
1514
1514
|
end
|
1515
1515
|
.,.,
|
1516
1516
|
|
1517
1517
|
module_eval(<<'.,.,', 'nasl.y', 303)
|
1518
1518
|
def _reduce_83(val, _values)
|
1519
|
-
n(:Expression, *val)
|
1519
|
+
n(:Expression, *val)
|
1520
1520
|
end
|
1521
1521
|
.,.,
|
1522
1522
|
|
1523
1523
|
module_eval(<<'.,.,', 'nasl.y', 305)
|
1524
1524
|
def _reduce_84(val, _values)
|
1525
|
-
n(:Expression, *val)
|
1525
|
+
n(:Expression, *val)
|
1526
1526
|
end
|
1527
1527
|
.,.,
|
1528
1528
|
|
1529
1529
|
module_eval(<<'.,.,', 'nasl.y', 307)
|
1530
1530
|
def _reduce_85(val, _values)
|
1531
|
-
n(:Expression, *val)
|
1531
|
+
n(:Expression, *val)
|
1532
1532
|
end
|
1533
1533
|
.,.,
|
1534
1534
|
|
1535
1535
|
module_eval(<<'.,.,', 'nasl.y', 309)
|
1536
1536
|
def _reduce_86(val, _values)
|
1537
|
-
n(:Expression, *val)
|
1537
|
+
n(:Expression, *val)
|
1538
1538
|
end
|
1539
1539
|
.,.,
|
1540
1540
|
|
1541
1541
|
module_eval(<<'.,.,', 'nasl.y', 311)
|
1542
1542
|
def _reduce_87(val, _values)
|
1543
|
-
n(:Expression, *val)
|
1543
|
+
n(:Expression, *val)
|
1544
1544
|
end
|
1545
1545
|
.,.,
|
1546
1546
|
|
1547
1547
|
module_eval(<<'.,.,', 'nasl.y', 313)
|
1548
1548
|
def _reduce_88(val, _values)
|
1549
|
-
n(:Expression, *val)
|
1549
|
+
n(:Expression, *val)
|
1550
1550
|
end
|
1551
1551
|
.,.,
|
1552
1552
|
|
1553
1553
|
module_eval(<<'.,.,', 'nasl.y', 315)
|
1554
1554
|
def _reduce_89(val, _values)
|
1555
|
-
n(:Expression, *val)
|
1555
|
+
n(:Expression, *val)
|
1556
1556
|
end
|
1557
1557
|
.,.,
|
1558
1558
|
|
1559
1559
|
module_eval(<<'.,.,', 'nasl.y', 317)
|
1560
1560
|
def _reduce_90(val, _values)
|
1561
|
-
n(:Expression, *val)
|
1561
|
+
n(:Expression, *val)
|
1562
1562
|
end
|
1563
1563
|
.,.,
|
1564
1564
|
|
1565
1565
|
module_eval(<<'.,.,', 'nasl.y', 319)
|
1566
1566
|
def _reduce_91(val, _values)
|
1567
|
-
n(:Expression, *val)
|
1567
|
+
n(:Expression, *val)
|
1568
1568
|
end
|
1569
1569
|
.,.,
|
1570
1570
|
|
1571
1571
|
module_eval(<<'.,.,', 'nasl.y', 321)
|
1572
1572
|
def _reduce_92(val, _values)
|
1573
|
-
n(:Expression, *val)
|
1573
|
+
n(:Expression, *val)
|
1574
1574
|
end
|
1575
1575
|
.,.,
|
1576
1576
|
|
1577
1577
|
module_eval(<<'.,.,', 'nasl.y', 323)
|
1578
1578
|
def _reduce_93(val, _values)
|
1579
|
-
val[0]
|
1579
|
+
val[0]
|
1580
1580
|
end
|
1581
1581
|
.,.,
|
1582
1582
|
|
1583
1583
|
module_eval(<<'.,.,', 'nasl.y', 325)
|
1584
1584
|
def _reduce_94(val, _values)
|
1585
|
-
val[0]
|
1585
|
+
val[0]
|
1586
1586
|
end
|
1587
1587
|
.,.,
|
1588
1588
|
|
1589
1589
|
module_eval(<<'.,.,', 'nasl.y', 327)
|
1590
1590
|
def _reduce_95(val, _values)
|
1591
|
-
n(:Expression, *val)
|
1591
|
+
n(:Expression, *val)
|
1592
1592
|
end
|
1593
1593
|
.,.,
|
1594
1594
|
|
1595
1595
|
module_eval(<<'.,.,', 'nasl.y', 329)
|
1596
1596
|
def _reduce_96(val, _values)
|
1597
|
-
n(:Expression, *val)
|
1597
|
+
n(:Expression, *val)
|
1598
1598
|
end
|
1599
1599
|
.,.,
|
1600
1600
|
|
1601
1601
|
module_eval(<<'.,.,', 'nasl.y', 331)
|
1602
1602
|
def _reduce_97(val, _values)
|
1603
|
-
n(:Expression, *val)
|
1603
|
+
n(:Expression, *val)
|
1604
1604
|
end
|
1605
1605
|
.,.,
|
1606
1606
|
|
1607
1607
|
module_eval(<<'.,.,', 'nasl.y', 333)
|
1608
1608
|
def _reduce_98(val, _values)
|
1609
|
-
n(:Expression, *val)
|
1609
|
+
n(:Expression, *val)
|
1610
1610
|
end
|
1611
1611
|
.,.,
|
1612
1612
|
|
1613
1613
|
module_eval(<<'.,.,', 'nasl.y', 335)
|
1614
1614
|
def _reduce_99(val, _values)
|
1615
|
-
n(:Expression, *val)
|
1615
|
+
n(:Expression, *val)
|
1616
1616
|
end
|
1617
1617
|
.,.,
|
1618
1618
|
|
1619
1619
|
module_eval(<<'.,.,', 'nasl.y', 337)
|
1620
1620
|
def _reduce_100(val, _values)
|
1621
|
-
n(:Expression, *val)
|
1621
|
+
n(:Expression, *val)
|
1622
1622
|
end
|
1623
1623
|
.,.,
|
1624
1624
|
|
1625
1625
|
module_eval(<<'.,.,', 'nasl.y', 339)
|
1626
1626
|
def _reduce_101(val, _values)
|
1627
|
-
n(:Expression, *val)
|
1627
|
+
n(:Expression, *val)
|
1628
1628
|
end
|
1629
1629
|
.,.,
|
1630
1630
|
|
1631
1631
|
module_eval(<<'.,.,', 'nasl.y', 341)
|
1632
1632
|
def _reduce_102(val, _values)
|
1633
|
-
n(:Expression, *val)
|
1633
|
+
n(:Expression, *val)
|
1634
1634
|
end
|
1635
1635
|
.,.,
|
1636
1636
|
|
1637
1637
|
module_eval(<<'.,.,', 'nasl.y', 343)
|
1638
1638
|
def _reduce_103(val, _values)
|
1639
|
-
n(:Expression, *val)
|
1639
|
+
n(:Expression, *val)
|
1640
1640
|
end
|
1641
1641
|
.,.,
|
1642
1642
|
|
1643
1643
|
module_eval(<<'.,.,', 'nasl.y', 345)
|
1644
1644
|
def _reduce_104(val, _values)
|
1645
|
-
n(:Expression, *val)
|
1645
|
+
n(:Expression, *val)
|
1646
1646
|
end
|
1647
1647
|
.,.,
|
1648
1648
|
|
1649
1649
|
module_eval(<<'.,.,', 'nasl.y', 347)
|
1650
1650
|
def _reduce_105(val, _values)
|
1651
|
-
val[0]
|
1651
|
+
val[0]
|
1652
1652
|
end
|
1653
1653
|
.,.,
|
1654
1654
|
|
1655
1655
|
module_eval(<<'.,.,', 'nasl.y', 349)
|
1656
1656
|
def _reduce_106(val, _values)
|
1657
|
-
val[0]
|
1657
|
+
val[0]
|
1658
1658
|
end
|
1659
1659
|
.,.,
|
1660
1660
|
|
1661
1661
|
module_eval(<<'.,.,', 'nasl.y', 351)
|
1662
1662
|
def _reduce_107(val, _values)
|
1663
|
-
val[0]
|
1663
|
+
val[0]
|
1664
1664
|
end
|
1665
1665
|
.,.,
|
1666
1666
|
|
1667
1667
|
module_eval(<<'.,.,', 'nasl.y', 353)
|
1668
1668
|
def _reduce_108(val, _values)
|
1669
|
-
val[0]
|
1669
|
+
val[0]
|
1670
1670
|
end
|
1671
1671
|
.,.,
|
1672
1672
|
|
1673
1673
|
module_eval(<<'.,.,', 'nasl.y', 355)
|
1674
1674
|
def _reduce_109(val, _values)
|
1675
|
-
val[0]
|
1675
|
+
val[0]
|
1676
1676
|
end
|
1677
1677
|
.,.,
|
1678
1678
|
|
1679
1679
|
module_eval(<<'.,.,', 'nasl.y', 357)
|
1680
1680
|
def _reduce_110(val, _values)
|
1681
|
-
val[0]
|
1681
|
+
val[0]
|
1682
1682
|
end
|
1683
1683
|
.,.,
|
1684
1684
|
|
1685
1685
|
module_eval(<<'.,.,', 'nasl.y', 359)
|
1686
1686
|
def _reduce_111(val, _values)
|
1687
|
-
val[0]
|
1687
|
+
val[0]
|
1688
1688
|
end
|
1689
1689
|
.,.,
|
1690
1690
|
|
1691
1691
|
module_eval(<<'.,.,', 'nasl.y', 361)
|
1692
1692
|
def _reduce_112(val, _values)
|
1693
|
-
val[0]
|
1693
|
+
val[0]
|
1694
1694
|
end
|
1695
1695
|
.,.,
|
1696
1696
|
|
1697
1697
|
module_eval(<<'.,.,', 'nasl.y', 363)
|
1698
1698
|
def _reduce_113(val, _values)
|
1699
|
-
val[0]
|
1699
|
+
val[0]
|
1700
1700
|
end
|
1701
1701
|
.,.,
|
1702
1702
|
|
1703
1703
|
module_eval(<<'.,.,', 'nasl.y', 371)
|
1704
1704
|
def _reduce_114(val, _values)
|
1705
|
-
n(:Argument, *val)
|
1705
|
+
n(:Argument, *val)
|
1706
1706
|
end
|
1707
1707
|
.,.,
|
1708
1708
|
|
1709
1709
|
module_eval(<<'.,.,', 'nasl.y', 373)
|
1710
1710
|
def _reduce_115(val, _values)
|
1711
|
-
n(:Argument, *val)
|
1711
|
+
n(:Argument, *val)
|
1712
1712
|
end
|
1713
1713
|
.,.,
|
1714
1714
|
|
1715
1715
|
module_eval(<<'.,.,', 'nasl.y', 375)
|
1716
1716
|
def _reduce_116(val, _values)
|
1717
|
-
n(:Argument, *val)
|
1717
|
+
n(:Argument, *val)
|
1718
1718
|
end
|
1719
1719
|
.,.,
|
1720
1720
|
|
1721
1721
|
module_eval(<<'.,.,', 'nasl.y', 377)
|
1722
1722
|
def _reduce_117(val, _values)
|
1723
|
-
n(:Argument, *val)
|
1723
|
+
n(:Argument, *val)
|
1724
1724
|
end
|
1725
1725
|
.,.,
|
1726
1726
|
|
1727
1727
|
module_eval(<<'.,.,', 'nasl.y', 381)
|
1728
1728
|
def _reduce_118(val, _values)
|
1729
|
-
n(:KeyValuePair, *val)
|
1729
|
+
n(:KeyValuePair, *val)
|
1730
1730
|
end
|
1731
1731
|
.,.,
|
1732
1732
|
|
1733
1733
|
module_eval(<<'.,.,', 'nasl.y', 383)
|
1734
1734
|
def _reduce_119(val, _values)
|
1735
|
-
n(:KeyValuePair, *val)
|
1735
|
+
n(:KeyValuePair, *val)
|
1736
1736
|
end
|
1737
1737
|
.,.,
|
1738
1738
|
|
1739
1739
|
module_eval(<<'.,.,', 'nasl.y', 385)
|
1740
1740
|
def _reduce_120(val, _values)
|
1741
|
-
n(:KeyValuePair, *val)
|
1741
|
+
n(:KeyValuePair, *val)
|
1742
1742
|
end
|
1743
1743
|
.,.,
|
1744
1744
|
|
1745
1745
|
module_eval(<<'.,.,', 'nasl.y', 387)
|
1746
1746
|
def _reduce_121(val, _values)
|
1747
|
-
n(:KeyValuePair, *val)
|
1747
|
+
n(:KeyValuePair, *val)
|
1748
1748
|
end
|
1749
1749
|
.,.,
|
1750
1750
|
|
1751
1751
|
module_eval(<<'.,.,', 'nasl.y', 389)
|
1752
1752
|
def _reduce_122(val, _values)
|
1753
|
-
n(:KeyValuePair, *val)
|
1753
|
+
n(:KeyValuePair, *val)
|
1754
1754
|
end
|
1755
1755
|
.,.,
|
1756
1756
|
|
1757
1757
|
module_eval(<<'.,.,', 'nasl.y', 391)
|
1758
1758
|
def _reduce_123(val, _values)
|
1759
|
-
n(:KeyValuePair, *val)
|
1759
|
+
n(:KeyValuePair, *val)
|
1760
1760
|
end
|
1761
1761
|
.,.,
|
1762
1762
|
|
1763
1763
|
module_eval(<<'.,.,', 'nasl.y', 395)
|
1764
1764
|
def _reduce_124(val, _values)
|
1765
|
-
[val[0]] + val[2]
|
1765
|
+
[val[0]] + val[2]
|
1766
1766
|
end
|
1767
1767
|
.,.,
|
1768
1768
|
|
1769
1769
|
module_eval(<<'.,.,', 'nasl.y', 397)
|
1770
1770
|
def _reduce_125(val, _values)
|
1771
|
-
[val[0]]
|
1771
|
+
[val[0]]
|
1772
1772
|
end
|
1773
1773
|
.,.,
|
1774
1774
|
|
1775
1775
|
module_eval(<<'.,.,', 'nasl.y', 399)
|
1776
1776
|
def _reduce_126(val, _values)
|
1777
|
-
[val[0]]
|
1777
|
+
[val[0]]
|
1778
1778
|
end
|
1779
1779
|
.,.,
|
1780
1780
|
|
1781
1781
|
module_eval(<<'.,.,', 'nasl.y', 403)
|
1782
1782
|
def _reduce_127(val, _values)
|
1783
|
-
n(:Lvalue, *val)
|
1783
|
+
n(:Lvalue, *val)
|
1784
1784
|
end
|
1785
1785
|
.,.,
|
1786
1786
|
|
1787
1787
|
module_eval(<<'.,.,', 'nasl.y', 405)
|
1788
1788
|
def _reduce_128(val, _values)
|
1789
|
-
n(:Lvalue, *val)
|
1789
|
+
n(:Lvalue, *val)
|
1790
1790
|
end
|
1791
1791
|
.,.,
|
1792
1792
|
|
1793
1793
|
module_eval(<<'.,.,', 'nasl.y', 409)
|
1794
1794
|
def _reduce_129(val, _values)
|
1795
|
-
n(:Reference, val[1])
|
1795
|
+
n(:Reference, val[1])
|
1796
1796
|
end
|
1797
1797
|
.,.,
|
1798
1798
|
|
1799
1799
|
module_eval(<<'.,.,', 'nasl.y', 417)
|
1800
1800
|
def _reduce_130(val, _values)
|
1801
|
-
[val[0]] + val[2]
|
1801
|
+
[val[0]] + val[2]
|
1802
1802
|
end
|
1803
1803
|
.,.,
|
1804
1804
|
|
1805
1805
|
module_eval(<<'.,.,', 'nasl.y', 419)
|
1806
1806
|
def _reduce_131(val, _values)
|
1807
|
-
[val[0]]
|
1807
|
+
[val[0]]
|
1808
1808
|
end
|
1809
1809
|
.,.,
|
1810
1810
|
|
1811
1811
|
module_eval(<<'.,.,', 'nasl.y', 423)
|
1812
1812
|
def _reduce_132(val, _values)
|
1813
|
-
n(:Array, *val)
|
1813
|
+
n(:Array, *val)
|
1814
1814
|
end
|
1815
1815
|
.,.,
|
1816
1816
|
|
1817
1817
|
module_eval(<<'.,.,', 'nasl.y', 425)
|
1818
1818
|
def _reduce_133(val, _values)
|
1819
|
-
n(:Array, *val)
|
1819
|
+
n(:Array, *val)
|
1820
1820
|
end
|
1821
1821
|
.,.,
|
1822
1822
|
|
1823
1823
|
module_eval(<<'.,.,', 'nasl.y', 429)
|
1824
1824
|
def _reduce_134(val, _values)
|
1825
|
-
val[0]
|
1825
|
+
val[0]
|
1826
1826
|
end
|
1827
1827
|
.,.,
|
1828
1828
|
|
1829
1829
|
module_eval(<<'.,.,', 'nasl.y', 431)
|
1830
1830
|
def _reduce_135(val, _values)
|
1831
|
-
val[0]
|
1831
|
+
val[0]
|
1832
1832
|
end
|
1833
1833
|
.,.,
|
1834
1834
|
|
1835
1835
|
module_eval(<<'.,.,', 'nasl.y', 433)
|
1836
1836
|
def _reduce_136(val, _values)
|
1837
|
-
val[0]
|
1837
|
+
val[0]
|
1838
1838
|
end
|
1839
1839
|
.,.,
|
1840
1840
|
|
1841
1841
|
module_eval(<<'.,.,', 'nasl.y', 435)
|
1842
1842
|
def _reduce_137(val, _values)
|
1843
|
-
val[0]
|
1843
|
+
val[0]
|
1844
1844
|
end
|
1845
1845
|
.,.,
|
1846
1846
|
|
1847
1847
|
module_eval(<<'.,.,', 'nasl.y', 437)
|
1848
1848
|
def _reduce_138(val, _values)
|
1849
|
-
nil
|
1849
|
+
nil
|
1850
1850
|
end
|
1851
1851
|
.,.,
|
1852
1852
|
|
1853
1853
|
module_eval(<<'.,.,', 'nasl.y', 441)
|
1854
1854
|
def _reduce_139(val, _values)
|
1855
|
-
val[1]
|
1855
|
+
val[1]
|
1856
1856
|
end
|
1857
1857
|
.,.,
|
1858
1858
|
|
1859
1859
|
module_eval(<<'.,.,', 'nasl.y', 443)
|
1860
1860
|
def _reduce_140(val, _values)
|
1861
|
-
val[1]
|
1861
|
+
val[1]
|
1862
1862
|
end
|
1863
1863
|
.,.,
|
1864
1864
|
|
1865
1865
|
module_eval(<<'.,.,', 'nasl.y', 447)
|
1866
1866
|
def _reduce_141(val, _values)
|
1867
|
-
[val[0]] + val[1]
|
1867
|
+
[val[0]] + val[1]
|
1868
1868
|
end
|
1869
1869
|
.,.,
|
1870
1870
|
|
1871
1871
|
module_eval(<<'.,.,', 'nasl.y', 449)
|
1872
1872
|
def _reduce_142(val, _values)
|
1873
|
-
[val[0]]
|
1873
|
+
[val[0]]
|
1874
1874
|
end
|
1875
1875
|
.,.,
|
1876
1876
|
|
1877
1877
|
module_eval(<<'.,.,', 'nasl.y', 453)
|
1878
1878
|
def _reduce_143(val, _values)
|
1879
|
-
val[0]
|
1879
|
+
val[0]
|
1880
1880
|
end
|
1881
1881
|
.,.,
|
1882
1882
|
|
1883
1883
|
module_eval(<<'.,.,', 'nasl.y', 455)
|
1884
1884
|
def _reduce_144(val, _values)
|
1885
|
-
val[0]
|
1885
|
+
val[0]
|
1886
1886
|
end
|
1887
1887
|
.,.,
|
1888
1888
|
|
1889
1889
|
module_eval(<<'.,.,', 'nasl.y', 459)
|
1890
1890
|
def _reduce_145(val, _values)
|
1891
|
-
[val[0]] + val[2]
|
1891
|
+
[val[0]] + val[2]
|
1892
1892
|
end
|
1893
1893
|
.,.,
|
1894
1894
|
|
1895
1895
|
module_eval(<<'.,.,', 'nasl.y', 461)
|
1896
1896
|
def _reduce_146(val, _values)
|
1897
|
-
[val[0]]
|
1897
|
+
[val[0]]
|
1898
1898
|
end
|
1899
1899
|
.,.,
|
1900
1900
|
|
1901
1901
|
module_eval(<<'.,.,', 'nasl.y', 465)
|
1902
1902
|
def _reduce_147(val, _values)
|
1903
|
-
n(:List, *val)
|
1903
|
+
n(:List, *val)
|
1904
1904
|
end
|
1905
1905
|
.,.,
|
1906
1906
|
|
1907
1907
|
module_eval(<<'.,.,', 'nasl.y', 467)
|
1908
1908
|
def _reduce_148(val, _values)
|
1909
|
-
n(:List, *val)
|
1909
|
+
n(:List, *val)
|
1910
1910
|
end
|
1911
1911
|
.,.,
|
1912
1912
|
|
1913
1913
|
module_eval(<<'.,.,', 'nasl.y', 471)
|
1914
1914
|
def _reduce_149(val, _values)
|
1915
|
-
n(:Parameter, val[1], 'reference')
|
1915
|
+
n(:Parameter, val[1], 'reference')
|
1916
1916
|
end
|
1917
1917
|
.,.,
|
1918
1918
|
|
1919
1919
|
module_eval(<<'.,.,', 'nasl.y', 473)
|
1920
1920
|
def _reduce_150(val, _values)
|
1921
|
-
n(:Parameter, val[0], 'value')
|
1921
|
+
n(:Parameter, val[0], 'value')
|
1922
1922
|
end
|
1923
1923
|
.,.,
|
1924
1924
|
|
1925
1925
|
module_eval(<<'.,.,', 'nasl.y', 477)
|
1926
1926
|
def _reduce_151(val, _values)
|
1927
|
-
[val[0]] + val[2]
|
1927
|
+
[val[0]] + val[2]
|
1928
1928
|
end
|
1929
1929
|
.,.,
|
1930
1930
|
|
1931
1931
|
module_eval(<<'.,.,', 'nasl.y', 479)
|
1932
1932
|
def _reduce_152(val, _values)
|
1933
|
-
[val[0]]
|
1933
|
+
[val[0]]
|
1934
1934
|
end
|
1935
1935
|
.,.,
|
1936
1936
|
|
1937
1937
|
module_eval(<<'.,.,', 'nasl.y', 483)
|
1938
1938
|
def _reduce_153(val, _values)
|
1939
|
-
[val[0]] + val[1]
|
1939
|
+
[val[0]] + val[1]
|
1940
1940
|
end
|
1941
1941
|
.,.,
|
1942
1942
|
|
1943
1943
|
module_eval(<<'.,.,', 'nasl.y', 485)
|
1944
1944
|
def _reduce_154(val, _values)
|
1945
|
-
[val[0]]
|
1945
|
+
[val[0]]
|
1946
1946
|
end
|
1947
1947
|
.,.,
|
1948
1948
|
|
1949
1949
|
module_eval(<<'.,.,', 'nasl.y', 489)
|
1950
1950
|
def _reduce_155(val, _values)
|
1951
|
-
n(:Assignment, *val)
|
1951
|
+
n(:Assignment, *val)
|
1952
1952
|
end
|
1953
1953
|
.,.,
|
1954
1954
|
|
1955
1955
|
module_eval(<<'.,.,', 'nasl.y', 491)
|
1956
1956
|
def _reduce_156(val, _values)
|
1957
|
-
n(:Assignment, *val)
|
1957
|
+
n(:Assignment, *val)
|
1958
1958
|
end
|
1959
1959
|
.,.,
|
1960
1960
|
|
1961
1961
|
module_eval(<<'.,.,', 'nasl.y', 493)
|
1962
1962
|
def _reduce_157(val, _values)
|
1963
|
-
val[0]
|
1963
|
+
val[0]
|
1964
1964
|
end
|
1965
1965
|
.,.,
|
1966
1966
|
|
1967
1967
|
module_eval(<<'.,.,', 'nasl.y', 497)
|
1968
1968
|
def _reduce_158(val, _values)
|
1969
|
-
[val[0]] + val[2]
|
1969
|
+
[val[0]] + val[2]
|
1970
1970
|
end
|
1971
1971
|
.,.,
|
1972
1972
|
|
1973
1973
|
module_eval(<<'.,.,', 'nasl.y', 499)
|
1974
1974
|
def _reduce_159(val, _values)
|
1975
|
-
[val[0]]
|
1975
|
+
[val[0]]
|
1976
1976
|
end
|
1977
1977
|
.,.,
|
1978
1978
|
|
1979
1979
|
module_eval(<<'.,.,', 'nasl.y', 507)
|
1980
1980
|
def _reduce_160(val, _values)
|
1981
|
-
n(:Identifier, *val)
|
1981
|
+
n(:Identifier, *val)
|
1982
1982
|
end
|
1983
1983
|
.,.,
|
1984
1984
|
|
1985
1985
|
module_eval(<<'.,.,', 'nasl.y', 509)
|
1986
1986
|
def _reduce_161(val, _values)
|
1987
|
-
n(:Identifier, *val)
|
1987
|
+
n(:Identifier, *val)
|
1988
1988
|
end
|
1989
1989
|
.,.,
|
1990
1990
|
|
1991
1991
|
module_eval(<<'.,.,', 'nasl.y', 511)
|
1992
1992
|
def _reduce_162(val, _values)
|
1993
|
-
n(:Identifier, *val)
|
1993
|
+
n(:Identifier, *val)
|
1994
1994
|
end
|
1995
1995
|
.,.,
|
1996
1996
|
|
1997
1997
|
module_eval(<<'.,.,', 'nasl.y', 515)
|
1998
1998
|
def _reduce_163(val, _values)
|
1999
|
-
n(:Integer, *val)
|
1999
|
+
n(:Integer, *val)
|
2000
2000
|
end
|
2001
2001
|
.,.,
|
2002
2002
|
|
2003
2003
|
module_eval(<<'.,.,', 'nasl.y', 517)
|
2004
2004
|
def _reduce_164(val, _values)
|
2005
|
-
n(:Integer, *val)
|
2005
|
+
n(:Integer, *val)
|
2006
2006
|
end
|
2007
2007
|
.,.,
|
2008
2008
|
|
2009
2009
|
module_eval(<<'.,.,', 'nasl.y', 519)
|
2010
2010
|
def _reduce_165(val, _values)
|
2011
|
-
n(:Integer, *val)
|
2011
|
+
n(:Integer, *val)
|
2012
2012
|
end
|
2013
2013
|
.,.,
|
2014
2014
|
|
2015
2015
|
module_eval(<<'.,.,', 'nasl.y', 521)
|
2016
2016
|
def _reduce_166(val, _values)
|
2017
|
-
n(:Integer, *val)
|
2017
|
+
n(:Integer, *val)
|
2018
2018
|
end
|
2019
2019
|
.,.,
|
2020
2020
|
|
2021
2021
|
module_eval(<<'.,.,', 'nasl.y', 523)
|
2022
2022
|
def _reduce_167(val, _values)
|
2023
|
-
n(:Integer, *val)
|
2023
|
+
n(:Integer, *val)
|
2024
2024
|
end
|
2025
2025
|
.,.,
|
2026
2026
|
|
2027
2027
|
module_eval(<<'.,.,', 'nasl.y', 527)
|
2028
2028
|
def _reduce_168(val, _values)
|
2029
|
-
n(:Ip, *val)
|
2029
|
+
n(:Ip, *val)
|
2030
2030
|
end
|
2031
2031
|
.,.,
|
2032
2032
|
|
2033
2033
|
module_eval(<<'.,.,', 'nasl.y', 530)
|
2034
2034
|
def _reduce_169(val, _values)
|
2035
|
-
n(:String, *val)
|
2035
|
+
n(:String, *val)
|
2036
2036
|
end
|
2037
2037
|
.,.,
|
2038
2038
|
|
2039
2039
|
module_eval(<<'.,.,', 'nasl.y', 532)
|
2040
2040
|
def _reduce_170(val, _values)
|
2041
|
-
n(:String, *val)
|
2041
|
+
n(:String, *val)
|
2042
2042
|
end
|
2043
2043
|
.,.,
|
2044
2044
|
|
2045
2045
|
module_eval(<<'.,.,', 'nasl.y', 536)
|
2046
2046
|
def _reduce_171(val, _values)
|
2047
|
-
n(:Undefined, *val)
|
2047
|
+
n(:Undefined, *val)
|
2048
2048
|
end
|
2049
2049
|
.,.,
|
2050
2050
|
|
@@ -2053,6 +2053,6 @@ def _reduce_none(val, _values)
|
|
2053
2053
|
end
|
2054
2054
|
|
2055
2055
|
end # class Grammar
|
2056
|
-
|
2056
|
+
end # module Nasl
|
2057
2057
|
|
2058
2058
|
|