aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/ruby_lex.rb
diff options
context:
space:
mode:
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