aboutsummaryrefslogtreecommitdiffstats
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
commit5d8d9754340ae05e596310a951ec3f6f74bb4a07 (patch)
tree90c49a7df5a3563647243421a3528b50c5eaa02d /lib/rdoc/parsers
parent405a50a5948fecb6ba44efb250a86052f4a406c8 (diff)
downloadruby-5d8d9754340ae05e596310a951ec3f6f74bb4a07.tar.gz
Ignore leading and trailing lines in :section: blocks
git-svn-id: svn+ssh://ci.ruby-lang.org/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 2f76b95d31..15b3484cb7 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