diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-03 08:43:19 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-03 08:43:19 +0000 |
commit | e9adca495582c21d7d25efd1b6388f32911ca218 (patch) | |
tree | 91d31462458342f820a3a129d25176458e23713c /lib | |
parent | 84a27619e5ebf2a10abb91e704b4a8fb81f40e61 (diff) | |
download | ruby-e9adca495582c21d7d25efd1b6388f32911ca218.tar.gz |
lib/racc/parser.rb: use require for racc/cparse
* lib/racc/parser.rb: reverted r65505. require_relative does
not work for racc/cparse.so, as extension libraries are placed
in other directories than Ruby libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/racc/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb index f284c02307..0cdb42e49d 100644 --- a/lib/racc/parser.rb +++ b/lib/racc/parser.rb @@ -187,7 +187,7 @@ module Racc Racc_Runtime_Core_Version_R = '1.4.6' Racc_Runtime_Core_Revision_R = %w$originalRevision: 1.8 $[1] begin - require_relative 'cparse' + require 'racc/cparse' # Racc_Runtime_Core_Version_C = (defined in extension) Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2] unless new.respond_to?(:_racc_do_parse_c, true) |