[前][次][番号順一覧][スレッド一覧]

ruby-changes:3889

From: ko1@a...
Date: Tue, 5 Feb 2008 21:59:36 +0900 (JST)
Subject: [ruby-changes:3889] mame - Ruby:r15378 (trunk): * vm.c (rb_call_super): pass a passed block when super is called via

mame	2008-02-05 21:58:50 +0900 (Tue, 05 Feb 2008)

  New Revision: 15378

  Modified files:
    trunk/ChangeLog
    trunk/vm.c

  Log:
    * vm.c (rb_call_super): pass a passed block when super is called via
      rb_call_super.  [ruby-dev:33598]


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15378&r2=15377&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm.c?r1=15378&r2=15377&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 15377)
+++ ChangeLog	(revision 15378)
@@ -1,3 +1,8 @@
+Tue Feb 05 21:57:34 2008  Yusuke Endoh  <mame@t...>
+
+	* vm.c (rb_call_super): pass a passed block when super is called via
+	  rb_call_super.  [ruby-dev:33598]
+
 Tue Feb  5 11:14:11 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR.
Index: vm.c
===================================================================
--- vm.c	(revision 15377)
+++ vm.c	(revision 15378)
@@ -536,6 +536,7 @@
 VALUE
 rb_call_super(int argc, const VALUE *argv)
 {
+    PASS_PASSED_BLOCK();
     return vm_call_super(GET_THREAD(), argc, argv);
 }
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]