Skip to content

Commit

Permalink
* eval.c (proc_alloc): re-unification of Block and Proc. Block
Browse files Browse the repository at this point in the history
  class is no longer available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Jun 16, 2003
1 parent 5fb3efb commit 590a378
Show file tree
Hide file tree
Showing 19 changed files with 162 additions and 177 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Mon Jun 16 16:06:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org>

* eval.c (proc_alloc): re-unification of Block and Proc. Block
class is no longer available.

Mon Jun 16 14:43:14 2003 WATANABE Hirofumi <eban@ruby-lang.org>

* bcc32/Makefile.sub: undefine HAVE_GETGROUPS.
Expand Down
2 changes: 1 addition & 1 deletion class.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ rb_scan_args(argc, argv, fmt, va_alist)
if (*p == '&') {
var = va_arg(vargs, VALUE*);
if (rb_block_given_p()) {
*var = rb_block_new();
*var = rb_block_proc();
}
else {
*var = Qnil;
Expand Down
Loading

0 comments on commit 590a378

Please sign in to comment.