mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
2f2cc0ddfc
commit
1c3769c67d
2 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
@ -8,8 +13,8 @@ Tue Mar 8 10:05:40 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|||
|
||||
Sat Mar 8 01:19:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66
|
||||
fixed: [ruby-dev:25828]
|
||||
* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66
|
||||
fixed: [ruby-dev:25828]
|
||||
|
||||
Mon Mar 7 21:29:40 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
|
|
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue