summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-12 17:21:21 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-12 17:21:21 +0000
commit1b9cdeac8ae784b94b3ee9c9447894faea5988a7 (patch)
tree86fb8cf6ed81f05cd02e0ab4033bc2593567e629 /lib
parent39bf1ab044d50f2e38cf9897f58ba98c875d1dfe (diff)
downloadruby-1b9cdeac8ae784b94b3ee9c9447894faea5988a7.tar.gz
ruby-1b9cdeac8ae784b94b3ee9c9447894faea5988a7.tar.xz
ruby-1b9cdeac8ae784b94b3ee9c9447894faea5988a7.zip
Allow optional : before call-seq:
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/parsers/parse_rb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb
index 4146738b5..8a1ecc612 100644
--- a/lib/rdoc/parsers/parse_rb.rb
+++ b/lib/rdoc/parsers/parse_rb.rb
@@ -1979,7 +1979,7 @@ module RDoc
# Look for a 'call-seq' in the comment, and override the
# normal parameter stuff
- if comment.sub!(/call-seq:(.*?)^\s*\#?\s*$/m, '')
+ if comment.sub!(/:?call-seq:(.*?)^\s*\#?\s*$/m, '')
seq = $1
seq.gsub!(/^\s*\#\s*/, '')
meth.call_seq = seq