diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-25 06:19:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-25 06:19:01 +0000 |
commit | c56fa679d61ce945e4c61f08946a457fc1f3c615 (patch) | |
tree | 638e6bf33b1ebb879bdf478d8b14dff90b1ee6ca /eval.c | |
parent | ef79c91721f6174b55bad6a4aa0701dae1aece6e (diff) | |
download | ruby-c56fa679d61ce945e4c61f08946a457fc1f3c615.tar.gz ruby-c56fa679d61ce945e4c61f08946a457fc1f3c615.tar.xz ruby-c56fa679d61ce945e4c61f08946a457fc1f3c615.zip |
* eval.c (rb_longjmp): Exception#to_str is no longer defined.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4310,7 +4310,7 @@ rb_longjmp(tag, mesg) PUSH_TAG(PROT_NONE); if ((status = EXEC_TAG()) == 0) { - StringValue(e); + e = rb_obj_as_string(e); warn_printf("Exception `%s' at %s:%d - %s\n", rb_obj_classname(ruby_errinfo), ruby_sourcefile, ruby_sourceline, |