ruby-changes:56222
From: Nobuyoshi <ko1@a...>
Date: Wed, 26 Jun 2019 10:50:05 +0900 (JST)
Subject: [ruby-changes:56222] Nobuyoshi Nakada: ea8bc6822d (trunk): Remove other debug prints
https://git.ruby-lang.org/ruby.git/commit/?id=ea8bc6822d From ea8bc6822da742f5818b13f444b5670a0e041dae Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 26 Jun 2019 08:37:14 +0900 Subject: Remove other debug prints diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 8d92c19..78c5bf3 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -312,7 +312,6 @@ class RubyLex https://github.com/ruby/ruby/blob/trunk/lib/irb/ruby-lex.rb#L312 case t[1] when :on_ignored_nl, :on_nl if index != (@tokens.size - 1) - $stderr.puts "nl" depth_difference = 0 end next @@ -331,11 +330,9 @@ class RubyLex https://github.com/ruby/ruby/blob/trunk/lib/irb/ruby-lex.rb#L330 when 'if', 'unless', 'while', 'until' # postfix if/unless/while/until/rescue must be Ripper::EXPR_LABEL unless t[3].allbits?(Ripper::EXPR_LABEL) - $stderr.puts "if" depth_difference += 1 end when 'else', 'rescue', 'ensure', 'when', 'in' - $stderr.puts "else" depth_difference += 1 end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/