diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-27 03:45:22 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-27 03:45:22 +0000 |
commit | 336a8301f725bd8fbf5f1e0c4fee162382a76d0f (patch) | |
tree | 455c5fb8689d09e734a9ca13cdbe3ef9a7651a6e /lib/rdoc/parser/c.rb | |
parent | 3a87c3c5603fce8449f78faccaff5f4be6f372e1 (diff) |
Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parser/c.rb')
-rw-r--r-- | lib/rdoc/parser/c.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rdoc/parser/c.rb b/lib/rdoc/parser/c.rb index 05b1e77925..f30167aafc 100644 --- a/lib/rdoc/parser/c.rb +++ b/lib/rdoc/parser/c.rb @@ -661,7 +661,7 @@ class RDoc::Parser::C < RDoc::Parser def look_for_directives_in(context, comment) preprocess = RDoc::Markup::PreProcess.new @file_name, @options.rdoc_include - preprocess.handle comment do |directive, param| + preprocess.handle comment, context do |directive, param| case directive when 'main' then @options.main_page = param @@ -669,9 +669,6 @@ class RDoc::Parser::C < RDoc::Parser when 'title' then @options.title = param '' - else - context.metadata[directive] = param - false end end |