summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-05 12:58:50 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-05 12:58:50 +0000
commit03a4a0f1d2d0bdc7ff2fdedce2f5e67ae5cefdc9 (patch)
tree75301f471aff5d877d3b64d94c55d3edfb361180
parentf0cc22e99024eefe2867fb47bea1ad6b9da36d6a (diff)
* vm.c (rb_call_super): pass a passed block when super is called via
rb_call_super. [ruby-dev:33598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--vm.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c15289d5e..cdded3c2ad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 05 21:57:34 2008 Yusuke Endoh <mame@tsg.ne.jp>
+
+ * 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@ruby-lang.org>
* lib/mkmf.rb (INSTALL_DIRS, install_dirs): added BINDIR.
diff --git a/vm.c b/vm.c
index 0b9356e672..d5a00c2fe1 100644
--- a/vm.c
+++ b/vm.c
@@ -536,6 +536,7 @@ vm_call_super(rb_thread_t *th, int argc, const VALUE *argv)
VALUE
rb_call_super(int argc, const VALUE *argv)
{
+ PASS_PASSED_BLOCK();
return vm_call_super(GET_THREAD(), argc, argv);
}