1
0
Fork 0
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:
akr 2009-10-03 23:29:03 +00:00
parent bd2eff81d8
commit 31959b52ef
2 changed files with 5 additions and 1 deletions

View file

@ -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
View file

@ -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