eval.c: typo

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-08-22 08:13:36 +00:00
parent 7ff7bcbf9d
commit dc0f677ef8

2
eval.c
View File

@ -4254,7 +4254,7 @@ VALUE
rb_yield_splat(values) rb_yield_splat(values)
VALUE values; VALUE values;
{ {
if (RARRAY(value)->len == 0) { if (RARRAY(values)->len == 0) {
return rb_yield_0(Qundef, 0, 0, Qfalse, Qfalse); return rb_yield_0(Qundef, 0, 0, Qfalse, Qfalse);
} }
return rb_yield_0(values, 0, 0, Qfalse, Qtrue); return rb_yield_0(values, 0, 0, Qfalse, Qtrue);