Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+ Switched to new Ruby18Parser to avoid deprecation warnings

[git-p4: depot-paths = "//src/ruby2ruby/dev/": change = 7329]
  • Loading branch information...
commit 553993cf617d7d83a7ac556b31e3f2dbf4049f54 1 parent bfc3de7
@zenspider zenspider authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  bin/r2r_show
  2. +1 −1  test/test_ruby2ruby.rb
View
2  bin/r2r_show
@@ -18,7 +18,7 @@ end
ARGV.push "-" if ARGV.empty?
-parser = RubyParser.new
+parser = Ruby18Parser.new
ruby2ruby = Ruby2Ruby.new
ARGV.each do |file|
View
2  test/test_ruby2ruby.rb
@@ -383,7 +383,7 @@ def silent_eval ruby
end
def morph_and_eval src, from, to, processor
- new_src = processor.new.process(RubyParser.new.process(src.sub(from, to)))
+ new_src = processor.new.process(Ruby18Parser.new.process(src.sub(from, to)))
silent_eval new_src
new_src
end
Please sign in to comment.
Something went wrong with that request. Please try again.