diff options
| author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-12 17:21:21 +0000 |
|---|---|---|
| committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-12 17:21:21 +0000 |
| commit | dc19b0989c8c16f425410f08700c3b3b7f457cf4 (patch) | |
| tree | 2e717d2862234f73da2031eb60905811422302e1 /lib | |
| parent | 3a56a172881fa37d1b27f3f2006e375aa95e2b22 (diff) | |
| download | ruby-dc19b0989c8c16f425410f08700c3b3b7f457cf4.tar.gz ruby-dc19b0989c8c16f425410f08700c3b3b7f457cf4.tar.xz ruby-dc19b0989c8c16f425410f08700c3b3b7f457cf4.zip | |
Allow optional : before call-seq:
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rdoc/parsers/parse_rb.rb | 2 |
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 |
