Rakefile in ruby_parser-3.8.0 vs Rakefile in ruby_parser-3.8.1

- old
+ new

@@ -105,21 +105,21 @@ # # 1) check out the XX version of ruby # 2) YFLAGS="-r all" make parse.c # 3) mv y.output parseXX.output -%w[18 19 20 21 22].each do |v| +%w[18 19 20 21 22 23].each do |v| task "compare#{v}" do sh "./yack.rb lib/ruby#{v}_parser.output > racc#{v}.txt" sh "./yack.rb parse#{v}.output > yacc#{v}.txt" sh "diff -du racc#{v}.txt yacc#{v}.txt || true" puts sh "diff -du racc#{v}.txt yacc#{v}.txt | wc -l" end end task :debug => :isolate do - ENV["V"] ||= "22" + ENV["V"] ||= "23" Rake.application[:parser].invoke # this way we can have DEBUG set Rake.application[:lexer].invoke # this way we can have DEBUG set $: << "lib" require "ruby_parser"