Skip to content

Commit

Permalink
* enum.c (slicebefore_ii): use id_eqq.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Oct 3, 2009
1 parent bd2eff8 commit 31959b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Sun Oct 4 08:27:10 2009 Tanaka Akira <[email protected]>

* enum.c (slicebefore_ii): use id_eqq.

Sun Oct 4 06:40:09 2009 Alexander Zavorine <[email protected]>

* symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.c
Expand Down
2 changes: 1 addition & 1 deletion enum.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31959b5

Please sign in to comment.