diff options
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/ruby-lex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 4a700b3324..bf1009cf30 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -1128,7 +1128,7 @@ class RubyLex @continue = false prompt tk = token - if @ltype or @continue or @indent > 0 + if @ltype or @continue or @indent >= 0 next end break if tk.kind_of?(TkRBRACE) |