зеркало из https://github.com/github/ruby.git
* enum.c (slicebefore_ii): use id_eqq.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
bd2eff81d8
Коммит
31959b52ef
|
@ -1,3 +1,7 @@
|
||||||
|
Sun Oct 4 08:27:10 2009 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* enum.c (slicebefore_ii): use id_eqq.
|
||||||
|
|
||||||
Sun Oct 4 06:40:09 2009 Alexander Zavorine <alexandre.zavorine@nokia.com>
|
Sun Oct 4 06:40:09 2009 Alexander Zavorine <alexandre.zavorine@nokia.com>
|
||||||
|
|
||||||
* symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.c
|
* symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.c
|
||||||
|
|
2
enum.c
2
enum.c
|
@ -2133,7 +2133,7 @@ slicebefore_ii(VALUE i, VALUE _argp, int argc, VALUE *argv)
|
||||||
ENUM_WANT_SVALUE();
|
ENUM_WANT_SVALUE();
|
||||||
|
|
||||||
if (!NIL_P(argp->sep_pat))
|
if (!NIL_P(argp->sep_pat))
|
||||||
header_p = rb_funcall(argp->sep_pat, rb_intern("==="), 1, i);
|
header_p = rb_funcall(argp->sep_pat, id_eqq, 1, i);
|
||||||
else if (NIL_P(argp->state))
|
else if (NIL_P(argp->state))
|
||||||
header_p = rb_funcall(argp->sep_pred, rb_intern("call"), 1, i);
|
header_p = rb_funcall(argp->sep_pred, rb_intern("call"), 1, i);
|
||||||
else
|
else
|
||||||
|
|
Загрузка…
Ссылка в новой задаче