зеркало из https://github.com/github/ruby.git
* eval.c (rb_exec_recursive): declaration should precede statements
before C99. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2f2cc0ddfc
Коммит
1c3769c67d
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 8 10:48:53 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_exec_recursive): declaration should precede statements
|
||||
before C99.
|
||||
|
||||
Tue Mar 8 10:05:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* error.c (errno_missing): Errno.const_missing to allow references
|
||||
|
|
2
eval.c
2
eval.c
|
@ -13057,10 +13057,10 @@ rb_exec_recursive(func, obj, arg)
|
|||
return (*func)(obj, arg, Qtrue);
|
||||
}
|
||||
else {
|
||||
recursive_push(obj);
|
||||
VALUE result;
|
||||
int state;
|
||||
|
||||
recursive_push(obj);
|
||||
PUSH_TAG(PROT_NONE);
|
||||
if ((state = EXEC_TAG()) == 0) {
|
||||
result = (*func)(obj, arg, Qfalse);
|
||||
|
|
Загрузка…
Ссылка в новой задаче