mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
aae3bcbc25
commit
44ab0f8b3a
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 9 00:12:28 2014 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||
|
||||
* lib/irb/ruby-lex.rb: fix counting indent in identify_string_dvar.
|
||||
|
||||
Tue Jul 8 16:58:02 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/ruby/memory_status.rb (Memory::PSCMD): use ps command which
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue