summaryrefslogtreecommitdiff
path: root/lib/debug.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-29 06:39:50 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-29 06:39:50 +0000
commit0977fe17053680310cb0611e9ad2df705d05a070 (patch)
tree193303ea0a80ff3afab2278ad36cb60b1353fe2a /lib/debug.rb
parentfec60bc7c4f851d0cf1c4670ef8f2d9c597b7598 (diff)
* instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb,
lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/debug.rb')
-rw-r--r--lib/debug.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index 9d49faf..8f2999a 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -425,7 +425,7 @@ class Context
b = previous_line ? previous_line - 10 : binding_line - 5
e = b + 9
else
- b, e = $1.split(/[\-,]/)
+ b, e = $1.split(/[-,]/)
if e
b = b.to_i
e = e.to_i