summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-22 16:47:31 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-22 16:47:31 +0000
commitcdddfc7906342a014fc5db5a1f25219e45881ba4 (patch)
treebcce4b694f6940006c7a9eeca07e1c65e7fecc84 /lib
parentdfb1c3d812449cdc60f7e4377058bb068b809315 (diff)
downloadruby-cdddfc7906342a014fc5db5a1f25219e45881ba4.tar.gz
ruby-cdddfc7906342a014fc5db5a1f25219e45881ba4.tar.xz
ruby-cdddfc7906342a014fc5db5a1f25219e45881ba4.zip
Fixed parsing of %r{} when generating source popup
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/parsers/parse_rb.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb
index bd2414826..70236af34 100644
--- a/lib/rdoc/parsers/parse_rb.rb
+++ b/lib/rdoc/parsers/parse_rb.rb
@@ -1123,6 +1123,7 @@ class RubyLex
def identify_quotation(initial_char)
ch = getc
if lt = PERCENT_LTYPE[ch]
+ initial_char += ch
ch = getc
elsif ch =~ /\W/
lt = "\""