From 8206a821408cad106f96bd0da1fd517e1581b147 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 8 Jun 2023 09:59:44 +0900 Subject: Update parser-text.rb with https://github.com/ruby/racc/pull/218 --- lib/racc/parser-text.rb | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'lib') 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: -- cgit v1.2.3