aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/irb/ruby-lex.rb2
-rw-r--r--lib/irb/workspace.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f70714e6c..72a5e33bdd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
Wed Dec 26 01:31:16 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
- * lib/irb/init.rb, lib/irb/context.rb: fix conf.debug_level=
- [Bug #6301] and fix irb command option: -- irb_debug_level for irb.
+ * lib/irb/init.rb, lib/irb/context.rb: fix conf.debug_level=
+ [Bug #6301] and fix irb command option: -- irb_debug_level for irb.
Wed Dec 26 00:59:18 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb
index 239d6b1d86..295dc9fa06 100644
--- a/lib/irb/ruby-lex.rb
+++ b/lib/irb/ruby-lex.rb
@@ -153,7 +153,7 @@ class RubyLex
if c == "\n"
@line_no -= 1
if idx = @readed.rindex("\n")
- @char_no = idx + 1
+ @char_no = idx + 1
else
@char_no = @base_char_no + @readed.size
end
diff --git a/lib/irb/workspace.rb b/lib/irb/workspace.rb
index 1c30105453..65214a2217 100644
--- a/lib/irb/workspace.rb
+++ b/lib/irb/workspace.rb
@@ -48,7 +48,7 @@ EOF
Thread.pass
end
@binding = BINDING_QUEUE.pop
-
+
when 3 # binging in function on TOPLEVEL_BINDING(default)
@binding = eval("def irb_binding; private; binding; end; irb_binding",
TOPLEVEL_BINDING,