mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
bd2eff81d8
commit
31959b52ef
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* 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();
|
||||
|
||||
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))
|
||||
header_p = rb_funcall(argp->sep_pred, rb_intern("call"), 1, i);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue