diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-04 05:38:17 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-04 05:38:17 +0000 |
commit | e28c8d2c52abb939e8a0d50d29b111438129b869 (patch) | |
tree | 5a55c360dcac53469d4de426528edc1a0e3a4a6a /lib/rdoc/parsers | |
parent | b70ab3ad132d2cc1ab2b0808bdf0eca603278ca2 (diff) |
Ignore leading and trailing lines in :section: blocks
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parsers')
-rw-r--r-- | lib/rdoc/parsers/parse_rb.rb | 2 |
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 |