summaryrefslogtreecommitdiff
path: root/lib/tracer.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-20 06:53:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-20 06:53:42 +0000
commitfbdc2bf5f70aa594eac63d27079708ae739a0481 (patch)
tree1d73a71b8e974f56b37654c8b00246fb93ed2181 /lib/tracer.rb
parent30544883773f979b123ac9d00776cfcdf9c5c82c (diff)
* parse.y (lex_getline): should update ruby_debug_lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tracer.rb')
-rw-r--r--lib/tracer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tracer.rb b/lib/tracer.rb
index 3ccf1b5..c3f2fb8 100644
--- a/lib/tracer.rb
+++ b/lib/tracer.rb
@@ -97,6 +97,7 @@ class Tracer
SCRIPT_LINES__[file] = list = []
end
end
+
if l = list[line - 1]
l
else