mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(21b241a)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
02dade3b9e
commit
80325bab52
8 changed files with 55 additions and 5 deletions
|
@ -1184,9 +1184,9 @@ class RDoc::RubyLex
|
|||
str = if ltype == quoted and %w[" ' /].include? ltype then
|
||||
ltype.dup
|
||||
elsif RUBY_VERSION > '1.9' then
|
||||
"%#{type or PERCENT_LTYPE.key ltype}#{PERCENT_PAREN_REV[quoted]}"
|
||||
"%#{type or PERCENT_LTYPE.key ltype}#{PERCENT_PAREN_REV[quoted]||quoted}"
|
||||
else
|
||||
"%#{type or PERCENT_LTYPE.index ltype}#{PERCENT_PAREN_REV[quoted]}"
|
||||
"%#{type or PERCENT_LTYPE.index ltype}#{PERCENT_PAREN_REV[quoted]||quoted}"
|
||||
end
|
||||
|
||||
subtype = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue