From fb33ec01193dbe9b8dcd86589df3e52396bac129 Mon Sep 17 00:00:00 2001 From: aycabta Date: Wed, 20 Jan 2021 16:11:32 +0900 Subject: [PATCH] [ruby/irb] Delete a doodle-level memo comment... https://github.com/ruby/irb/commit/fc3e1d9e0c --- lib/irb/ruby-lex.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 35af148d02..006fc191ba 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -430,8 +430,6 @@ class RubyLex index.downto(0) do |i| tk = tokens[i] # In "continue", the token isn't the corresponding syntax to "do". - #is_continue = process_continue(@tokens[0..(i - 1)]) - # continue ではなく、直前に (:on_ignored_nl|:on_nl|:on_comment):on_sp* みたいなのがあるかどうかを調べる non_sp_index = tokens[0..(i - 1)].rindex{ |t| t[1] != :on_sp } first_in_fomula = false if non_sp_index.nil?