diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-07 09:11:53 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-07 09:11:53 +0000 |
commit | f9e069336095b3dbcb6826177d3437f410c9a310 (patch) | |
tree | a2392738caeb8e6a2862fc66e266965dee685cec /lib/set.rb | |
parent | 248d27d4fde62be29d7788a50d80095a59acec27 (diff) | |
download | ruby-f9e069336095b3dbcb6826177d3437f410c9a310.tar.gz |
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/set.rb')
-rw-r--r-- | lib/set.rb | 2 |
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__ |