зеркало из https://github.com/github/ruby.git
* 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:
Родитель
aae3bcbc25
Коммит
44ab0f8b3a
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче