Permalink
Browse files

long_jmp() must always call ruby_set_current_source()

  • Loading branch information...
1 parent 680a7ad commit bbdb762e065061e80af8853e2d9cb7008e5cd5f6 @brentr committed Feb 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 eval.c
View
2 eval.c
@@ -4723,7 +4723,7 @@ rb_longjmp(tag, mesg)
mesg = rb_exc_new(rb_eRuntimeError, 0, 0);
}
- SET_METHOD_SOURCE();
+ ruby_set_current_source();
if (ruby_sourcefile && !NIL_P(mesg)) {
at = get_backtrace(mesg);
if (NIL_P(at)) {

0 comments on commit bbdb762

Please sign in to comment.