Skip to content

Commit c13ade2

Browse files
committed
Fix a warning for frozen string literal
Just fixing following warning: ``` ❯ RUBYOPT=-w bundle exec rake test /ydah/racc/Rakefile:80: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information) ```
1 parent 5229883 commit c13ade2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Rakefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ else
7777
# MRI
7878
require "rake/extensiontask"
7979
extask = Rake::ExtensionTask.new "cparse" do |ext|
80-
lib_dir = (ext.lib_dir << "/#{RUBY_VERSION}/#{ext.platform}/racc")
80+
ext.lib_dir = ext.lib_dir + "/#{RUBY_VERSION}/#{ext.platform}/racc"
81+
lib_dir = ext.lib_dir
8182
ext.ext_dir = 'ext/racc/cparse'
8283
end
8384
end

0 commit comments

Comments
 (0)