Skip to content

Commit

Permalink
Fix a warning for frozen string literal
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
ydah committed Jan 2, 2025
1 parent 5229883 commit c13ade2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ else
# MRI
require "rake/extensiontask"
extask = Rake::ExtensionTask.new "cparse" do |ext|
lib_dir = (ext.lib_dir << "/#{RUBY_VERSION}/#{ext.platform}/racc")
ext.lib_dir = ext.lib_dir + "/#{RUBY_VERSION}/#{ext.platform}/racc"
lib_dir = ext.lib_dir
ext.ext_dir = 'ext/racc/cparse'
end
end
Expand Down

0 comments on commit c13ade2

Please sign in to comment.