diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-08 15:19:30 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-08 15:19:30 +0000 |
commit | 44ab0f8b3a1f5e038f7dd0f6fa2a35b51ae8146b (patch) | |
tree | 6cffd366d1640372ad5999e94925e7256c207a30 /lib/irb/ruby-lex.rb | |
parent | aae3bcbc25410655181dfda9dca8d18bd8ac7797 (diff) | |
download | ruby-44ab0f8b3a1f5e038f7dd0f6fa2a35b51ae8146b.tar.gz |
* lib/irb/ruby-lex.rb: fix counting indent in identify_string_dvar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/ruby-lex.rb')
-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) |