summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-07 09:11:53 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-07 09:11:53 +0000
commitf9e069336095b3dbcb6826177d3437f410c9a310 (patch)
treea2392738caeb8e6a2862fc66e266965dee685cec /lib
parent248d27d4fde62be29d7788a50d80095a59acec27 (diff)
Teach eval the correct line number to report.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/set.rb b/lib/set.rb
index f6e3846c12..05a9455d2c 100644
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -702,7 +702,7 @@ end
# end
if $0 == __FILE__
- eval DATA.read
+ eval DATA.read, nil, $0, __LINE__+4
end
__END__