зеркало из https://github.com/github/ruby.git
* eval.c (return_jump, break_jump): raise unexpceted local jump
exception directly. [ruby-dev:23740] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a28006f959
Коммит
e99c018d87
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 22 23:59:17 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (return_jump, break_jump): raise unexpceted local jump
|
||||
exception directly. [ruby-dev:23740]
|
||||
|
||||
Tue Jun 22 23:35:43 2004 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.
|
||||
|
|
4
eval.c
4
eval.c
|
@ -4536,7 +4536,7 @@ return_jump(retval)
|
|||
}
|
||||
tt = tt->prev;
|
||||
}
|
||||
proc_jump_error(TAG_RETURN, retval);
|
||||
localjump_error("unexpected return", retval, TAG_RETURN);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -4561,7 +4561,7 @@ break_jump(retval)
|
|||
}
|
||||
tt = tt->prev;
|
||||
}
|
||||
proc_jump_error(TAG_BREAK, retval);
|
||||
localjump_error("unexpected break", retval, TAG_BREAK);
|
||||
}
|
||||
|
||||
static VALUE
|
||||
|
|
Загрузка…
Ссылка в новой задаче