* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b7d11c6942
commit
4d9480cbbb
@ -1,7 +1,7 @@
|
|||||||
Wed Dec 26 01:31:16 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
Wed Dec 26 01:31:16 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||||
|
|
||||||
* lib/irb/init.rb, lib/irb/context.rb: fix conf.debug_level=
|
* lib/irb/init.rb, lib/irb/context.rb: fix conf.debug_level=
|
||||||
[Bug #6301] and fix irb command option: -- irb_debug_level for irb.
|
[Bug #6301] and fix irb command option: -- irb_debug_level for irb.
|
||||||
|
|
||||||
Wed Dec 26 00:59:18 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
Wed Dec 26 00:59:18 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ class RubyLex
|
|||||||
if c == "\n"
|
if c == "\n"
|
||||||
@line_no -= 1
|
@line_no -= 1
|
||||||
if idx = @readed.rindex("\n")
|
if idx = @readed.rindex("\n")
|
||||||
@char_no = idx + 1
|
@char_no = idx + 1
|
||||||
else
|
else
|
||||||
@char_no = @base_char_no + @readed.size
|
@char_no = @base_char_no + @readed.size
|
||||||
end
|
end
|
||||||
|
@ -48,7 +48,7 @@ EOF
|
|||||||
Thread.pass
|
Thread.pass
|
||||||
end
|
end
|
||||||
@binding = BINDING_QUEUE.pop
|
@binding = BINDING_QUEUE.pop
|
||||||
|
|
||||||
when 3 # binging in function on TOPLEVEL_BINDING(default)
|
when 3 # binging in function on TOPLEVEL_BINDING(default)
|
||||||
@binding = eval("def irb_binding; private; binding; end; irb_binding",
|
@binding = eval("def irb_binding; private; binding; end; irb_binding",
|
||||||
TOPLEVEL_BINDING,
|
TOPLEVEL_BINDING,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user