Rakefile in ruby_parser-3.0.0.a8 vs Rakefile in ruby_parser-3.0.0.a9
- old
+ new
@@ -169,9 +169,14 @@
lines = src[0..ss.pos].split(/\n/)
abort "on #{file}:#{lines.size}"
end
end
+task :debug_ruby do
+ file = ENV["F"] || ENV["FILE"]
+ sh "ruby19 -cwy #{file} 2>&1 | ./yuck.rb"
+end
+
task :extract => :isolate do
ENV["V"] ||= "19"
Rake.application[:parser].invoke # this way we can have DEBUG set
file = ENV["F"] || ENV["FILE"]