lrama 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +34 -0
- data/README.md +23 -0
- data/Steepfile +2 -0
- data/lib/lrama/context.rb +4 -4
- data/lib/lrama/grammar/code/initial_action_code.rb +6 -0
- data/lib/lrama/grammar/code/no_reference_code.rb +4 -0
- data/lib/lrama/grammar/code/printer_code.rb +6 -0
- data/lib/lrama/grammar/code/rule_action.rb +11 -1
- data/lib/lrama/grammar/reference.rb +4 -3
- data/lib/lrama/grammar/rule_builder.rb +8 -1
- data/lib/lrama/grammar/symbol.rb +1 -1
- data/lib/lrama/grammar/symbols/resolver.rb +276 -0
- data/lib/lrama/grammar/symbols.rb +1 -0
- data/lib/lrama/grammar.rb +25 -244
- data/lib/lrama/lexer/token/user_code.rb +13 -2
- data/lib/lrama/lexer.rb +6 -0
- data/lib/lrama/output.rb +56 -2
- data/lib/lrama/parser.rb +520 -457
- data/lib/lrama/state.rb +4 -4
- data/lib/lrama/states/item.rb +6 -8
- data/lib/lrama/states_reporter.rb +2 -2
- data/lib/lrama/version.rb +1 -1
- data/lrama.gemspec +7 -0
- data/parser.y +20 -0
- data/sig/lrama/grammar/reference.rbs +2 -1
- data/sig/lrama/grammar/symbol.rbs +4 -4
- data/sig/lrama/grammar/symbols/resolver.rbs +41 -0
- data/sig/lrama/grammar/type.rbs +11 -0
- data/template/bison/yacc.c +6 -0
- metadata +12 -3
data/lib/lrama/parser.rb
CHANGED
@@ -658,7 +658,7 @@ end
|
|
658
658
|
module Lrama
|
659
659
|
class Parser < Racc::Parser
|
660
660
|
|
661
|
-
module_eval(<<'...end parser.y/module_eval...', 'parser.y',
|
661
|
+
module_eval(<<'...end parser.y/module_eval...', 'parser.y', 521)
|
662
662
|
|
663
663
|
include Lrama::Report::Duration
|
664
664
|
|
@@ -732,303 +732,316 @@ end
|
|
732
732
|
##### State transition tables begin ###
|
733
733
|
|
734
734
|
racc_action_table = [
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
735
|
+
96, 50, 97, 156, 155, 78, 50, 50, 156, 199,
|
736
|
+
78, 78, 50, 50, 199, 49, 78, 158, 69, 6,
|
737
|
+
3, 7, 158, 200, 210, 154, 8, 50, 200, 49,
|
738
|
+
40, 174, 175, 176, 47, 50, 46, 49, 53, 78,
|
739
|
+
74, 50, 53, 49, 159, 53, 81, 98, 56, 159,
|
740
|
+
201, 174, 175, 176, 94, 201, 22, 24, 25, 26,
|
741
|
+
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
|
742
|
+
37, 46, 50, 50, 49, 49, 91, 81, 81, 50,
|
743
|
+
50, 49, 49, 50, 81, 49, 57, 78, 184, 58,
|
744
|
+
59, 22, 24, 25, 26, 27, 28, 29, 30, 31,
|
745
|
+
32, 33, 34, 35, 36, 37, 9, 50, 60, 49,
|
746
|
+
13, 14, 15, 16, 17, 18, 61, 62, 19, 20,
|
747
|
+
21, 22, 24, 25, 26, 27, 28, 29, 30, 31,
|
748
|
+
32, 33, 34, 35, 36, 37, 38, 50, 50, 49,
|
749
|
+
49, 78, 184, 50, 50, 49, 49, 78, 184, 50,
|
750
|
+
50, 49, 49, 78, 184, 50, 50, 49, 49, 78,
|
751
|
+
184, 50, 50, 49, 49, 78, 184, 50, 50, 49,
|
752
|
+
49, 78, 78, 50, 50, 49, 49, 78, 78, 50,
|
753
|
+
50, 49, 49, 78, 78, 50, 50, 190, 49, 78,
|
754
|
+
78, 50, 50, 190, 49, 78, 78, 50, 50, 190,
|
755
|
+
49, 78, 50, 50, 49, 49, 152, 203, 153, 204,
|
756
|
+
174, 175, 176, 219, 221, 204, 204, 63, 64, 65,
|
757
|
+
66, 87, 88, 92, 94, 99, 99, 99, 101, 107,
|
758
|
+
111, 112, 115, 115, 115, 115, 118, 121, 122, 124,
|
759
|
+
126, 127, 128, 129, 130, 133, 137, 138, 139, 142,
|
760
|
+
143, 144, 146, 161, 163, 164, 165, 166, 167, 168,
|
761
|
+
169, 142, 171, 179, 180, 189, 194, 195, 197, 202,
|
762
|
+
189, 94, 194, 216, 218, 94, 223, 94 ]
|
761
763
|
|
762
764
|
racc_action_check = [
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
9,
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
765
|
+
48, 141, 48, 141, 140, 141, 170, 188, 170, 188,
|
766
|
+
170, 188, 207, 32, 207, 32, 207, 141, 32, 2,
|
767
|
+
1, 2, 170, 188, 199, 140, 3, 14, 207, 14,
|
768
|
+
7, 199, 199, 199, 13, 33, 9, 33, 15, 33,
|
769
|
+
33, 34, 16, 34, 141, 17, 34, 48, 18, 170,
|
770
|
+
188, 157, 157, 157, 157, 207, 9, 9, 9, 9,
|
771
|
+
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
|
772
|
+
9, 41, 35, 36, 35, 36, 41, 35, 36, 37,
|
773
|
+
68, 37, 68, 165, 37, 165, 19, 165, 165, 22,
|
774
|
+
24, 41, 41, 41, 41, 41, 41, 41, 41, 41,
|
775
|
+
41, 41, 41, 41, 41, 41, 4, 69, 25, 69,
|
776
|
+
4, 4, 4, 4, 4, 4, 26, 27, 4, 4,
|
777
|
+
4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
|
778
|
+
4, 4, 4, 4, 4, 4, 4, 166, 80, 166,
|
779
|
+
80, 166, 166, 167, 81, 167, 81, 167, 167, 181,
|
780
|
+
107, 181, 107, 181, 181, 185, 109, 185, 109, 185,
|
781
|
+
185, 186, 115, 186, 115, 186, 186, 73, 74, 73,
|
782
|
+
74, 73, 74, 112, 114, 112, 114, 112, 114, 134,
|
783
|
+
159, 134, 159, 134, 159, 171, 201, 171, 201, 171,
|
784
|
+
201, 202, 204, 202, 204, 202, 204, 210, 117, 210,
|
785
|
+
117, 210, 131, 135, 131, 135, 136, 191, 136, 191,
|
786
|
+
192, 192, 192, 213, 217, 213, 217, 28, 29, 30,
|
787
|
+
31, 38, 39, 44, 45, 52, 54, 55, 56, 67,
|
788
|
+
71, 72, 79, 84, 85, 86, 87, 93, 94, 100,
|
789
|
+
102, 103, 104, 105, 106, 110, 118, 119, 120, 121,
|
790
|
+
122, 123, 125, 145, 147, 148, 149, 150, 151, 152,
|
791
|
+
153, 154, 156, 160, 162, 168, 173, 177, 187, 190,
|
792
|
+
197, 198, 203, 206, 211, 216, 222, 223 ]
|
789
793
|
|
790
794
|
racc_action_pointer = [
|
791
|
-
nil,
|
792
|
-
nil, nil, nil,
|
793
|
-
nil, nil,
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
nil,
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
nil,
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
nil, nil,
|
795
|
+
nil, 20, 9, 26, 97, nil, nil, 23, nil, 32,
|
796
|
+
nil, nil, nil, 28, 24, 19, 23, 26, 43, 67,
|
797
|
+
nil, nil, 70, nil, 71, 89, 97, 112, 212, 213,
|
798
|
+
214, 215, 10, 32, 38, 69, 70, 76, 216, 220,
|
799
|
+
nil, 67, nil, nil, 200, 174, nil, nil, -5, nil,
|
800
|
+
nil, nil, 206, nil, 207, 208, 209, nil, nil, nil,
|
801
|
+
nil, nil, nil, nil, nil, nil, nil, 221, 77, 104,
|
802
|
+
nil, 224, 223, 164, 165, nil, nil, nil, nil, 224,
|
803
|
+
135, 141, nil, nil, 225, 226, 227, 196, nil, nil,
|
804
|
+
nil, nil, nil, 195, 233, nil, nil, nil, nil, nil,
|
805
|
+
237, nil, 238, 239, 240, 241, 242, 147, nil, 153,
|
806
|
+
238, nil, 170, nil, 171, 159, nil, 195, 241, 236,
|
807
|
+
246, 204, 199, 249, nil, 250, nil, nil, nil, nil,
|
808
|
+
nil, 199, nil, nil, 176, 200, 165, nil, nil, nil,
|
809
|
+
-19, -2, nil, nil, nil, 233, nil, 234, 235, 236,
|
810
|
+
237, 238, 217, 255, 216, nil, 222, 4, nil, 177,
|
811
|
+
243, nil, 244, nil, nil, 80, 134, 140, 220, nil,
|
812
|
+
3, 182, nil, 258, nil, nil, nil, 265, nil, nil,
|
813
|
+
nil, 146, nil, nil, nil, 152, 158, 224, 4, nil,
|
814
|
+
229, 166, 163, nil, nil, nil, nil, 225, 221, -16,
|
815
|
+
nil, 183, 188, 264, 189, nil, 253, 9, nil, nil,
|
816
|
+
194, 272, nil, 172, nil, nil, 225, 173, nil, nil,
|
817
|
+
nil, nil, 256, 227, nil ]
|
813
818
|
|
814
819
|
racc_action_default = [
|
815
|
-
-2, -
|
816
|
-
-9, -10, -11, -
|
817
|
-
-23, -24, -
|
818
|
-
-
|
819
|
-
|
820
|
-
-
|
821
|
-
-
|
822
|
-
-
|
823
|
-
-
|
824
|
-
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
-
|
829
|
-
|
830
|
-
-
|
831
|
-
|
832
|
-
|
833
|
-
-
|
834
|
-
-
|
835
|
-
|
836
|
-
-
|
820
|
+
-2, -136, -8, -136, -136, -3, -4, -136, 225, -136,
|
821
|
+
-9, -10, -11, -136, -136, -136, -136, -136, -136, -136,
|
822
|
+
-23, -24, -136, -28, -136, -136, -136, -136, -136, -136,
|
823
|
+
-136, -136, -136, -136, -136, -136, -136, -136, -136, -136,
|
824
|
+
-7, -121, -94, -96, -136, -118, -120, -12, -125, -92,
|
825
|
+
-93, -124, -14, -83, -15, -16, -136, -20, -25, -29,
|
826
|
+
-32, -35, -38, -39, -40, -41, -42, -43, -49, -136,
|
827
|
+
-52, -69, -44, -73, -136, -76, -78, -79, -133, -45,
|
828
|
+
-86, -136, -89, -91, -46, -47, -48, -136, -5, -1,
|
829
|
+
-95, -122, -97, -136, -136, -13, -126, -127, -128, -80,
|
830
|
+
-136, -17, -136, -136, -136, -136, -136, -136, -53, -50,
|
831
|
+
-71, -70, -136, -77, -74, -136, -90, -87, -136, -136,
|
832
|
+
-136, -102, -136, -136, -84, -136, -21, -26, -30, -33,
|
833
|
+
-36, -51, -54, -72, -75, -88, -136, -56, -6, -123,
|
834
|
+
-98, -99, -103, -119, -81, -136, -18, -136, -136, -136,
|
835
|
+
-136, -136, -136, -136, -102, -101, -92, -118, -107, -136,
|
836
|
+
-136, -85, -136, -22, -27, -136, -136, -136, -60, -57,
|
837
|
+
-100, -136, -104, -134, -111, -112, -113, -136, -110, -82,
|
838
|
+
-19, -31, -129, -131, -132, -34, -37, -55, -58, -61,
|
839
|
+
-92, -136, -114, -105, -135, -108, -130, -60, -118, -92,
|
840
|
+
-65, -136, -136, -134, -136, -116, -136, -59, -62, -63,
|
841
|
+
-136, -136, -68, -136, -106, -115, -118, -136, -66, -117,
|
842
|
+
-109, -64, -136, -118, -67 ]
|
837
843
|
|
838
844
|
racc_goto_table = [
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
nil, nil,
|
851
|
-
nil, nil, nil, nil, nil, nil,
|
852
|
-
nil,
|
853
|
-
nil, nil,
|
854
|
-
nil, nil, nil,
|
855
|
-
|
856
|
-
nil,
|
845
|
+
93, 51, 73, 68, 116, 75, 108, 173, 193, 1,
|
846
|
+
188, 196, 2, 191, 117, 196, 196, 141, 4, 71,
|
847
|
+
41, 83, 83, 83, 83, 42, 79, 84, 85, 86,
|
848
|
+
52, 54, 55, 181, 185, 186, 89, 5, 214, 207,
|
849
|
+
109, 116, 205, 114, 213, 113, 75, 108, 135, 209,
|
850
|
+
170, 39, 217, 119, 10, 71, 71, 90, 11, 116,
|
851
|
+
12, 48, 95, 125, 162, 102, 147, 83, 83, 108,
|
852
|
+
103, 148, 104, 149, 105, 150, 106, 151, 131, 67,
|
853
|
+
72, 134, 110, 132, 75, 136, 113, 187, 211, 222,
|
854
|
+
123, 160, 100, 145, 71, 140, 71, 177, 206, 120,
|
855
|
+
nil, nil, 83, nil, 83, nil, 113, nil, nil, nil,
|
856
|
+
nil, nil, 172, 157, nil, nil, nil, nil, 71, nil,
|
857
|
+
nil, nil, 83, nil, nil, nil, nil, nil, nil, nil,
|
858
|
+
nil, 178, nil, nil, nil, nil, nil, nil, nil, nil,
|
859
|
+
nil, nil, 157, 192, nil, nil, nil, nil, nil, nil,
|
860
|
+
nil, nil, nil, 208, nil, nil, nil, nil, nil, nil,
|
861
|
+
198, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
862
|
+
nil, 220, nil, 212, 192, nil, 215, nil, 224, 198,
|
863
|
+
nil, nil, 192 ]
|
857
864
|
|
858
865
|
racc_goto_check = [
|
859
|
-
41,
|
860
|
-
39,
|
861
|
-
34,
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
21, 22, 23,
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
nil, nil,
|
871
|
-
nil, nil, nil, nil, nil, nil,
|
872
|
-
nil, nil, nil, nil, nil, nil, nil,
|
873
|
-
nil, nil,
|
874
|
-
nil, nil, nil, nil, nil,
|
875
|
-
nil, nil, nil, nil, nil, nil,
|
876
|
-
nil,
|
866
|
+
41, 34, 46, 32, 53, 40, 33, 42, 59, 1,
|
867
|
+
39, 63, 2, 43, 52, 63, 63, 58, 3, 34,
|
868
|
+
4, 34, 34, 34, 34, 54, 31, 31, 31, 31,
|
869
|
+
14, 14, 14, 20, 20, 20, 5, 6, 59, 39,
|
870
|
+
32, 53, 42, 46, 43, 40, 40, 33, 52, 42,
|
871
|
+
58, 7, 43, 8, 9, 34, 34, 54, 10, 53,
|
872
|
+
11, 12, 13, 15, 16, 17, 18, 34, 34, 33,
|
873
|
+
21, 22, 23, 24, 25, 26, 27, 28, 32, 29,
|
874
|
+
30, 46, 35, 36, 40, 37, 40, 38, 44, 45,
|
875
|
+
48, 49, 50, 51, 34, 57, 34, 60, 61, 62,
|
876
|
+
nil, nil, 34, nil, 34, nil, 40, nil, nil, nil,
|
877
|
+
nil, nil, 41, 40, nil, nil, nil, nil, 34, nil,
|
878
|
+
nil, nil, 34, nil, nil, nil, nil, nil, nil, nil,
|
879
|
+
nil, 40, nil, nil, nil, nil, nil, nil, nil, nil,
|
880
|
+
nil, nil, 40, 40, nil, nil, nil, nil, nil, nil,
|
881
|
+
nil, nil, nil, 41, nil, nil, nil, nil, nil, nil,
|
882
|
+
40, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
883
|
+
nil, 41, nil, 40, 40, nil, 40, nil, 41, 40,
|
884
|
+
nil, nil, 40 ]
|
877
885
|
|
878
886
|
racc_goto_pointer = [
|
879
|
-
nil,
|
880
|
-
56,
|
881
|
-
-
|
882
|
-
|
883
|
-
-
|
884
|
-
|
885
|
-
-
|
887
|
+
nil, 9, 12, 16, 11, -5, 35, 45, -35, 50,
|
888
|
+
54, 56, 47, 14, 15, -38, -82, 8, -60, nil,
|
889
|
+
-132, 12, -56, 13, -55, 14, -54, 15, -53, 47,
|
890
|
+
47, -8, -29, -62, -13, 11, -27, -33, -81, -158,
|
891
|
+
-28, -45, -150, -158, -112, -129, -31, nil, -9, -53,
|
892
|
+
39, -31, -67, -76, 16, nil, nil, -26, -104, -165,
|
893
|
+
-61, -97, 8, -170 ]
|
886
894
|
|
887
895
|
racc_goto_default = [
|
888
896
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
889
|
-
|
897
|
+
44, nil, nil, nil, nil, nil, nil, nil, nil, 23,
|
890
898
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
891
|
-
nil, nil, nil,
|
892
|
-
|
893
|
-
nil, nil,
|
894
|
-
nil, nil, nil,
|
899
|
+
nil, nil, nil, 70, 76, nil, nil, nil, nil, nil,
|
900
|
+
183, nil, nil, nil, nil, nil, nil, 77, nil, nil,
|
901
|
+
nil, nil, 80, 82, nil, 43, 45, nil, nil, nil,
|
902
|
+
nil, nil, nil, 182 ]
|
895
903
|
|
896
904
|
racc_reduce_table = [
|
897
905
|
0, 0, :racc_error,
|
898
|
-
5,
|
899
|
-
0,
|
900
|
-
2,
|
901
|
-
0,
|
902
|
-
0,
|
903
|
-
5,
|
904
|
-
2,
|
905
|
-
0,
|
906
|
-
2,
|
907
|
-
1,
|
908
|
-
1,
|
909
|
-
2,
|
910
|
-
3,
|
911
|
-
2,
|
912
|
-
2,
|
913
|
-
2,
|
914
|
-
0,
|
915
|
-
0,
|
916
|
-
7,
|
917
|
-
0,
|
918
|
-
0,
|
919
|
-
6,
|
920
|
-
1,
|
921
|
-
1,
|
922
|
-
0,
|
923
|
-
0,
|
924
|
-
6,
|
925
|
-
1,
|
926
|
-
0,
|
927
|
-
0,
|
928
|
-
7,
|
929
|
-
0,
|
930
|
-
0,
|
931
|
-
7,
|
932
|
-
0,
|
933
|
-
0,
|
934
|
-
7,
|
935
|
-
2,
|
936
|
-
2,
|
937
|
-
2,
|
938
|
-
2,
|
939
|
-
2,
|
940
|
-
2,
|
941
|
-
|
942
|
-
2,
|
943
|
-
|
944
|
-
|
945
|
-
2,
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
906
|
+
5, 54, :_reduce_none,
|
907
|
+
0, 55, :_reduce_none,
|
908
|
+
2, 55, :_reduce_none,
|
909
|
+
0, 60, :_reduce_4,
|
910
|
+
0, 61, :_reduce_5,
|
911
|
+
5, 59, :_reduce_6,
|
912
|
+
2, 59, :_reduce_none,
|
913
|
+
0, 56, :_reduce_8,
|
914
|
+
2, 56, :_reduce_none,
|
915
|
+
1, 62, :_reduce_none,
|
916
|
+
1, 62, :_reduce_none,
|
917
|
+
2, 62, :_reduce_12,
|
918
|
+
3, 62, :_reduce_none,
|
919
|
+
2, 62, :_reduce_none,
|
920
|
+
2, 62, :_reduce_15,
|
921
|
+
2, 62, :_reduce_16,
|
922
|
+
0, 68, :_reduce_17,
|
923
|
+
0, 69, :_reduce_18,
|
924
|
+
7, 62, :_reduce_19,
|
925
|
+
0, 70, :_reduce_20,
|
926
|
+
0, 71, :_reduce_21,
|
927
|
+
6, 62, :_reduce_22,
|
928
|
+
1, 62, :_reduce_23,
|
929
|
+
1, 62, :_reduce_none,
|
930
|
+
0, 74, :_reduce_25,
|
931
|
+
0, 75, :_reduce_26,
|
932
|
+
6, 63, :_reduce_27,
|
933
|
+
1, 63, :_reduce_none,
|
934
|
+
0, 76, :_reduce_29,
|
935
|
+
0, 77, :_reduce_30,
|
936
|
+
7, 63, :_reduce_none,
|
937
|
+
0, 78, :_reduce_32,
|
938
|
+
0, 79, :_reduce_33,
|
939
|
+
7, 63, :_reduce_34,
|
940
|
+
0, 80, :_reduce_35,
|
941
|
+
0, 81, :_reduce_36,
|
942
|
+
7, 63, :_reduce_37,
|
943
|
+
2, 63, :_reduce_38,
|
944
|
+
2, 63, :_reduce_39,
|
945
|
+
2, 63, :_reduce_40,
|
946
|
+
2, 63, :_reduce_41,
|
947
|
+
2, 63, :_reduce_42,
|
948
|
+
2, 72, :_reduce_none,
|
949
|
+
2, 72, :_reduce_44,
|
950
|
+
2, 72, :_reduce_45,
|
951
|
+
2, 72, :_reduce_46,
|
952
|
+
2, 72, :_reduce_47,
|
953
|
+
2, 72, :_reduce_48,
|
954
|
+
1, 82, :_reduce_49,
|
955
|
+
2, 82, :_reduce_50,
|
956
|
+
3, 82, :_reduce_51,
|
957
|
+
1, 85, :_reduce_52,
|
958
|
+
2, 85, :_reduce_53,
|
951
959
|
3, 86, :_reduce_54,
|
952
|
-
|
953
|
-
1,
|
954
|
-
3,
|
955
|
-
|
956
|
-
|
960
|
+
7, 64, :_reduce_55,
|
961
|
+
1, 90, :_reduce_56,
|
962
|
+
3, 90, :_reduce_57,
|
963
|
+
1, 91, :_reduce_58,
|
964
|
+
3, 91, :_reduce_59,
|
957
965
|
0, 92, :_reduce_60,
|
958
|
-
|
959
|
-
|
960
|
-
3,
|
961
|
-
|
962
|
-
|
963
|
-
0,
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
3, 78, :_reduce_70,
|
968
|
-
1, 94, :_reduce_71,
|
969
|
-
2, 94, :_reduce_72,
|
970
|
-
1, 88, :_reduce_none,
|
966
|
+
1, 92, :_reduce_61,
|
967
|
+
3, 92, :_reduce_62,
|
968
|
+
3, 92, :_reduce_63,
|
969
|
+
5, 92, :_reduce_64,
|
970
|
+
0, 97, :_reduce_65,
|
971
|
+
0, 98, :_reduce_66,
|
972
|
+
7, 92, :_reduce_67,
|
973
|
+
3, 92, :_reduce_68,
|
974
|
+
0, 88, :_reduce_none,
|
971
975
|
1, 88, :_reduce_none,
|
972
|
-
0, 96, :_reduce_75,
|
973
|
-
0, 97, :_reduce_76,
|
974
|
-
6, 62, :_reduce_77,
|
975
|
-
0, 98, :_reduce_78,
|
976
|
-
0, 99, :_reduce_79,
|
977
|
-
5, 62, :_reduce_80,
|
978
|
-
1, 79, :_reduce_81,
|
979
|
-
2, 79, :_reduce_82,
|
980
|
-
3, 79, :_reduce_83,
|
981
|
-
1, 100, :_reduce_84,
|
982
|
-
2, 100, :_reduce_85,
|
983
|
-
1, 101, :_reduce_none,
|
984
|
-
1, 82, :_reduce_87,
|
985
|
-
1, 82, :_reduce_88,
|
986
|
-
1, 52, :_reduce_none,
|
987
|
-
2, 52, :_reduce_none,
|
988
|
-
1, 102, :_reduce_none,
|
989
|
-
2, 102, :_reduce_none,
|
990
|
-
4, 103, :_reduce_93,
|
991
|
-
1, 105, :_reduce_94,
|
992
|
-
3, 105, :_reduce_95,
|
993
|
-
2, 105, :_reduce_none,
|
994
|
-
0, 106, :_reduce_97,
|
995
|
-
1, 106, :_reduce_98,
|
996
|
-
3, 106, :_reduce_99,
|
997
|
-
4, 106, :_reduce_100,
|
998
|
-
6, 106, :_reduce_101,
|
999
|
-
0, 108, :_reduce_102,
|
1000
|
-
0, 109, :_reduce_103,
|
1001
|
-
7, 106, :_reduce_104,
|
1002
|
-
3, 106, :_reduce_105,
|
1003
|
-
1, 90, :_reduce_106,
|
1004
|
-
1, 90, :_reduce_107,
|
1005
|
-
1, 90, :_reduce_108,
|
1006
|
-
1, 91, :_reduce_109,
|
1007
|
-
3, 91, :_reduce_110,
|
1008
|
-
2, 91, :_reduce_111,
|
1009
|
-
4, 91, :_reduce_112,
|
1010
976
|
0, 89, :_reduce_none,
|
1011
|
-
|
1012
|
-
1,
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
1,
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
1,
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
977
|
+
1, 89, :_reduce_none,
|
978
|
+
1, 83, :_reduce_73,
|
979
|
+
2, 83, :_reduce_74,
|
980
|
+
3, 83, :_reduce_75,
|
981
|
+
1, 99, :_reduce_76,
|
982
|
+
2, 99, :_reduce_77,
|
983
|
+
1, 93, :_reduce_none,
|
984
|
+
1, 93, :_reduce_none,
|
985
|
+
0, 101, :_reduce_80,
|
986
|
+
0, 102, :_reduce_81,
|
987
|
+
6, 67, :_reduce_82,
|
988
|
+
0, 103, :_reduce_83,
|
989
|
+
0, 104, :_reduce_84,
|
990
|
+
5, 67, :_reduce_85,
|
991
|
+
1, 84, :_reduce_86,
|
992
|
+
2, 84, :_reduce_87,
|
993
|
+
3, 84, :_reduce_88,
|
994
|
+
1, 105, :_reduce_89,
|
995
|
+
2, 105, :_reduce_90,
|
996
|
+
1, 106, :_reduce_none,
|
997
|
+
1, 87, :_reduce_92,
|
998
|
+
1, 87, :_reduce_93,
|
999
|
+
1, 57, :_reduce_none,
|
1000
|
+
2, 57, :_reduce_none,
|
1001
|
+
1, 107, :_reduce_none,
|
1002
|
+
2, 107, :_reduce_none,
|
1003
|
+
4, 108, :_reduce_98,
|
1004
|
+
1, 110, :_reduce_99,
|
1005
|
+
3, 110, :_reduce_100,
|
1006
|
+
2, 110, :_reduce_none,
|
1007
|
+
0, 111, :_reduce_102,
|
1008
|
+
1, 111, :_reduce_103,
|
1009
|
+
3, 111, :_reduce_104,
|
1010
|
+
4, 111, :_reduce_105,
|
1011
|
+
6, 111, :_reduce_106,
|
1012
|
+
0, 113, :_reduce_107,
|
1013
|
+
0, 114, :_reduce_108,
|
1014
|
+
7, 111, :_reduce_109,
|
1015
|
+
3, 111, :_reduce_110,
|
1016
|
+
1, 95, :_reduce_111,
|
1017
|
+
1, 95, :_reduce_112,
|
1018
|
+
1, 95, :_reduce_113,
|
1019
|
+
1, 96, :_reduce_114,
|
1020
|
+
3, 96, :_reduce_115,
|
1021
|
+
2, 96, :_reduce_116,
|
1022
|
+
4, 96, :_reduce_117,
|
1023
|
+
0, 94, :_reduce_none,
|
1024
|
+
3, 94, :_reduce_119,
|
1025
|
+
1, 109, :_reduce_none,
|
1026
|
+
0, 58, :_reduce_none,
|
1027
|
+
0, 115, :_reduce_122,
|
1028
|
+
3, 58, :_reduce_123,
|
1029
|
+
1, 65, :_reduce_none,
|
1030
|
+
0, 66, :_reduce_none,
|
1031
|
+
1, 66, :_reduce_none,
|
1032
|
+
1, 66, :_reduce_none,
|
1033
|
+
1, 66, :_reduce_none,
|
1034
|
+
1, 73, :_reduce_129,
|
1035
|
+
2, 73, :_reduce_130,
|
1036
|
+
1, 116, :_reduce_none,
|
1037
|
+
1, 116, :_reduce_none,
|
1038
|
+
1, 100, :_reduce_133,
|
1039
|
+
0, 112, :_reduce_none,
|
1040
|
+
1, 112, :_reduce_none ]
|
1041
|
+
|
1042
|
+
racc_reduce_n = 136
|
1043
|
+
|
1044
|
+
racc_shift_n = 225
|
1032
1045
|
|
1033
1046
|
racc_token_table = {
|
1034
1047
|
false => 0,
|
@@ -1059,28 +1072,33 @@ racc_token_table = {
|
|
1059
1072
|
"%destructor" => 25,
|
1060
1073
|
"%printer" => 26,
|
1061
1074
|
"%error-token" => 27,
|
1062
|
-
"%
|
1063
|
-
"%
|
1064
|
-
"%
|
1065
|
-
"%
|
1066
|
-
"%
|
1067
|
-
"%
|
1068
|
-
"%
|
1069
|
-
"
|
1070
|
-
"
|
1071
|
-
"
|
1072
|
-
"
|
1073
|
-
"
|
1074
|
-
"
|
1075
|
-
"
|
1076
|
-
"
|
1077
|
-
"
|
1078
|
-
"
|
1079
|
-
"
|
1080
|
-
"
|
1081
|
-
"
|
1082
|
-
|
1083
|
-
|
1075
|
+
"%after-shift" => 28,
|
1076
|
+
"%before-reduce" => 29,
|
1077
|
+
"%after-reduce" => 30,
|
1078
|
+
"%after-shift-error-token" => 31,
|
1079
|
+
"%after-pop-stack" => 32,
|
1080
|
+
"%token" => 33,
|
1081
|
+
"%type" => 34,
|
1082
|
+
"%left" => 35,
|
1083
|
+
"%right" => 36,
|
1084
|
+
"%precedence" => 37,
|
1085
|
+
"%nonassoc" => 38,
|
1086
|
+
"%rule" => 39,
|
1087
|
+
"(" => 40,
|
1088
|
+
")" => 41,
|
1089
|
+
":" => 42,
|
1090
|
+
"," => 43,
|
1091
|
+
"|" => 44,
|
1092
|
+
"%empty" => 45,
|
1093
|
+
"%prec" => 46,
|
1094
|
+
"?" => 47,
|
1095
|
+
"+" => 48,
|
1096
|
+
"*" => 49,
|
1097
|
+
"[" => 50,
|
1098
|
+
"]" => 51,
|
1099
|
+
"{...}" => 52 }
|
1100
|
+
|
1101
|
+
racc_nt_base = 53
|
1084
1102
|
|
1085
1103
|
racc_use_result_var = true
|
1086
1104
|
|
@@ -1130,6 +1148,11 @@ Racc_token_to_s_table = [
|
|
1130
1148
|
"\"%destructor\"",
|
1131
1149
|
"\"%printer\"",
|
1132
1150
|
"\"%error-token\"",
|
1151
|
+
"\"%after-shift\"",
|
1152
|
+
"\"%before-reduce\"",
|
1153
|
+
"\"%after-reduce\"",
|
1154
|
+
"\"%after-shift-error-token\"",
|
1155
|
+
"\"%after-pop-stack\"",
|
1133
1156
|
"\"%token\"",
|
1134
1157
|
"\"%type\"",
|
1135
1158
|
"\"%left\"",
|
@@ -1459,10 +1482,50 @@ module_eval(<<'.,.,', 'parser.y', 125)
|
|
1459
1482
|
end
|
1460
1483
|
.,.,
|
1461
1484
|
|
1462
|
-
|
1485
|
+
module_eval(<<'.,.,', 'parser.y', 133)
|
1486
|
+
def _reduce_38(val, _values, result)
|
1487
|
+
@grammar.after_shift = val[1]
|
1488
|
+
|
1489
|
+
result
|
1490
|
+
end
|
1491
|
+
.,.,
|
1463
1492
|
|
1464
|
-
module_eval(<<'.,.,', 'parser.y',
|
1493
|
+
module_eval(<<'.,.,', 'parser.y', 137)
|
1465
1494
|
def _reduce_39(val, _values, result)
|
1495
|
+
@grammar.before_reduce = val[1]
|
1496
|
+
|
1497
|
+
result
|
1498
|
+
end
|
1499
|
+
.,.,
|
1500
|
+
|
1501
|
+
module_eval(<<'.,.,', 'parser.y', 141)
|
1502
|
+
def _reduce_40(val, _values, result)
|
1503
|
+
@grammar.after_reduce = val[1]
|
1504
|
+
|
1505
|
+
result
|
1506
|
+
end
|
1507
|
+
.,.,
|
1508
|
+
|
1509
|
+
module_eval(<<'.,.,', 'parser.y', 145)
|
1510
|
+
def _reduce_41(val, _values, result)
|
1511
|
+
@grammar.after_shift_error_token = val[1]
|
1512
|
+
|
1513
|
+
result
|
1514
|
+
end
|
1515
|
+
.,.,
|
1516
|
+
|
1517
|
+
module_eval(<<'.,.,', 'parser.y', 149)
|
1518
|
+
def _reduce_42(val, _values, result)
|
1519
|
+
@grammar.after_pop_stack = val[1]
|
1520
|
+
|
1521
|
+
result
|
1522
|
+
end
|
1523
|
+
.,.,
|
1524
|
+
|
1525
|
+
# reduce 43 omitted
|
1526
|
+
|
1527
|
+
module_eval(<<'.,.,', 'parser.y', 155)
|
1528
|
+
def _reduce_44(val, _values, result)
|
1466
1529
|
val[1].each {|hash|
|
1467
1530
|
hash[:tokens].each {|id|
|
1468
1531
|
@grammar.add_type(id: id, tag: hash[:tag])
|
@@ -1473,8 +1536,8 @@ module_eval(<<'.,.,', 'parser.y', 135)
|
|
1473
1536
|
end
|
1474
1537
|
.,.,
|
1475
1538
|
|
1476
|
-
module_eval(<<'.,.,', 'parser.y',
|
1477
|
-
def
|
1539
|
+
module_eval(<<'.,.,', 'parser.y', 163)
|
1540
|
+
def _reduce_45(val, _values, result)
|
1478
1541
|
val[1].each {|hash|
|
1479
1542
|
hash[:tokens].each {|id|
|
1480
1543
|
sym = @grammar.add_term(id: id)
|
@@ -1487,8 +1550,8 @@ module_eval(<<'.,.,', 'parser.y', 143)
|
|
1487
1550
|
end
|
1488
1551
|
.,.,
|
1489
1552
|
|
1490
|
-
module_eval(<<'.,.,', 'parser.y',
|
1491
|
-
def
|
1553
|
+
module_eval(<<'.,.,', 'parser.y', 173)
|
1554
|
+
def _reduce_46(val, _values, result)
|
1492
1555
|
val[1].each {|hash|
|
1493
1556
|
hash[:tokens].each {|id|
|
1494
1557
|
sym = @grammar.add_term(id: id)
|
@@ -1501,8 +1564,8 @@ module_eval(<<'.,.,', 'parser.y', 153)
|
|
1501
1564
|
end
|
1502
1565
|
.,.,
|
1503
1566
|
|
1504
|
-
module_eval(<<'.,.,', 'parser.y',
|
1505
|
-
def
|
1567
|
+
module_eval(<<'.,.,', 'parser.y', 183)
|
1568
|
+
def _reduce_47(val, _values, result)
|
1506
1569
|
val[1].each {|hash|
|
1507
1570
|
hash[:tokens].each {|id|
|
1508
1571
|
sym = @grammar.add_term(id: id)
|
@@ -1515,8 +1578,8 @@ module_eval(<<'.,.,', 'parser.y', 163)
|
|
1515
1578
|
end
|
1516
1579
|
.,.,
|
1517
1580
|
|
1518
|
-
module_eval(<<'.,.,', 'parser.y',
|
1519
|
-
def
|
1581
|
+
module_eval(<<'.,.,', 'parser.y', 193)
|
1582
|
+
def _reduce_48(val, _values, result)
|
1520
1583
|
val[1].each {|hash|
|
1521
1584
|
hash[:tokens].each {|id|
|
1522
1585
|
sym = @grammar.add_term(id: id)
|
@@ -1529,8 +1592,8 @@ module_eval(<<'.,.,', 'parser.y', 173)
|
|
1529
1592
|
end
|
1530
1593
|
.,.,
|
1531
1594
|
|
1532
|
-
module_eval(<<'.,.,', 'parser.y',
|
1533
|
-
def
|
1595
|
+
module_eval(<<'.,.,', 'parser.y', 204)
|
1596
|
+
def _reduce_49(val, _values, result)
|
1534
1597
|
val[0].each {|token_declaration|
|
1535
1598
|
@grammar.add_term(id: token_declaration[0], alias_name: token_declaration[2], token_id: token_declaration[1], tag: nil, replace: true)
|
1536
1599
|
}
|
@@ -1539,8 +1602,8 @@ module_eval(<<'.,.,', 'parser.y', 184)
|
|
1539
1602
|
end
|
1540
1603
|
.,.,
|
1541
1604
|
|
1542
|
-
module_eval(<<'.,.,', 'parser.y',
|
1543
|
-
def
|
1605
|
+
module_eval(<<'.,.,', 'parser.y', 210)
|
1606
|
+
def _reduce_50(val, _values, result)
|
1544
1607
|
val[1].each {|token_declaration|
|
1545
1608
|
@grammar.add_term(id: token_declaration[0], alias_name: token_declaration[2], token_id: token_declaration[1], tag: val[0], replace: true)
|
1546
1609
|
}
|
@@ -1549,8 +1612,8 @@ module_eval(<<'.,.,', 'parser.y', 190)
|
|
1549
1612
|
end
|
1550
1613
|
.,.,
|
1551
1614
|
|
1552
|
-
module_eval(<<'.,.,', 'parser.y',
|
1553
|
-
def
|
1615
|
+
module_eval(<<'.,.,', 'parser.y', 216)
|
1616
|
+
def _reduce_51(val, _values, result)
|
1554
1617
|
val[2].each {|token_declaration|
|
1555
1618
|
@grammar.add_term(id: token_declaration[0], alias_name: token_declaration[2], token_id: token_declaration[1], tag: val[1], replace: true)
|
1556
1619
|
}
|
@@ -1559,29 +1622,29 @@ module_eval(<<'.,.,', 'parser.y', 196)
|
|
1559
1622
|
end
|
1560
1623
|
.,.,
|
1561
1624
|
|
1562
|
-
module_eval(<<'.,.,', 'parser.y',
|
1563
|
-
def
|
1625
|
+
module_eval(<<'.,.,', 'parser.y', 221)
|
1626
|
+
def _reduce_52(val, _values, result)
|
1564
1627
|
result = [val[0]]
|
1565
1628
|
result
|
1566
1629
|
end
|
1567
1630
|
.,.,
|
1568
1631
|
|
1569
|
-
module_eval(<<'.,.,', 'parser.y',
|
1570
|
-
def
|
1632
|
+
module_eval(<<'.,.,', 'parser.y', 222)
|
1633
|
+
def _reduce_53(val, _values, result)
|
1571
1634
|
result = val[0].append(val[1])
|
1572
1635
|
result
|
1573
1636
|
end
|
1574
1637
|
.,.,
|
1575
1638
|
|
1576
|
-
module_eval(<<'.,.,', 'parser.y',
|
1577
|
-
def
|
1639
|
+
module_eval(<<'.,.,', 'parser.y', 224)
|
1640
|
+
def _reduce_54(val, _values, result)
|
1578
1641
|
result = val
|
1579
1642
|
result
|
1580
1643
|
end
|
1581
1644
|
.,.,
|
1582
1645
|
|
1583
|
-
module_eval(<<'.,.,', 'parser.y',
|
1584
|
-
def
|
1646
|
+
module_eval(<<'.,.,', 'parser.y', 228)
|
1647
|
+
def _reduce_55(val, _values, result)
|
1585
1648
|
rule = Grammar::ParameterizingRule::Rule.new(val[1].s_value, val[3], val[6])
|
1586
1649
|
@grammar.add_parameterizing_rule(rule)
|
1587
1650
|
|
@@ -1589,22 +1652,22 @@ module_eval(<<'.,.,', 'parser.y', 208)
|
|
1589
1652
|
end
|
1590
1653
|
.,.,
|
1591
1654
|
|
1592
|
-
module_eval(<<'.,.,', 'parser.y',
|
1593
|
-
def
|
1655
|
+
module_eval(<<'.,.,', 'parser.y', 232)
|
1656
|
+
def _reduce_56(val, _values, result)
|
1594
1657
|
result = [val[0]]
|
1595
1658
|
result
|
1596
1659
|
end
|
1597
1660
|
.,.,
|
1598
1661
|
|
1599
|
-
module_eval(<<'.,.,', 'parser.y',
|
1600
|
-
def
|
1662
|
+
module_eval(<<'.,.,', 'parser.y', 233)
|
1663
|
+
def _reduce_57(val, _values, result)
|
1601
1664
|
result = val[0].append(val[2])
|
1602
1665
|
result
|
1603
1666
|
end
|
1604
1667
|
.,.,
|
1605
1668
|
|
1606
|
-
module_eval(<<'.,.,', 'parser.y',
|
1607
|
-
def
|
1669
|
+
module_eval(<<'.,.,', 'parser.y', 237)
|
1670
|
+
def _reduce_58(val, _values, result)
|
1608
1671
|
builder = val[0]
|
1609
1672
|
result = [builder]
|
1610
1673
|
|
@@ -1612,8 +1675,8 @@ module_eval(<<'.,.,', 'parser.y', 217)
|
|
1612
1675
|
end
|
1613
1676
|
.,.,
|
1614
1677
|
|
1615
|
-
module_eval(<<'.,.,', 'parser.y',
|
1616
|
-
def
|
1678
|
+
module_eval(<<'.,.,', 'parser.y', 242)
|
1679
|
+
def _reduce_59(val, _values, result)
|
1617
1680
|
builder = val[2]
|
1618
1681
|
result = val[0].append(builder)
|
1619
1682
|
|
@@ -1621,8 +1684,8 @@ module_eval(<<'.,.,', 'parser.y', 222)
|
|
1621
1684
|
end
|
1622
1685
|
.,.,
|
1623
1686
|
|
1624
|
-
module_eval(<<'.,.,', 'parser.y',
|
1625
|
-
def
|
1687
|
+
module_eval(<<'.,.,', 'parser.y', 248)
|
1688
|
+
def _reduce_60(val, _values, result)
|
1626
1689
|
reset_precs
|
1627
1690
|
result = Grammar::ParameterizingRule::Rhs.new
|
1628
1691
|
|
@@ -1630,8 +1693,8 @@ module_eval(<<'.,.,', 'parser.y', 228)
|
|
1630
1693
|
end
|
1631
1694
|
.,.,
|
1632
1695
|
|
1633
|
-
module_eval(<<'.,.,', 'parser.y',
|
1634
|
-
def
|
1696
|
+
module_eval(<<'.,.,', 'parser.y', 253)
|
1697
|
+
def _reduce_61(val, _values, result)
|
1635
1698
|
reset_precs
|
1636
1699
|
result = Grammar::ParameterizingRule::Rhs.new
|
1637
1700
|
|
@@ -1639,8 +1702,8 @@ module_eval(<<'.,.,', 'parser.y', 233)
|
|
1639
1702
|
end
|
1640
1703
|
.,.,
|
1641
1704
|
|
1642
|
-
module_eval(<<'.,.,', 'parser.y',
|
1643
|
-
def
|
1705
|
+
module_eval(<<'.,.,', 'parser.y', 258)
|
1706
|
+
def _reduce_62(val, _values, result)
|
1644
1707
|
token = val[1]
|
1645
1708
|
token.alias_name = val[2]
|
1646
1709
|
builder = val[0]
|
@@ -1651,8 +1714,8 @@ module_eval(<<'.,.,', 'parser.y', 238)
|
|
1651
1714
|
end
|
1652
1715
|
.,.,
|
1653
1716
|
|
1654
|
-
module_eval(<<'.,.,', 'parser.y',
|
1655
|
-
def
|
1717
|
+
module_eval(<<'.,.,', 'parser.y', 266)
|
1718
|
+
def _reduce_63(val, _values, result)
|
1656
1719
|
builder = val[0]
|
1657
1720
|
builder.symbols << Lrama::Lexer::Token::InstantiateRule.new(s_value: val[2], location: @lexer.location, args: [val[1]])
|
1658
1721
|
result = builder
|
@@ -1661,8 +1724,8 @@ module_eval(<<'.,.,', 'parser.y', 246)
|
|
1661
1724
|
end
|
1662
1725
|
.,.,
|
1663
1726
|
|
1664
|
-
module_eval(<<'.,.,', 'parser.y',
|
1665
|
-
def
|
1727
|
+
module_eval(<<'.,.,', 'parser.y', 272)
|
1728
|
+
def _reduce_64(val, _values, result)
|
1666
1729
|
builder = val[0]
|
1667
1730
|
builder.symbols << Lrama::Lexer::Token::InstantiateRule.new(s_value: val[1].s_value, location: @lexer.location, args: val[3])
|
1668
1731
|
result = builder
|
@@ -1671,8 +1734,8 @@ module_eval(<<'.,.,', 'parser.y', 252)
|
|
1671
1734
|
end
|
1672
1735
|
.,.,
|
1673
1736
|
|
1674
|
-
module_eval(<<'.,.,', 'parser.y',
|
1675
|
-
def
|
1737
|
+
module_eval(<<'.,.,', 'parser.y', 278)
|
1738
|
+
def _reduce_65(val, _values, result)
|
1676
1739
|
if @prec_seen
|
1677
1740
|
on_action_error("multiple User_code after %prec", val[0]) if @code_after_prec
|
1678
1741
|
@code_after_prec = true
|
@@ -1683,16 +1746,16 @@ module_eval(<<'.,.,', 'parser.y', 258)
|
|
1683
1746
|
end
|
1684
1747
|
.,.,
|
1685
1748
|
|
1686
|
-
module_eval(<<'.,.,', 'parser.y',
|
1687
|
-
def
|
1749
|
+
module_eval(<<'.,.,', 'parser.y', 286)
|
1750
|
+
def _reduce_66(val, _values, result)
|
1688
1751
|
end_c_declaration
|
1689
1752
|
|
1690
1753
|
result
|
1691
1754
|
end
|
1692
1755
|
.,.,
|
1693
1756
|
|
1694
|
-
module_eval(<<'.,.,', 'parser.y',
|
1695
|
-
def
|
1757
|
+
module_eval(<<'.,.,', 'parser.y', 290)
|
1758
|
+
def _reduce_67(val, _values, result)
|
1696
1759
|
user_code = val[3]
|
1697
1760
|
user_code.alias_name = val[6]
|
1698
1761
|
builder = val[0]
|
@@ -1703,8 +1766,8 @@ module_eval(<<'.,.,', 'parser.y', 270)
|
|
1703
1766
|
end
|
1704
1767
|
.,.,
|
1705
1768
|
|
1706
|
-
module_eval(<<'.,.,', 'parser.y',
|
1707
|
-
def
|
1769
|
+
module_eval(<<'.,.,', 'parser.y', 298)
|
1770
|
+
def _reduce_68(val, _values, result)
|
1708
1771
|
sym = @grammar.find_symbol_by_id!(val[2])
|
1709
1772
|
@prec_seen = true
|
1710
1773
|
builder = val[0]
|
@@ -1715,168 +1778,168 @@ module_eval(<<'.,.,', 'parser.y', 278)
|
|
1715
1778
|
end
|
1716
1779
|
.,.,
|
1717
1780
|
|
1718
|
-
# reduce
|
1781
|
+
# reduce 69 omitted
|
1719
1782
|
|
1720
|
-
# reduce
|
1783
|
+
# reduce 70 omitted
|
1721
1784
|
|
1722
|
-
# reduce
|
1785
|
+
# reduce 71 omitted
|
1723
1786
|
|
1724
|
-
# reduce
|
1787
|
+
# reduce 72 omitted
|
1725
1788
|
|
1726
|
-
module_eval(<<'.,.,', 'parser.y',
|
1727
|
-
def
|
1789
|
+
module_eval(<<'.,.,', 'parser.y', 313)
|
1790
|
+
def _reduce_73(val, _values, result)
|
1728
1791
|
result = [{tag: nil, tokens: val[0]}]
|
1729
1792
|
|
1730
1793
|
result
|
1731
1794
|
end
|
1732
1795
|
.,.,
|
1733
1796
|
|
1734
|
-
module_eval(<<'.,.,', 'parser.y',
|
1735
|
-
def
|
1797
|
+
module_eval(<<'.,.,', 'parser.y', 317)
|
1798
|
+
def _reduce_74(val, _values, result)
|
1736
1799
|
result = [{tag: val[0], tokens: val[1]}]
|
1737
1800
|
|
1738
1801
|
result
|
1739
1802
|
end
|
1740
1803
|
.,.,
|
1741
1804
|
|
1742
|
-
module_eval(<<'.,.,', 'parser.y',
|
1743
|
-
def
|
1805
|
+
module_eval(<<'.,.,', 'parser.y', 321)
|
1806
|
+
def _reduce_75(val, _values, result)
|
1744
1807
|
result = val[0].append({tag: val[1], tokens: val[2]})
|
1745
1808
|
|
1746
1809
|
result
|
1747
1810
|
end
|
1748
1811
|
.,.,
|
1749
1812
|
|
1750
|
-
module_eval(<<'.,.,', 'parser.y',
|
1751
|
-
def
|
1813
|
+
module_eval(<<'.,.,', 'parser.y', 324)
|
1814
|
+
def _reduce_76(val, _values, result)
|
1752
1815
|
result = [val[0]]
|
1753
1816
|
result
|
1754
1817
|
end
|
1755
1818
|
.,.,
|
1756
1819
|
|
1757
|
-
module_eval(<<'.,.,', 'parser.y',
|
1758
|
-
def
|
1820
|
+
module_eval(<<'.,.,', 'parser.y', 325)
|
1821
|
+
def _reduce_77(val, _values, result)
|
1759
1822
|
result = val[0].append(val[1])
|
1760
1823
|
result
|
1761
1824
|
end
|
1762
1825
|
.,.,
|
1763
1826
|
|
1764
|
-
# reduce
|
1827
|
+
# reduce 78 omitted
|
1765
1828
|
|
1766
|
-
# reduce
|
1829
|
+
# reduce 79 omitted
|
1767
1830
|
|
1768
|
-
module_eval(<<'.,.,', 'parser.y',
|
1769
|
-
def
|
1831
|
+
module_eval(<<'.,.,', 'parser.y', 332)
|
1832
|
+
def _reduce_80(val, _values, result)
|
1770
1833
|
begin_c_declaration("}")
|
1771
1834
|
|
1772
1835
|
result
|
1773
1836
|
end
|
1774
1837
|
.,.,
|
1775
1838
|
|
1776
|
-
module_eval(<<'.,.,', 'parser.y',
|
1777
|
-
def
|
1839
|
+
module_eval(<<'.,.,', 'parser.y', 336)
|
1840
|
+
def _reduce_81(val, _values, result)
|
1778
1841
|
end_c_declaration
|
1779
1842
|
|
1780
1843
|
result
|
1781
1844
|
end
|
1782
1845
|
.,.,
|
1783
1846
|
|
1784
|
-
module_eval(<<'.,.,', 'parser.y',
|
1785
|
-
def
|
1847
|
+
module_eval(<<'.,.,', 'parser.y', 340)
|
1848
|
+
def _reduce_82(val, _values, result)
|
1786
1849
|
result = val[0].append(val[3])
|
1787
1850
|
|
1788
1851
|
result
|
1789
1852
|
end
|
1790
1853
|
.,.,
|
1791
1854
|
|
1792
|
-
module_eval(<<'.,.,', 'parser.y',
|
1793
|
-
def
|
1855
|
+
module_eval(<<'.,.,', 'parser.y', 344)
|
1856
|
+
def _reduce_83(val, _values, result)
|
1794
1857
|
begin_c_declaration("}")
|
1795
1858
|
|
1796
1859
|
result
|
1797
1860
|
end
|
1798
1861
|
.,.,
|
1799
1862
|
|
1800
|
-
module_eval(<<'.,.,', 'parser.y',
|
1801
|
-
def
|
1863
|
+
module_eval(<<'.,.,', 'parser.y', 348)
|
1864
|
+
def _reduce_84(val, _values, result)
|
1802
1865
|
end_c_declaration
|
1803
1866
|
|
1804
1867
|
result
|
1805
1868
|
end
|
1806
1869
|
.,.,
|
1807
1870
|
|
1808
|
-
module_eval(<<'.,.,', 'parser.y',
|
1809
|
-
def
|
1871
|
+
module_eval(<<'.,.,', 'parser.y', 352)
|
1872
|
+
def _reduce_85(val, _values, result)
|
1810
1873
|
result = [val[2]]
|
1811
1874
|
|
1812
1875
|
result
|
1813
1876
|
end
|
1814
1877
|
.,.,
|
1815
1878
|
|
1816
|
-
module_eval(<<'.,.,', 'parser.y',
|
1817
|
-
def
|
1879
|
+
module_eval(<<'.,.,', 'parser.y', 357)
|
1880
|
+
def _reduce_86(val, _values, result)
|
1818
1881
|
result = [{tag: nil, tokens: val[0]}]
|
1819
1882
|
|
1820
1883
|
result
|
1821
1884
|
end
|
1822
1885
|
.,.,
|
1823
1886
|
|
1824
|
-
module_eval(<<'.,.,', 'parser.y',
|
1825
|
-
def
|
1887
|
+
module_eval(<<'.,.,', 'parser.y', 361)
|
1888
|
+
def _reduce_87(val, _values, result)
|
1826
1889
|
result = [{tag: val[0], tokens: val[1]}]
|
1827
1890
|
|
1828
1891
|
result
|
1829
1892
|
end
|
1830
1893
|
.,.,
|
1831
1894
|
|
1832
|
-
module_eval(<<'.,.,', 'parser.y',
|
1833
|
-
def
|
1895
|
+
module_eval(<<'.,.,', 'parser.y', 365)
|
1896
|
+
def _reduce_88(val, _values, result)
|
1834
1897
|
result = val[0].append({tag: val[1], tokens: val[2]})
|
1835
1898
|
|
1836
1899
|
result
|
1837
1900
|
end
|
1838
1901
|
.,.,
|
1839
1902
|
|
1840
|
-
module_eval(<<'.,.,', 'parser.y',
|
1841
|
-
def
|
1903
|
+
module_eval(<<'.,.,', 'parser.y', 368)
|
1904
|
+
def _reduce_89(val, _values, result)
|
1842
1905
|
result = [val[0]]
|
1843
1906
|
result
|
1844
1907
|
end
|
1845
1908
|
.,.,
|
1846
1909
|
|
1847
|
-
module_eval(<<'.,.,', 'parser.y',
|
1848
|
-
def
|
1910
|
+
module_eval(<<'.,.,', 'parser.y', 369)
|
1911
|
+
def _reduce_90(val, _values, result)
|
1849
1912
|
result = val[0].append(val[1])
|
1850
1913
|
result
|
1851
1914
|
end
|
1852
1915
|
.,.,
|
1853
1916
|
|
1854
|
-
# reduce
|
1917
|
+
# reduce 91 omitted
|
1855
1918
|
|
1856
|
-
module_eval(<<'.,.,', 'parser.y',
|
1857
|
-
def
|
1919
|
+
module_eval(<<'.,.,', 'parser.y', 373)
|
1920
|
+
def _reduce_92(val, _values, result)
|
1858
1921
|
on_action_error("ident after %prec", val[0]) if @prec_seen
|
1859
1922
|
result
|
1860
1923
|
end
|
1861
1924
|
.,.,
|
1862
1925
|
|
1863
|
-
module_eval(<<'.,.,', 'parser.y',
|
1864
|
-
def
|
1926
|
+
module_eval(<<'.,.,', 'parser.y', 374)
|
1927
|
+
def _reduce_93(val, _values, result)
|
1865
1928
|
on_action_error("char after %prec", val[0]) if @prec_seen
|
1866
1929
|
result
|
1867
1930
|
end
|
1868
1931
|
.,.,
|
1869
1932
|
|
1870
|
-
# reduce
|
1933
|
+
# reduce 94 omitted
|
1871
1934
|
|
1872
|
-
# reduce
|
1935
|
+
# reduce 95 omitted
|
1873
1936
|
|
1874
|
-
# reduce
|
1937
|
+
# reduce 96 omitted
|
1875
1938
|
|
1876
|
-
# reduce
|
1939
|
+
# reduce 97 omitted
|
1877
1940
|
|
1878
|
-
module_eval(<<'.,.,', 'parser.y',
|
1879
|
-
def
|
1941
|
+
module_eval(<<'.,.,', 'parser.y', 384)
|
1942
|
+
def _reduce_98(val, _values, result)
|
1880
1943
|
lhs = val[0]
|
1881
1944
|
lhs.alias_name = val[1]
|
1882
1945
|
val[3].each do |builder|
|
@@ -1889,8 +1952,8 @@ module_eval(<<'.,.,', 'parser.y', 364)
|
|
1889
1952
|
end
|
1890
1953
|
.,.,
|
1891
1954
|
|
1892
|
-
module_eval(<<'.,.,', 'parser.y',
|
1893
|
-
def
|
1955
|
+
module_eval(<<'.,.,', 'parser.y', 395)
|
1956
|
+
def _reduce_99(val, _values, result)
|
1894
1957
|
builder = val[0]
|
1895
1958
|
if !builder.line
|
1896
1959
|
builder.line = @lexer.line - 1
|
@@ -1901,8 +1964,8 @@ module_eval(<<'.,.,', 'parser.y', 375)
|
|
1901
1964
|
end
|
1902
1965
|
.,.,
|
1903
1966
|
|
1904
|
-
module_eval(<<'.,.,', 'parser.y',
|
1905
|
-
def
|
1967
|
+
module_eval(<<'.,.,', 'parser.y', 403)
|
1968
|
+
def _reduce_100(val, _values, result)
|
1906
1969
|
builder = val[2]
|
1907
1970
|
if !builder.line
|
1908
1971
|
builder.line = @lexer.line - 1
|
@@ -1913,10 +1976,10 @@ module_eval(<<'.,.,', 'parser.y', 383)
|
|
1913
1976
|
end
|
1914
1977
|
.,.,
|
1915
1978
|
|
1916
|
-
# reduce
|
1979
|
+
# reduce 101 omitted
|
1917
1980
|
|
1918
|
-
module_eval(<<'.,.,', 'parser.y',
|
1919
|
-
def
|
1981
|
+
module_eval(<<'.,.,', 'parser.y', 413)
|
1982
|
+
def _reduce_102(val, _values, result)
|
1920
1983
|
reset_precs
|
1921
1984
|
result = Grammar::RuleBuilder.new(@rule_counter, @midrule_action_counter)
|
1922
1985
|
|
@@ -1924,8 +1987,8 @@ module_eval(<<'.,.,', 'parser.y', 393)
|
|
1924
1987
|
end
|
1925
1988
|
.,.,
|
1926
1989
|
|
1927
|
-
module_eval(<<'.,.,', 'parser.y',
|
1928
|
-
def
|
1990
|
+
module_eval(<<'.,.,', 'parser.y', 418)
|
1991
|
+
def _reduce_103(val, _values, result)
|
1929
1992
|
reset_precs
|
1930
1993
|
result = Grammar::RuleBuilder.new(@rule_counter, @midrule_action_counter)
|
1931
1994
|
|
@@ -1933,8 +1996,8 @@ module_eval(<<'.,.,', 'parser.y', 398)
|
|
1933
1996
|
end
|
1934
1997
|
.,.,
|
1935
1998
|
|
1936
|
-
module_eval(<<'.,.,', 'parser.y',
|
1937
|
-
def
|
1999
|
+
module_eval(<<'.,.,', 'parser.y', 423)
|
2000
|
+
def _reduce_104(val, _values, result)
|
1938
2001
|
token = val[1]
|
1939
2002
|
token.alias_name = val[2]
|
1940
2003
|
builder = val[0]
|
@@ -1945,8 +2008,8 @@ module_eval(<<'.,.,', 'parser.y', 403)
|
|
1945
2008
|
end
|
1946
2009
|
.,.,
|
1947
2010
|
|
1948
|
-
module_eval(<<'.,.,', 'parser.y',
|
1949
|
-
def
|
2011
|
+
module_eval(<<'.,.,', 'parser.y', 431)
|
2012
|
+
def _reduce_105(val, _values, result)
|
1950
2013
|
token = Lrama::Lexer::Token::InstantiateRule.new(s_value: val[2], location: @lexer.location, args: [val[1]], lhs_tag: val[3])
|
1951
2014
|
builder = val[0]
|
1952
2015
|
builder.add_rhs(token)
|
@@ -1957,8 +2020,8 @@ module_eval(<<'.,.,', 'parser.y', 411)
|
|
1957
2020
|
end
|
1958
2021
|
.,.,
|
1959
2022
|
|
1960
|
-
module_eval(<<'.,.,', 'parser.y',
|
1961
|
-
def
|
2023
|
+
module_eval(<<'.,.,', 'parser.y', 439)
|
2024
|
+
def _reduce_106(val, _values, result)
|
1962
2025
|
token = Lrama::Lexer::Token::InstantiateRule.new(s_value: val[1].s_value, location: @lexer.location, args: val[3], lhs_tag: val[5])
|
1963
2026
|
builder = val[0]
|
1964
2027
|
builder.add_rhs(token)
|
@@ -1969,8 +2032,8 @@ module_eval(<<'.,.,', 'parser.y', 419)
|
|
1969
2032
|
end
|
1970
2033
|
.,.,
|
1971
2034
|
|
1972
|
-
module_eval(<<'.,.,', 'parser.y',
|
1973
|
-
def
|
2035
|
+
module_eval(<<'.,.,', 'parser.y', 447)
|
2036
|
+
def _reduce_107(val, _values, result)
|
1974
2037
|
if @prec_seen
|
1975
2038
|
on_action_error("multiple User_code after %prec", val[0]) if @code_after_prec
|
1976
2039
|
@code_after_prec = true
|
@@ -1981,16 +2044,16 @@ module_eval(<<'.,.,', 'parser.y', 427)
|
|
1981
2044
|
end
|
1982
2045
|
.,.,
|
1983
2046
|
|
1984
|
-
module_eval(<<'.,.,', 'parser.y',
|
1985
|
-
def
|
2047
|
+
module_eval(<<'.,.,', 'parser.y', 455)
|
2048
|
+
def _reduce_108(val, _values, result)
|
1986
2049
|
end_c_declaration
|
1987
2050
|
|
1988
2051
|
result
|
1989
2052
|
end
|
1990
2053
|
.,.,
|
1991
2054
|
|
1992
|
-
module_eval(<<'.,.,', 'parser.y',
|
1993
|
-
def
|
2055
|
+
module_eval(<<'.,.,', 'parser.y', 459)
|
2056
|
+
def _reduce_109(val, _values, result)
|
1994
2057
|
user_code = val[3]
|
1995
2058
|
user_code.alias_name = val[6]
|
1996
2059
|
builder = val[0]
|
@@ -2001,8 +2064,8 @@ module_eval(<<'.,.,', 'parser.y', 439)
|
|
2001
2064
|
end
|
2002
2065
|
.,.,
|
2003
2066
|
|
2004
|
-
module_eval(<<'.,.,', 'parser.y',
|
2005
|
-
def
|
2067
|
+
module_eval(<<'.,.,', 'parser.y', 467)
|
2068
|
+
def _reduce_110(val, _values, result)
|
2006
2069
|
sym = @grammar.find_symbol_by_id!(val[2])
|
2007
2070
|
@prec_seen = true
|
2008
2071
|
builder = val[0]
|
@@ -2013,70 +2076,70 @@ module_eval(<<'.,.,', 'parser.y', 447)
|
|
2013
2076
|
end
|
2014
2077
|
.,.,
|
2015
2078
|
|
2016
|
-
module_eval(<<'.,.,', 'parser.y',
|
2017
|
-
def
|
2079
|
+
module_eval(<<'.,.,', 'parser.y', 474)
|
2080
|
+
def _reduce_111(val, _values, result)
|
2018
2081
|
result = "option"
|
2019
2082
|
result
|
2020
2083
|
end
|
2021
2084
|
.,.,
|
2022
2085
|
|
2023
|
-
module_eval(<<'.,.,', 'parser.y',
|
2024
|
-
def
|
2086
|
+
module_eval(<<'.,.,', 'parser.y', 475)
|
2087
|
+
def _reduce_112(val, _values, result)
|
2025
2088
|
result = "nonempty_list"
|
2026
2089
|
result
|
2027
2090
|
end
|
2028
2091
|
.,.,
|
2029
2092
|
|
2030
|
-
module_eval(<<'.,.,', 'parser.y',
|
2031
|
-
def
|
2093
|
+
module_eval(<<'.,.,', 'parser.y', 476)
|
2094
|
+
def _reduce_113(val, _values, result)
|
2032
2095
|
result = "list"
|
2033
2096
|
result
|
2034
2097
|
end
|
2035
2098
|
.,.,
|
2036
2099
|
|
2037
|
-
module_eval(<<'.,.,', 'parser.y',
|
2038
|
-
def
|
2100
|
+
module_eval(<<'.,.,', 'parser.y', 478)
|
2101
|
+
def _reduce_114(val, _values, result)
|
2039
2102
|
result = [val[0]]
|
2040
2103
|
result
|
2041
2104
|
end
|
2042
2105
|
.,.,
|
2043
2106
|
|
2044
|
-
module_eval(<<'.,.,', 'parser.y',
|
2045
|
-
def
|
2107
|
+
module_eval(<<'.,.,', 'parser.y', 479)
|
2108
|
+
def _reduce_115(val, _values, result)
|
2046
2109
|
result = val[0].append(val[2])
|
2047
2110
|
result
|
2048
2111
|
end
|
2049
2112
|
.,.,
|
2050
2113
|
|
2051
|
-
module_eval(<<'.,.,', 'parser.y',
|
2052
|
-
def
|
2114
|
+
module_eval(<<'.,.,', 'parser.y', 480)
|
2115
|
+
def _reduce_116(val, _values, result)
|
2053
2116
|
result = [Lrama::Lexer::Token::InstantiateRule.new(s_value: val[1].s_value, location: @lexer.location, args: val[0])]
|
2054
2117
|
result
|
2055
2118
|
end
|
2056
2119
|
.,.,
|
2057
2120
|
|
2058
|
-
module_eval(<<'.,.,', 'parser.y',
|
2059
|
-
def
|
2121
|
+
module_eval(<<'.,.,', 'parser.y', 481)
|
2122
|
+
def _reduce_117(val, _values, result)
|
2060
2123
|
result = [Lrama::Lexer::Token::InstantiateRule.new(s_value: val[0].s_value, location: @lexer.location, args: val[2])]
|
2061
2124
|
result
|
2062
2125
|
end
|
2063
2126
|
.,.,
|
2064
2127
|
|
2065
|
-
# reduce
|
2128
|
+
# reduce 118 omitted
|
2066
2129
|
|
2067
|
-
module_eval(<<'.,.,', 'parser.y',
|
2068
|
-
def
|
2130
|
+
module_eval(<<'.,.,', 'parser.y', 484)
|
2131
|
+
def _reduce_119(val, _values, result)
|
2069
2132
|
result = val[1].s_value
|
2070
2133
|
result
|
2071
2134
|
end
|
2072
2135
|
.,.,
|
2073
2136
|
|
2074
|
-
# reduce
|
2137
|
+
# reduce 120 omitted
|
2075
2138
|
|
2076
|
-
# reduce
|
2139
|
+
# reduce 121 omitted
|
2077
2140
|
|
2078
|
-
module_eval(<<'.,.,', 'parser.y',
|
2079
|
-
def
|
2141
|
+
module_eval(<<'.,.,', 'parser.y', 491)
|
2142
|
+
def _reduce_122(val, _values, result)
|
2080
2143
|
begin_c_declaration('\Z')
|
2081
2144
|
@grammar.epilogue_first_lineno = @lexer.line + 1
|
2082
2145
|
|
@@ -2084,8 +2147,8 @@ module_eval(<<'.,.,', 'parser.y', 471)
|
|
2084
2147
|
end
|
2085
2148
|
.,.,
|
2086
2149
|
|
2087
|
-
module_eval(<<'.,.,', 'parser.y',
|
2088
|
-
def
|
2150
|
+
module_eval(<<'.,.,', 'parser.y', 496)
|
2151
|
+
def _reduce_123(val, _values, result)
|
2089
2152
|
end_c_declaration
|
2090
2153
|
@grammar.epilogue = val[2].s_value
|
2091
2154
|
|
@@ -2093,44 +2156,44 @@ module_eval(<<'.,.,', 'parser.y', 476)
|
|
2093
2156
|
end
|
2094
2157
|
.,.,
|
2095
2158
|
|
2096
|
-
# reduce
|
2159
|
+
# reduce 124 omitted
|
2097
2160
|
|
2098
|
-
# reduce
|
2161
|
+
# reduce 125 omitted
|
2099
2162
|
|
2100
|
-
# reduce
|
2163
|
+
# reduce 126 omitted
|
2101
2164
|
|
2102
|
-
# reduce
|
2165
|
+
# reduce 127 omitted
|
2103
2166
|
|
2104
|
-
# reduce
|
2167
|
+
# reduce 128 omitted
|
2105
2168
|
|
2106
|
-
module_eval(<<'.,.,', 'parser.y',
|
2107
|
-
def
|
2169
|
+
module_eval(<<'.,.,', 'parser.y', 507)
|
2170
|
+
def _reduce_129(val, _values, result)
|
2108
2171
|
result = [val[0]]
|
2109
2172
|
result
|
2110
2173
|
end
|
2111
2174
|
.,.,
|
2112
2175
|
|
2113
|
-
module_eval(<<'.,.,', 'parser.y',
|
2114
|
-
def
|
2176
|
+
module_eval(<<'.,.,', 'parser.y', 508)
|
2177
|
+
def _reduce_130(val, _values, result)
|
2115
2178
|
result = val[0].append(val[1])
|
2116
2179
|
result
|
2117
2180
|
end
|
2118
2181
|
.,.,
|
2119
2182
|
|
2120
|
-
# reduce
|
2183
|
+
# reduce 131 omitted
|
2121
2184
|
|
2122
|
-
# reduce
|
2185
|
+
# reduce 132 omitted
|
2123
2186
|
|
2124
|
-
module_eval(<<'.,.,', 'parser.y',
|
2125
|
-
def
|
2187
|
+
module_eval(<<'.,.,', 'parser.y', 513)
|
2188
|
+
def _reduce_133(val, _values, result)
|
2126
2189
|
result = Lrama::Lexer::Token::Ident.new(s_value: val[0])
|
2127
2190
|
result
|
2128
2191
|
end
|
2129
2192
|
.,.,
|
2130
2193
|
|
2131
|
-
# reduce
|
2194
|
+
# reduce 134 omitted
|
2132
2195
|
|
2133
|
-
# reduce
|
2196
|
+
# reduce 135 omitted
|
2134
2197
|
|
2135
2198
|
def _reduce_none(val, _values, result)
|
2136
2199
|
val[0]
|