summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-26 08:37:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-26 10:49:23 +0900
commitea8bc6822da742f5818b13f444b5670a0e041dae (patch)
tree75ee10a9a2a47c881b43c88755c618cbb89fd3b7 /lib
parente478671e19e09bf50ceb52efa720a8c520d87704 (diff)
Remove other debug prints
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/ruby-lex.rb3
1 files changed, 0 insertions, 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