From ea8bc6822da742f5818b13f444b5670a0e041dae Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 26 Jun 2019 08:37:14 +0900 Subject: [PATCH] Remove other debug prints --- lib/irb/ruby-lex.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 8d92c192b0..78c5bf3ea0 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -312,7 +312,6 @@ class RubyLex 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 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