summaryrefslogtreecommitdiffstats
path: root/test/ripper/dummyparser.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-20 05:50:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-20 05:50:53 +0000
commitd007c58333bc5f072e99b3706e0f471a5b18da67 (patch)
tree6bdbfe6d6de74d20a33c80388c49ade55e5c090c /test/ripper/dummyparser.rb
parent56ab5a31f8631feec0971135ad43725c2ff57c38 (diff)
downloadruby-d007c58333bc5f072e99b3706e0f471a5b18da67.tar.gz
ruby-d007c58333bc5f072e99b3706e0f471a5b18da67.tar.xz
ruby-d007c58333bc5f072e99b3706e0f471a5b18da67.zip
* 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/trunk@25402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper/dummyparser.rb')
-rw-r--r--test/ripper/dummyparser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ripper/dummyparser.rb b/test/ripper/dummyparser.rb
index cf0b5d2a3..ec8800b17 100644
--- a/test/ripper/dummyparser.rb
+++ b/test/ripper/dummyparser.rb
@@ -51,7 +51,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