summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parsers
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-04 05:38:17 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-04 05:38:17 +0000
commit6649247da6be9d9f658090af6726852747f0f42a (patch)
tree90c49a7df5a3563647243421a3528b50c5eaa02d /lib/rdoc/parsers
parent741f44a042ce5ab7e060296e2476d3dc33090a80 (diff)
downloadruby-6649247da6be9d9f658090af6726852747f0f42a.tar.gz
ruby-6649247da6be9d9f658090af6726852747f0f42a.tar.xz
ruby-6649247da6be9d9f658090af6726852747f0f42a.zip
Ignore leading and trailing lines in :section: blocks
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parsers')
-rw-r--r--lib/rdoc/parsers/parse_rb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb
index 2f76b95d3..15b3484cb 100644
--- a/lib/rdoc/parsers/parse_rb.rb
+++ b/lib/rdoc/parsers/parse_rb.rb
@@ -2312,7 +2312,7 @@ module RDoc
when "section"
context.set_current_section(param, comment)
comment.clear
- break
+ break
else
warn "Unrecognized directive '#{directive}'"
break