aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-08 09:59:44 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-08 09:59:44 +0900
commit8206a821408cad106f96bd0da1fd517e1581b147 (patch)
tree20991f277b4b853fedb2456143eba59134bcd035
parentc0bbec2ec7f2e87242331c301cc6b617c2f9b0a0 (diff)
downloadruby-8206a821408cad106f96bd0da1fd517e1581b147.tar.gz
Update parser-text.rb with https://github.com/ruby/racc/pull/218
-rw-r--r--lib/racc/parser-text.rb23
1 files changed, 22 insertions, 1 deletions
diff --git a/lib/racc/parser-text.rb b/lib/racc/parser-text.rb
index 63ac2e368b..c542d291f0 100644
--- a/lib/racc/parser-text.rb
+++ b/lib/racc/parser-text.rb
@@ -12,7 +12,28 @@ module Racc
# without restriction.
#++
-require 'racc/info'
+unless $".find {|p| p.end_with?('/racc/info.rb')}
+$".push '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.6.2'
+ Version = VERSION
+ Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
+end
+
+end
+
unless defined?(NotImplementedError)
NotImplementedError = NotImplementError # :nodoc: