Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config is deprecated in Ruby 1.9.3 and 1.8.8 #5

Merged
merged 1 commit into from
Nov 9, 2011

Conversation

inukshuk
Copy link
Contributor

@inukshuk inukshuk commented Nov 9, 2011

Use RbConfig to suppress deprecation warnings when generating a parser.

I hope this is the right repository to commit patches to!

Use RbConfig to suppress deprecation warnings when generating a parser.
tenderlove added a commit that referenced this pull request Nov 9, 2011
Config is deprecated in Ruby 1.9.3 and 1.8.8
@tenderlove tenderlove merged commit 64931bf into ruby:master Nov 9, 2011
ydah added a commit to ydah/racc that referenced this pull request Jan 2, 2025
…, but is not part of the default gems starting from Ruby 3.3.0

```
Failure: test_ifelse(Racc::TestRaccCommand)
/ydah/racc/test/test_racc_command.rb:343:in 'Racc::TestRaccCommand#test_ifelse'
<"1 useless nonterminals:\n" +
"  dummy\n" +
"2 useless rules:\n" +
"  ruby#4 (dummy)\n" +
"  ruby#5 (dummy)\n" +
"1 shift/reduce conflicts\n" +
"Turn on logging with \"-v\" and check \".output\" file for details\n"> expected but was
<"/ydah/racc/lib/racc/parser.rb:195: warning: racc/cparse was loaded from the standard library, but is not part of the default gems starting from Ruby 3.3.0.\n" +
"You can add racc to your Gemfile or gemspec to silence this warning.\n" +
"1 useless nonterminals:\n" +
"  dummy\n" +
"2 useless rules:\n" +
"  ruby#4 (dummy)\n" +
"  ruby#5 (dummy)\n" +
"1 shift/reduce conflicts\n" +
"Turn on logging with \"-v\" and check \".output\" file for details\n">
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants