diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:39:18 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:39:18 +0000 |
| commit | 7f275c7c445d42d49e9c2df083c2be3e8e62eb72 (patch) | |
| tree | 932de41da66d182358a082fc9639cdf66a044a8d /test/ripper/dummyparser.rb | |
| parent | a2e512ed8e5c2fe725f5b3a6313982948a86294d (diff) | |
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
Diffstat (limited to 'test/ripper/dummyparser.rb')
| -rw-r--r-- | test/ripper/dummyparser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
