racc 1.4.15-java → 1.4.16-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING +22 -515
  3. data/Manifest.txt +3 -9
  4. data/README.ja.rdoc +3 -4
  5. data/README.rdoc +4 -4
  6. data/Rakefile +13 -55
  7. data/bin/racc +2 -4
  8. data/ext/racc/{cparse.c → cparse/cparse.c} +64 -31
  9. data/ext/racc/cparse/extconf.rb +8 -0
  10. data/lib/racc/cparse-jruby.jar +0 -0
  11. data/lib/racc/exception.rb +3 -5
  12. data/lib/racc/grammar.rb +5 -7
  13. data/lib/racc/grammarfileparser.rb +4 -3
  14. data/lib/racc/info.rb +4 -6
  15. data/lib/racc/iset.rb +2 -2
  16. data/lib/racc/logfilegenerator.rb +2 -2
  17. data/lib/racc/parser-text.rb +14 -11
  18. data/lib/racc/parser.rb +14 -11
  19. data/lib/racc/parserfilegenerator.rb +5 -7
  20. data/lib/racc/state.rb +11 -13
  21. data/test/assets/intp.y +4 -4
  22. data/test/assets/mailp.y +27 -27
  23. data/test/assets/mof.y +12 -12
  24. data/test/assets/nullbug2.y +2 -2
  25. data/test/assets/recv.y +20 -20
  26. data/test/assets/syntax.y +1 -1
  27. data/test/assets/twowaysql.y +1 -1
  28. data/test/helper.rb +65 -54
  29. data/test/regress/cadenza +60 -60
  30. data/test/regress/cast +8 -8
  31. data/test/regress/csspool +167 -167
  32. data/test/regress/edtf +115 -115
  33. data/test/regress/huia +75 -75
  34. data/test/regress/journey +12 -12
  35. data/test/regress/liquor +54 -54
  36. data/test/regress/machete +37 -37
  37. data/test/regress/mediacloth +83 -83
  38. data/test/regress/mof +60 -60
  39. data/test/regress/namae +29 -29
  40. data/test/regress/nasl +174 -174
  41. data/test/regress/nokogiri-css +59 -59
  42. data/test/regress/opal +352 -352
  43. data/test/regress/php_serialization +20 -20
  44. data/test/regress/riml +261 -261
  45. data/test/regress/ruby18 +353 -353
  46. data/test/regress/ruby22 +433 -433
  47. data/test/regress/tp_plus +125 -125
  48. data/test/regress/twowaysql +30 -30
  49. data/test/test_chk_y.rb +1 -0
  50. data/test/test_racc_command.rb +5 -24
  51. data/test/test_scan_y.rb +1 -0
  52. data/test/testscanner.rb +1 -1
  53. metadata +8 -75
  54. data/ext/racc/depend +0 -1
  55. data/ext/racc/extconf.rb +0 -7
  56. data/test/assets/bibtex.y +0 -141
  57. data/test/assets/rdblockparser.y +0 -576
  58. data/test/assets/rdinlineparser.y +0 -561
  59. data/test/regress/bibtex +0 -474
  60. data/test/regress/rdblockparser +0 -1061
  61. data/test/regress/rdinlineparser +0 -1243
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # DO NOT MODIFY!!!!
3
- # This file is automatically generated by Racc 1.4.14
4
- # from Racc grammer file "".
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'
@@ -508,7 +508,7 @@ module_eval(<<'.,.,', 'machete.y', 44)
508
508
  else
509
509
  ChoiceMatcher.new([val[0], val[2]])
510
510
  end
511
-
511
+
512
512
  result
513
513
  end
514
514
  .,.,
@@ -524,7 +524,7 @@ module_eval(<<'.,.,', 'machete.y', 44)
524
524
  module_eval(<<'.,.,', 'machete.y', 57)
525
525
  def _reduce_7(val, _values, result)
526
526
  result = NodeMatcher.new(val[0].to_sym)
527
-
527
+
528
528
  result
529
529
  end
530
530
  .,.,
@@ -532,7 +532,7 @@ module_eval(<<'.,.,', 'machete.y', 57)
532
532
  module_eval(<<'.,.,', 'machete.y', 60)
533
533
  def _reduce_8(val, _values, result)
534
534
  result = NodeMatcher.new(val[0].to_sym, val[2])
535
-
535
+
536
536
  result
537
537
  end
538
538
  .,.,
@@ -541,14 +541,14 @@ module_eval(<<'.,.,', 'machete.y', 60)
541
541
 
542
542
  module_eval(<<'.,.,', 'machete.y', 64)
543
543
  def _reduce_10(val, _values, result)
544
- result = val[0].merge(val[2])
544
+ result = val[0].merge(val[2])
545
545
  result
546
546
  end
547
547
  .,.,
548
548
 
549
549
  module_eval(<<'.,.,', 'machete.y', 66)
550
550
  def _reduce_11(val, _values, result)
551
- result = { val[0].to_sym => val[2] }
551
+ result = { val[0].to_sym => val[2] }
552
552
  result
553
553
  end
554
554
  .,.,
@@ -560,7 +560,7 @@ module_eval(<<'.,.,', 'machete.y', 68)
560
560
  Regexp.new("^" + Regexp.escape(symbol_value(val[2]).to_s))
561
561
  )
562
562
  }
563
-
563
+
564
564
  result
565
565
  end
566
566
  .,.,
@@ -572,7 +572,7 @@ module_eval(<<'.,.,', 'machete.y', 75)
572
572
  Regexp.new(Regexp.escape(symbol_value(val[2]).to_s) + "$")
573
573
  )
574
574
  }
575
-
575
+
576
576
  result
577
577
  end
578
578
  .,.,
@@ -584,7 +584,7 @@ module_eval(<<'.,.,', 'machete.y', 82)
584
584
  Regexp.new(Regexp.escape(symbol_value(val[2]).to_s))
585
585
  )
586
586
  }
587
-
587
+
588
588
  result
589
589
  end
590
590
  .,.,
@@ -596,7 +596,7 @@ module_eval(<<'.,.,', 'machete.y', 89)
596
596
  Regexp.new("^" + Regexp.escape(string_value(val[2])))
597
597
  )
598
598
  }
599
-
599
+
600
600
  result
601
601
  end
602
602
  .,.,
@@ -608,7 +608,7 @@ module_eval(<<'.,.,', 'machete.y', 96)
608
608
  Regexp.new(Regexp.escape(string_value(val[2])) + "$")
609
609
  )
610
610
  }
611
-
611
+
612
612
  result
613
613
  end
614
614
  .,.,
@@ -620,7 +620,7 @@ module_eval(<<'.,.,', 'machete.y', 103)
620
620
  Regexp.new(Regexp.escape(string_value(val[2])))
621
621
  )
622
622
  }
623
-
623
+
624
624
  result
625
625
  end
626
626
  .,.,
@@ -632,7 +632,7 @@ module_eval(<<'.,.,', 'machete.y', 110)
632
632
  Regexp.new(regexp_value(val[2]))
633
633
  )
634
634
  }
635
-
635
+
636
636
  result
637
637
  end
638
638
  .,.,
@@ -665,14 +665,14 @@ module_eval(<<'.,.,', 'machete.y', 110)
665
665
 
666
666
  module_eval(<<'.,.,', 'machete.y', 134)
667
667
  def _reduce_32(val, _values, result)
668
- result = ArrayMatcher.new(val[1])
668
+ result = ArrayMatcher.new(val[1])
669
669
  result
670
670
  end
671
671
  .,.,
672
672
 
673
673
  module_eval(<<'.,.,', 'machete.y', 136)
674
674
  def _reduce_33(val, _values, result)
675
- result = []
675
+ result = []
676
676
  result
677
677
  end
678
678
  .,.,
@@ -681,14 +681,14 @@ module_eval(<<'.,.,', 'machete.y', 136)
681
681
 
682
682
  module_eval(<<'.,.,', 'machete.y', 139)
683
683
  def _reduce_35(val, _values, result)
684
- result = [val[0]]
684
+ result = [val[0]]
685
685
  result
686
686
  end
687
687
  .,.,
688
688
 
689
689
  module_eval(<<'.,.,', 'machete.y', 140)
690
690
  def _reduce_36(val, _values, result)
691
- result = val[0] << val[2]
691
+ result = val[0] << val[2]
692
692
  result
693
693
  end
694
694
  .,.,
@@ -697,28 +697,28 @@ module_eval(<<'.,.,', 'machete.y', 140)
697
697
 
698
698
  module_eval(<<'.,.,', 'machete.y', 143)
699
699
  def _reduce_38(val, _values, result)
700
- result = Quantifier.new(val[0], *val[1])
700
+ result = Quantifier.new(val[0], *val[1])
701
701
  result
702
702
  end
703
703
  .,.,
704
704
 
705
705
  module_eval(<<'.,.,', 'machete.y', 145)
706
706
  def _reduce_39(val, _values, result)
707
- result = [0, nil, 1]
707
+ result = [0, nil, 1]
708
708
  result
709
709
  end
710
710
  .,.,
711
711
 
712
712
  module_eval(<<'.,.,', 'machete.y', 146)
713
713
  def _reduce_40(val, _values, result)
714
- result = [1, nil, 1]
714
+ result = [1, nil, 1]
715
715
  result
716
716
  end
717
717
  .,.,
718
718
 
719
719
  module_eval(<<'.,.,', 'machete.y', 147)
720
720
  def _reduce_41(val, _values, result)
721
- result = [0, 1, 1]
721
+ result = [0, 1, 1]
722
722
  result
723
723
  end
724
724
  .,.,
@@ -726,7 +726,7 @@ module_eval(<<'.,.,', 'machete.y', 147)
726
726
  module_eval(<<'.,.,', 'machete.y', 149)
727
727
  def _reduce_42(val, _values, result)
728
728
  result = [integer_value(val[1]), integer_value(val[1]), 1]
729
-
729
+
730
730
  result
731
731
  end
732
732
  .,.,
@@ -734,7 +734,7 @@ module_eval(<<'.,.,', 'machete.y', 149)
734
734
  module_eval(<<'.,.,', 'machete.y', 152)
735
735
  def _reduce_43(val, _values, result)
736
736
  result = [integer_value(val[1]), nil, 1]
737
-
737
+
738
738
  result
739
739
  end
740
740
  .,.,
@@ -742,7 +742,7 @@ module_eval(<<'.,.,', 'machete.y', 152)
742
742
  module_eval(<<'.,.,', 'machete.y', 155)
743
743
  def _reduce_44(val, _values, result)
744
744
  result = [0, integer_value(val[2]), 1]
745
-
745
+
746
746
  result
747
747
  end
748
748
  .,.,
@@ -750,77 +750,77 @@ module_eval(<<'.,.,', 'machete.y', 155)
750
750
  module_eval(<<'.,.,', 'machete.y', 158)
751
751
  def _reduce_45(val, _values, result)
752
752
  result = [integer_value(val[1]), integer_value(val[3]), 1]
753
-
753
+
754
754
  result
755
755
  end
756
756
  .,.,
757
757
 
758
758
  module_eval(<<'.,.,', 'machete.y', 160)
759
759
  def _reduce_46(val, _values, result)
760
- result = [0, nil, 2]
760
+ result = [0, nil, 2]
761
761
  result
762
762
  end
763
763
  .,.,
764
764
 
765
765
  module_eval(<<'.,.,', 'machete.y', 161)
766
766
  def _reduce_47(val, _values, result)
767
- result = [1, nil, 2]
767
+ result = [1, nil, 2]
768
768
  result
769
769
  end
770
770
  .,.,
771
771
 
772
772
  module_eval(<<'.,.,', 'machete.y', 163)
773
773
  def _reduce_48(val, _values, result)
774
- result = LiteralMatcher.new(nil)
774
+ result = LiteralMatcher.new(nil)
775
775
  result
776
776
  end
777
777
  .,.,
778
778
 
779
779
  module_eval(<<'.,.,', 'machete.y', 164)
780
780
  def _reduce_49(val, _values, result)
781
- result = LiteralMatcher.new(true)
781
+ result = LiteralMatcher.new(true)
782
782
  result
783
783
  end
784
784
  .,.,
785
785
 
786
786
  module_eval(<<'.,.,', 'machete.y', 165)
787
787
  def _reduce_50(val, _values, result)
788
- result = LiteralMatcher.new(false)
788
+ result = LiteralMatcher.new(false)
789
789
  result
790
790
  end
791
791
  .,.,
792
792
 
793
793
  module_eval(<<'.,.,', 'machete.y', 166)
794
794
  def _reduce_51(val, _values, result)
795
- result = LiteralMatcher.new(integer_value(val[0]))
795
+ result = LiteralMatcher.new(integer_value(val[0]))
796
796
  result
797
797
  end
798
798
  .,.,
799
799
 
800
800
  module_eval(<<'.,.,', 'machete.y', 167)
801
801
  def _reduce_52(val, _values, result)
802
- result = LiteralMatcher.new(symbol_value(val[0]))
802
+ result = LiteralMatcher.new(symbol_value(val[0]))
803
803
  result
804
804
  end
805
805
  .,.,
806
806
 
807
807
  module_eval(<<'.,.,', 'machete.y', 168)
808
808
  def _reduce_53(val, _values, result)
809
- result = LiteralMatcher.new(string_value(val[0]))
809
+ result = LiteralMatcher.new(string_value(val[0]))
810
810
  result
811
811
  end
812
812
  .,.,
813
813
 
814
814
  module_eval(<<'.,.,', 'machete.y', 169)
815
815
  def _reduce_54(val, _values, result)
816
- result = LiteralMatcher.new(regexp_value(val[0]))
816
+ result = LiteralMatcher.new(regexp_value(val[0]))
817
817
  result
818
818
  end
819
819
  .,.,
820
820
 
821
821
  module_eval(<<'.,.,', 'machete.y', 171)
822
822
  def _reduce_55(val, _values, result)
823
- result = AnyMatcher.new
823
+ result = AnyMatcher.new
824
824
  result
825
825
  end
826
826
  .,.,
@@ -830,4 +830,4 @@ def _reduce_none(val, _values, result)
830
830
  end
831
831
 
832
832
  end # class Parser
833
- end # module Machete
833
+ end # module Machete
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # DO NOT MODIFY!!!!
3
- # This file is automatically generated by Racc 1.4.14
4
- # from Racc grammer file "".
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'
@@ -684,7 +684,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 47)
684
684
  #@nodes.last.children.insert(0, val[0])
685
685
  #puts val[0]
686
686
  @nodes.last.children += val[0]
687
-
687
+
688
688
  result
689
689
  end
690
690
  .,.,
@@ -692,7 +692,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 47)
692
692
  module_eval(<<'.,.,', 'mediacloth.y', 57)
693
693
  def _reduce_2(val, _values, result)
694
694
  result = val[0]
695
-
695
+
696
696
  result
697
697
  end
698
698
  .,.,
@@ -700,7 +700,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 57)
700
700
  module_eval(<<'.,.,', 'mediacloth.y', 61)
701
701
  def _reduce_3(val, _values, result)
702
702
  result = val[0]
703
-
703
+
704
704
  result
705
705
  end
706
706
  .,.,
@@ -708,7 +708,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 61)
708
708
  module_eval(<<'.,.,', 'mediacloth.y', 65)
709
709
  def _reduce_4(val, _values, result)
710
710
  result = val[0]
711
-
711
+
712
712
  result
713
713
  end
714
714
  .,.,
@@ -719,7 +719,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 69)
719
719
  list.list_type = :Dictionary
720
720
  list.children = val[0]
721
721
  result = list
722
-
722
+
723
723
  result
724
724
  end
725
725
  .,.,
@@ -727,7 +727,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 69)
727
727
  module_eval(<<'.,.,', 'mediacloth.y', 76)
728
728
  def _reduce_6(val, _values, result)
729
729
  result = val[0]
730
-
730
+
731
731
  result
732
732
  end
733
733
  .,.,
@@ -735,7 +735,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 76)
735
735
  module_eval(<<'.,.,', 'mediacloth.y', 80)
736
736
  def _reduce_7(val, _values, result)
737
737
  result = val[0]
738
-
738
+
739
739
  result
740
740
  end
741
741
  .,.,
@@ -743,7 +743,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 80)
743
743
  module_eval(<<'.,.,', 'mediacloth.y', 84)
744
744
  def _reduce_8(val, _values, result)
745
745
  result = val[0]
746
-
746
+
747
747
  result
748
748
  end
749
749
  .,.,
@@ -751,7 +751,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 84)
751
751
  module_eval(<<'.,.,', 'mediacloth.y', 88)
752
752
  def _reduce_9(val, _values, result)
753
753
  result = val[0]
754
-
754
+
755
755
  result
756
756
  end
757
757
  .,.,
@@ -761,7 +761,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 92)
761
761
  k = KeywordAST.new(@ast_index, @ast_length)
762
762
  k.text = val[0]
763
763
  result = k
764
-
764
+
765
765
  result
766
766
  end
767
767
  .,.,
@@ -771,7 +771,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 98)
771
771
  p = ParagraphAST.new(@ast_index, @ast_length)
772
772
  p.children = val[1]
773
773
  result = p
774
-
774
+
775
775
  result
776
776
  end
777
777
  .,.,
@@ -783,7 +783,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 104)
783
783
  l.url = val[1][0]
784
784
  l.children += val[1][1..-1] if val[1].length > 1
785
785
  result = l
786
-
786
+
787
787
  result
788
788
  end
789
789
  .,.,
@@ -793,7 +793,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 112)
793
793
  p = PasteAST.new(@ast_index, @ast_length)
794
794
  p.children = val[1]
795
795
  result = p
796
-
796
+
797
797
  result
798
798
  end
799
799
  .,.,
@@ -805,7 +805,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 118)
805
805
  l.locator = val[3]
806
806
  l.children = val[4] unless val[4].nil? or val[4].empty?
807
807
  result = l
808
-
808
+
809
809
  result
810
810
  end
811
811
  .,.,
@@ -816,7 +816,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 126)
816
816
  l.locator = val[1]
817
817
  l.children = val[2] unless val[2].nil? or val[2].empty?
818
818
  result = l
819
-
819
+
820
820
  result
821
821
  end
822
822
  .,.,
@@ -827,7 +827,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 133)
827
827
  l.locator = val[2]
828
828
  l.sort_as = val[3]
829
829
  result = l
830
-
830
+
831
831
  result
832
832
  end
833
833
  .,.,
@@ -838,7 +838,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 140)
838
838
  l.locator = val[3]
839
839
  l.children = val[4] unless val[4].nil? or val[4].empty?
840
840
  result = l
841
-
841
+
842
842
  result
843
843
  end
844
844
  .,.,
@@ -848,7 +848,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 140)
848
848
  module_eval(<<'.,.,', 'mediacloth.y', 150)
849
849
  def _reduce_19(val, _values, result)
850
850
  result = nil
851
-
851
+
852
852
  result
853
853
  end
854
854
  .,.,
@@ -856,7 +856,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 150)
856
856
  module_eval(<<'.,.,', 'mediacloth.y', 154)
857
857
  def _reduce_20(val, _values, result)
858
858
  result = val[0]
859
-
859
+
860
860
  result
861
861
  end
862
862
  .,.,
@@ -870,7 +870,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 161)
870
870
  elem.name = val[0]
871
871
  elem.attributes = val[1]
872
872
  result = elem
873
-
873
+
874
874
  result
875
875
  end
876
876
  .,.,
@@ -885,7 +885,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 171)
885
885
  elem.attributes = val[1]
886
886
  elem.children += val[2]
887
887
  result = elem
888
-
888
+
889
889
  result
890
890
  end
891
891
  .,.,
@@ -893,7 +893,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 171)
893
893
  module_eval(<<'.,.,', 'mediacloth.y', 184)
894
894
  def _reduce_23(val, _values, result)
895
895
  result = nil
896
-
896
+
897
897
  result
898
898
  end
899
899
  .,.,
@@ -903,7 +903,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 188)
903
903
  attr_map = val[2] ? val[2] : {}
904
904
  attr_map[val[0]] = true
905
905
  result = attr_map
906
-
906
+
907
907
  result
908
908
  end
909
909
  .,.,
@@ -913,7 +913,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 194)
913
913
  attr_map = val[2] ? val[2] : {}
914
914
  attr_map[val[0]] = val[1]
915
915
  result = attr_map
916
-
916
+
917
917
  result
918
918
  end
919
919
  .,.,
@@ -921,7 +921,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 194)
921
921
  module_eval(<<'.,.,', 'mediacloth.y', 204)
922
922
  def _reduce_26(val, _values, result)
923
923
  result = val
924
-
924
+
925
925
  result
926
926
  end
927
927
  .,.,
@@ -930,7 +930,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 208)
930
930
  def _reduce_27(val, _values, result)
931
931
  result = [val[0]]
932
932
  result += val[2]
933
-
933
+
934
934
  result
935
935
  end
936
936
  .,.,
@@ -938,7 +938,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 208)
938
938
  module_eval(<<'.,.,', 'mediacloth.y', 217)
939
939
  def _reduce_28(val, _values, result)
940
940
  result = val[0]
941
-
941
+
942
942
  result
943
943
  end
944
944
  .,.,
@@ -947,7 +947,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 221)
947
947
  def _reduce_29(val, _values, result)
948
948
  result = val[0]
949
949
  result += val[2] if val[2]
950
-
950
+
951
951
  result
952
952
  end
953
953
  .,.,
@@ -955,7 +955,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 221)
955
955
  module_eval(<<'.,.,', 'mediacloth.y', 229)
956
956
  def _reduce_30(val, _values, result)
957
957
  result = nil
958
-
958
+
959
959
  result
960
960
  end
961
961
  .,.,
@@ -963,7 +963,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 229)
963
963
  module_eval(<<'.,.,', 'mediacloth.y', 233)
964
964
  def _reduce_31(val, _values, result)
965
965
  result = val[1]
966
-
966
+
967
967
  result
968
968
  end
969
969
  .,.,
@@ -971,7 +971,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 233)
971
971
  module_eval(<<'.,.,', 'mediacloth.y', 239)
972
972
  def _reduce_32(val, _values, result)
973
973
  result = nil
974
-
974
+
975
975
  result
976
976
  end
977
977
  .,.,
@@ -979,7 +979,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 239)
979
979
  module_eval(<<'.,.,', 'mediacloth.y', 243)
980
980
  def _reduce_33(val, _values, result)
981
981
  result = val[1]
982
-
982
+
983
983
  result
984
984
  end
985
985
  .,.,
@@ -987,7 +987,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 243)
987
987
  module_eval(<<'.,.,', 'mediacloth.y', 249)
988
988
  def _reduce_34(val, _values, result)
989
989
  result = nil
990
-
990
+
991
991
  result
992
992
  end
993
993
  .,.,
@@ -995,7 +995,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 249)
995
995
  module_eval(<<'.,.,', 'mediacloth.y', 253)
996
996
  def _reduce_35(val, _values, result)
997
997
  result = val[1]
998
-
998
+
999
999
  result
1000
1000
  end
1001
1001
  .,.,
@@ -1006,7 +1006,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 257)
1006
1006
  i.children = val[1]
1007
1007
  result = [i]
1008
1008
  result += val[2] if val[2]
1009
-
1009
+
1010
1010
  result
1011
1011
  end
1012
1012
  .,.,
@@ -1015,7 +1015,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 266)
1015
1015
  def _reduce_37(val, _values, result)
1016
1016
  result = []
1017
1017
  result << val[0]
1018
-
1018
+
1019
1019
  result
1020
1020
  end
1021
1021
  .,.,
@@ -1025,7 +1025,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 271)
1025
1025
  result = []
1026
1026
  result += val[0]
1027
1027
  result << val[1]
1028
-
1028
+
1029
1029
  result
1030
1030
  end
1031
1031
  .,.,
@@ -1036,7 +1036,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 279)
1036
1036
  p.formatting = val[0][0]
1037
1037
  p.contents = val[0][1]
1038
1038
  result = p
1039
-
1039
+
1040
1040
  result
1041
1041
  end
1042
1042
  .,.,
@@ -1044,7 +1044,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 279)
1044
1044
  module_eval(<<'.,.,', 'mediacloth.y', 286)
1045
1045
  def _reduce_40(val, _values, result)
1046
1046
  result = val[0]
1047
-
1047
+
1048
1048
  result
1049
1049
  end
1050
1050
  .,.,
@@ -1054,7 +1054,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 293)
1054
1054
  table = TableAST.new(@ast_index, @ast_length)
1055
1055
  table.children = val[1] unless val[1].nil? or val[1].empty?
1056
1056
  result = table
1057
-
1057
+
1058
1058
  result
1059
1059
  end
1060
1060
  .,.,
@@ -1065,7 +1065,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 299)
1065
1065
  table.options = val[1]
1066
1066
  table.children = val[2] unless val[2].nil? or val[2].empty?
1067
1067
  result = table
1068
-
1068
+
1069
1069
  result
1070
1070
  end
1071
1071
  .,.,
@@ -1073,7 +1073,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 299)
1073
1073
  module_eval(<<'.,.,', 'mediacloth.y', 307)
1074
1074
  def _reduce_43(val, _values, result)
1075
1075
  result = nil
1076
-
1076
+
1077
1077
  result
1078
1078
  end
1079
1079
  .,.,
@@ -1084,7 +1084,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 311)
1084
1084
  row.children = val[1] unless val[1].nil? or val[1].empty?
1085
1085
  result = [row]
1086
1086
  result += val[3] unless val[3].nil? or val[3].empty?
1087
-
1087
+
1088
1088
  result
1089
1089
  end
1090
1090
  .,.,
@@ -1096,7 +1096,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 318)
1096
1096
  row.options = val[1]
1097
1097
  result = [row]
1098
1098
  result += val[4] unless val[4].nil? or val[4].empty?
1099
-
1099
+
1100
1100
  result
1101
1101
  end
1102
1102
  .,.,
@@ -1104,7 +1104,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 318)
1104
1104
  module_eval(<<'.,.,', 'mediacloth.y', 327)
1105
1105
  def _reduce_46(val, _values, result)
1106
1106
  result = nil
1107
-
1107
+
1108
1108
  result
1109
1109
  end
1110
1110
  .,.,
@@ -1115,7 +1115,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 331)
1115
1115
  cell.type = :head
1116
1116
  result = [cell]
1117
1117
  result += val[2] unless val[2].nil? or val[2].empty?
1118
-
1118
+
1119
1119
  result
1120
1120
  end
1121
1121
  .,.,
@@ -1127,7 +1127,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 338)
1127
1127
  cell.type = :head
1128
1128
  result = [cell]
1129
1129
  result += val[3] unless val[3].nil? or val[3].empty?
1130
-
1130
+
1131
1131
  result
1132
1132
  end
1133
1133
  .,.,
@@ -1138,7 +1138,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 346)
1138
1138
  cell.type = :body
1139
1139
  result = [cell]
1140
1140
  result += val[2] unless val[2].nil? or val[2].empty?
1141
-
1141
+
1142
1142
  result
1143
1143
  end
1144
1144
  .,.,
@@ -1158,49 +1158,49 @@ module_eval(<<'.,.,', 'mediacloth.y', 353)
1158
1158
  val[3].first.attributes = val[1]
1159
1159
  end
1160
1160
  result
1161
-
1161
+
1162
1162
  result
1163
1163
  end
1164
1164
  .,.,
1165
1165
 
1166
1166
  module_eval(<<'.,.,', 'mediacloth.y', 371)
1167
1167
  def _reduce_51(val, _values, result)
1168
- return [:None, val[0]]
1168
+ return [:None, val[0]]
1169
1169
  result
1170
1170
  end
1171
1171
  .,.,
1172
1172
 
1173
1173
  module_eval(<<'.,.,', 'mediacloth.y', 373)
1174
1174
  def _reduce_52(val, _values, result)
1175
- return [:HLine, val[0]]
1175
+ return [:HLine, val[0]]
1176
1176
  result
1177
1177
  end
1178
1178
  .,.,
1179
1179
 
1180
1180
  module_eval(<<'.,.,', 'mediacloth.y', 375)
1181
1181
  def _reduce_53(val, _values, result)
1182
- return [:CharacterEntity, val[0]]
1182
+ return [:CharacterEntity, val[0]]
1183
1183
  result
1184
1184
  end
1185
1185
  .,.,
1186
1186
 
1187
1187
  module_eval(<<'.,.,', 'mediacloth.y', 377)
1188
1188
  def _reduce_54(val, _values, result)
1189
- return [:SignatureDate, val[0]]
1189
+ return [:SignatureDate, val[0]]
1190
1190
  result
1191
1191
  end
1192
1192
  .,.,
1193
1193
 
1194
1194
  module_eval(<<'.,.,', 'mediacloth.y', 379)
1195
1195
  def _reduce_55(val, _values, result)
1196
- return [:SignatureName, val[0]]
1196
+ return [:SignatureName, val[0]]
1197
1197
  result
1198
1198
  end
1199
1199
  .,.,
1200
1200
 
1201
1201
  module_eval(<<'.,.,', 'mediacloth.y', 381)
1202
1202
  def _reduce_56(val, _values, result)
1203
- return [:SignatureFull, val[0]]
1203
+ return [:SignatureFull, val[0]]
1204
1204
  result
1205
1205
  end
1206
1206
  .,.,
@@ -1210,7 +1210,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 387)
1210
1210
  result = FormattedAST.new(@ast_index, @ast_length)
1211
1211
  result.formatting = :Bold
1212
1212
  result
1213
-
1213
+
1214
1214
  result
1215
1215
  end
1216
1216
  .,.,
@@ -1220,7 +1220,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 393)
1220
1220
  result = FormattedAST.new(@ast_index, @ast_length)
1221
1221
  result.formatting = :Italic
1222
1222
  result
1223
-
1223
+
1224
1224
  result
1225
1225
  end
1226
1226
  .,.,
@@ -1231,7 +1231,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 399)
1231
1231
  p.formatting = :Bold
1232
1232
  p.children += val[1]
1233
1233
  result = p
1234
-
1234
+
1235
1235
  result
1236
1236
  end
1237
1237
  .,.,
@@ -1242,7 +1242,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 406)
1242
1242
  p.formatting = :Italic
1243
1243
  p.children += val[1]
1244
1244
  result = p
1245
-
1245
+
1246
1246
  result
1247
1247
  end
1248
1248
  .,.,
@@ -1254,7 +1254,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 415)
1254
1254
  list.children << val[1]
1255
1255
  list.children += val[2]
1256
1256
  result = list
1257
-
1257
+
1258
1258
  result
1259
1259
  end
1260
1260
  .,.,
@@ -1266,14 +1266,14 @@ module_eval(<<'.,.,', 'mediacloth.y', 425)
1266
1266
  list.children << val[1]
1267
1267
  list.children += val[2]
1268
1268
  result = list
1269
-
1269
+
1270
1270
  result
1271
1271
  end
1272
1272
  .,.,
1273
1273
 
1274
1274
  module_eval(<<'.,.,', 'mediacloth.y', 434)
1275
1275
  def _reduce_63(val, _values, result)
1276
- result = []
1276
+ result = []
1277
1277
  result
1278
1278
  end
1279
1279
  .,.,
@@ -1282,14 +1282,14 @@ module_eval(<<'.,.,', 'mediacloth.y', 437)
1282
1282
  def _reduce_64(val, _values, result)
1283
1283
  result << val[1]
1284
1284
  result += val[2]
1285
-
1285
+
1286
1286
  result
1287
1287
  end
1288
1288
  .,.,
1289
1289
 
1290
1290
  module_eval(<<'.,.,', 'mediacloth.y', 441)
1291
1291
  def _reduce_65(val, _values, result)
1292
- result = []
1292
+ result = []
1293
1293
  result
1294
1294
  end
1295
1295
  .,.,
@@ -1297,7 +1297,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 441)
1297
1297
  module_eval(<<'.,.,', 'mediacloth.y', 447)
1298
1298
  def _reduce_66(val, _values, result)
1299
1299
  result = ListItemAST.new(@ast_index, @ast_length)
1300
-
1300
+
1301
1301
  result
1302
1302
  end
1303
1303
  .,.,
@@ -1307,7 +1307,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 451)
1307
1307
  li = ListItemAST.new(@ast_index, @ast_length)
1308
1308
  li.children += val[1]
1309
1309
  result = li
1310
-
1310
+
1311
1311
  result
1312
1312
  end
1313
1313
  .,.,
@@ -1316,7 +1316,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 460)
1316
1316
  def _reduce_68(val, _values, result)
1317
1317
  result = [val[1]]
1318
1318
  result += val[2]
1319
-
1319
+
1320
1320
  result
1321
1321
  end
1322
1322
  .,.,
@@ -1324,7 +1324,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 460)
1324
1324
  module_eval(<<'.,.,', 'mediacloth.y', 465)
1325
1325
  def _reduce_69(val, _values, result)
1326
1326
  result = val[1]
1327
-
1327
+
1328
1328
  result
1329
1329
  end
1330
1330
  .,.,
@@ -1332,7 +1332,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 465)
1332
1332
  module_eval(<<'.,.,', 'mediacloth.y', 472)
1333
1333
  def _reduce_70(val, _values, result)
1334
1334
  result = ListTermAST.new(@ast_index, @ast_length)
1335
-
1335
+
1336
1336
  result
1337
1337
  end
1338
1338
  .,.,
@@ -1342,7 +1342,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 476)
1342
1342
  term = ListTermAST.new(@ast_index, @ast_length)
1343
1343
  term.children += val[1]
1344
1344
  result = term
1345
-
1345
+
1346
1346
  result
1347
1347
  end
1348
1348
  .,.,
@@ -1351,7 +1351,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 484)
1351
1351
  def _reduce_72(val, _values, result)
1352
1352
  result = [val[0]]
1353
1353
  result += val[1] if val[1]
1354
-
1354
+
1355
1355
  result
1356
1356
  end
1357
1357
  .,.,
@@ -1359,7 +1359,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 484)
1359
1359
  module_eval(<<'.,.,', 'mediacloth.y', 489)
1360
1360
  def _reduce_73(val, _values, result)
1361
1361
  result = []
1362
-
1362
+
1363
1363
  result
1364
1364
  end
1365
1365
  .,.,
@@ -1367,7 +1367,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 489)
1367
1367
  module_eval(<<'.,.,', 'mediacloth.y', 495)
1368
1368
  def _reduce_74(val, _values, result)
1369
1369
  result = ListDefinitionAST.new(@ast_index, @ast_length)
1370
-
1370
+
1371
1371
  result
1372
1372
  end
1373
1373
  .,.,
@@ -1377,7 +1377,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 499)
1377
1377
  term = ListDefinitionAST.new(@ast_index, @ast_length)
1378
1378
  term.children += val[1]
1379
1379
  result = term
1380
-
1380
+
1381
1381
  result
1382
1382
  end
1383
1383
  .,.,
@@ -1387,7 +1387,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 506)
1387
1387
  p = PreformattedAST.new(@ast_index, @ast_length)
1388
1388
  p.children += val[1]
1389
1389
  result = p
1390
-
1390
+
1391
1391
  result
1392
1392
  end
1393
1393
  .,.,
@@ -1398,7 +1398,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 512)
1398
1398
  p.indented = true
1399
1399
  p.children += val[1]
1400
1400
  result = p
1401
-
1401
+
1402
1402
  result
1403
1403
  end
1404
1404
  .,.,
@@ -1410,7 +1410,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 520)
1410
1410
  s.children = val[1]
1411
1411
  s.level = val[0].length
1412
1412
  result = s
1413
-
1413
+
1414
1414
  result
1415
1415
  end
1416
1416
  .,.,
@@ -1421,7 +1421,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 530)
1421
1421
  t.template_name = val[1]
1422
1422
  t.children = val[2] unless val[2].nil? or val[2].empty?
1423
1423
  result = t
1424
-
1424
+
1425
1425
  result
1426
1426
  end
1427
1427
  .,.,
@@ -1429,7 +1429,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 530)
1429
1429
  module_eval(<<'.,.,', 'mediacloth.y', 539)
1430
1430
  def _reduce_80(val, _values, result)
1431
1431
  result = nil
1432
-
1432
+
1433
1433
  result
1434
1434
  end
1435
1435
  .,.,
@@ -1440,7 +1440,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 543)
1440
1440
  p.parameter_value = val[1]
1441
1441
  result = [p]
1442
1442
  result += val[2] if val[2]
1443
-
1443
+
1444
1444
  result
1445
1445
  end
1446
1446
  .,.,
@@ -1451,7 +1451,7 @@ module_eval(<<'.,.,', 'mediacloth.y', 550)
1451
1451
  p.children << val[1]
1452
1452
  result = [p]
1453
1453
  result += val[2] if val[2]
1454
-
1454
+
1455
1455
  result
1456
1456
  end
1457
1457
  .,.,