From 7f275c7c445d42d49e9c2df083c2be3e8e62eb72 Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 5 Dec 2009 09:39:18 +0000 Subject: merges r25402 from trunk into ruby_1_9_1. fixes the backport task #1921. -- * parse.y (parser_here_document): dispatch delayed heredoc contents. based on a patch from Andy Keep in [ruby-core:24855]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@26008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ripper/dummyparser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ripper/dummyparser.rb') diff --git a/test/ripper/dummyparser.rb b/test/ripper/dummyparser.rb index 2c107b37c..b19a49281 100644 --- a/test/ripper/dummyparser.rb +++ b/test/ripper/dummyparser.rb @@ -58,7 +58,7 @@ class DummyParser < Ripper class << self; self; end.class_eval do define_method(name) do |*a, &b| result = super(*a, &b) - yield + yield(*a) result end end -- cgit