diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-30 05:26:47 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-30 05:26:47 +0000 |
commit | 84c506745a1425f16e4c8f151ee816a1de324091 (patch) | |
tree | 029f13e6771c4c025976745a5d73b92b319ad51e /eval.c | |
parent | 8e9fbbf6d6f4c47286a6fbc4e2c4e77189be119b (diff) |
* eval.c (rb_iter_break): should not call TAG_JUMP directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2418,7 +2418,8 @@ class_prefix(self, cpath) prot_tag->retval = Qnil;\ }\ } while (0) -static void localjump_destination _((int, struct SCOPE*, VALUE)); + +NORETURN(static void localjump_destination _((int, struct SCOPE*, VALUE))); static VALUE rb_eval(self, n) @@ -3831,7 +3832,7 @@ rb_f_abort(argc, argv) void rb_iter_break() { - JUMP_TAG(TAG_BREAK); + localjump_destination(TAG_BREAK, ruby_scope, Qnil); } NORETURN(static void rb_longjmp _((int, VALUE))); |