summaryrefslogtreecommitdiffstats
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
commitfcdbcc4288bdc270c123eaff0a91d555953261a0 (patch)
tree1d73a71b8e974f56b37654c8b00246fb93ed2181 /lib/tracer.rb
parentb5e6d7661273fad6d384f16d0b8d5a2f434df45f (diff)
downloadruby-fcdbcc4288bdc270c123eaff0a91d555953261a0.tar.gz
ruby-fcdbcc4288bdc270c123eaff0a91d555953261a0.tar.xz
ruby-fcdbcc4288bdc270c123eaff0a91d555953261a0.zip
* parse.y (lex_getline): should update ruby_debug_lines.
git-svn-id: http://svn.ruby-lang.org/repos/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 3ccf1b501..c3f2fb8f2 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