summaryrefslogtreecommitdiff
path: root/lib/rdoc/ruby_lex.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-19 00:47:33 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-19 00:47:33 +0000
commitcc46b530b00c83bf4a867fd42d81c63bc43c0b83 (patch)
tree0e4c0f13bc642824acf88fa7f24cf616212fbec3 /lib/rdoc/ruby_lex.rb
parenta7fa4d5d9aab150ad4b0c3f3217fe444df69f527 (diff)
* lib/rdoc: Update to RDoc master a1195ce. Changes include:
Improved accessibility of the main sidebar navigation. Fixed handling of regexp options in HTML source highlighting. * test/rdoc: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/ruby_lex.rb')
-rw-r--r--lib/rdoc/ruby_lex.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/ruby_lex.rb b/lib/rdoc/ruby_lex.rb
index 06a82ef978..d470d2b5f8 100644
--- a/lib/rdoc/ruby_lex.rb
+++ b/lib/rdoc/ruby_lex.rb
@@ -1231,8 +1231,8 @@ class RDoc::RubyLex
end
if @ltype == "/"
- if peek(0) =~ /i|m|x|o|e|s|u|n/
- getc
+ while peek(0) =~ /i|m|x|o|e|s|u|n/
+ str << getc
end
end