aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-14 12:56:34 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-14 12:56:34 +0900
commit6e93320c1b5ee25331ffc300beb5f14f2630403f (patch)
tree0fb4e9510f3cbda236ad8b52a015e4ee7c2ddd43
parentf9deff32a354d1f14653337d027c1e841551ff59 (diff)
downloadruby-6e93320c1b5ee25331ffc300beb5f14f2630403f.tar.gz
Update RDoc::RD parsers generated by racc-1.7.1
-rw-r--r--lib/rdoc/rd/block_parser.rb10
-rw-r--r--lib/rdoc/rd/inline_parser.rb30
2 files changed, 31 insertions, 9 deletions
diff --git a/lib/rdoc/rd/block_parser.rb b/lib/rdoc/rd/block_parser.rb
index d33f4bda75..aa1c6f6227 100644
--- a/lib/rdoc/rd/block_parser.rb
+++ b/lib/rdoc/rd/block_parser.rb
@@ -1,13 +1,13 @@
# frozen_string_literal: true
#
# DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.7.0
+# This file is automatically generated by Racc 1.7.1
# from Racc grammar file "".
#
###### racc/parser.rb begin
-unless $".index 'racc/parser.rb'
-$".push 'racc/parser.rb'
+unless $".find {|p| p.end_with?('/racc/parser.rb')}
+$".push "#{__dir__}/racc/parser.rb"
# frozen_string_literal: false
#--
# Copyright (c) 1999-2006 Minero Aoki
@@ -21,7 +21,7 @@ $".push 'racc/parser.rb'
#++
unless $".find {|p| p.end_with?('/racc/info.rb')}
-$".push 'racc/info.rb'
+$".push "#{__dir__}/racc/info.rb"
#--
#
#
@@ -35,7 +35,7 @@ $".push 'racc/info.rb'
#++
module Racc
- VERSION = '1.6.2'
+ VERSION = '1.7.1'
Version = VERSION
Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
end
diff --git a/lib/rdoc/rd/inline_parser.rb b/lib/rdoc/rd/inline_parser.rb
index 31076ab62a..d454cb52fd 100644
--- a/lib/rdoc/rd/inline_parser.rb
+++ b/lib/rdoc/rd/inline_parser.rb
@@ -1,12 +1,13 @@
+# frozen_string_literal: true
#
# DO NOT MODIFY!!!!
-# This file is automatically generated by Racc 1.6.2
+# This file is automatically generated by Racc 1.7.1
# from Racc grammar file "".
#
###### racc/parser.rb begin
-unless $".index 'racc/parser.rb'
-$".push 'racc/parser.rb'
+unless $".find {|p| p.end_with?('/racc/parser.rb')}
+$".push "#{__dir__}/racc/parser.rb"
# frozen_string_literal: false
#--
# Copyright (c) 1999-2006 Minero Aoki
@@ -19,7 +20,28 @@ $".push 'racc/parser.rb'
# without restriction.
#++
-require 'racc/info'
+unless $".find {|p| p.end_with?('/racc/info.rb')}
+$".push "#{__dir__}/racc/info.rb"
+#--
+#
+#
+#
+# Copyright (c) 1999-2006 Minero Aoki
+#
+# This program is free software.
+# You can distribute/modify this program under the same terms of ruby.
+# see the file "COPYING".
+#
+#++
+
+module Racc
+ VERSION = '1.7.1'
+ Version = VERSION
+ Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
+end
+
+end
+
unless defined?(NotImplementedError)
NotImplementedError = NotImplementError # :nodoc: