зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
8e9fbbf6d6
Коммит
84c506745a
|
@ -1,3 +1,7 @@
|
|||
Sat Aug 30 14:25:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_iter_break): should not call TAG_JUMP directly.
|
||||
|
||||
Sat Aug 30 03:58:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (struct BLOCK): remove BLOCKTAG, use scope instead.
|
||||
|
|
5
eval.c
5
eval.c
|
@ -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)));
|
||||
|
|
Загрузка…
Ссылка в новой задаче