1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (svalue_to_avalue): should return converted array.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-01-07 08:56:51 +00:00
parent 6d481a4ae4
commit a89ac45548
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jan 7 17:56:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (svalue_to_avalue): should return converted array.
Tue Jan 7 07:48:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* eval.c (rb_f_local_variables): skip $_, $~ and flip states in

2
eval.c
View file

@ -2192,7 +2192,7 @@ svalue_to_avalue(v)
if (RARRAY(tmp)->len <= 1) {
return rb_ary_new3(1, tmp);
}
return v;
return tmp;
}
static void return_check _((void));