mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Make RDoc ignore C function prototypes by Tilman Sauerbeck [ruby-core:8574].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d7ca9c352c
commit
c3321a0266
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ module RDoc
|
|||
def find_body(meth_name, meth_obj, body, quiet = false)
|
||||
case body
|
||||
when %r{((?>/\*.*?\*/\s*))(?:static\s+)?VALUE\s+#{meth_name}
|
||||
\s*(\(.*?\)).*?^}xm
|
||||
\s*(\([^)]*\))\s*\{.*?^\}}xm
|
||||
comment, params = $1, $2
|
||||
body_text = $&
|
||||
|
||||
|
|
Loading…
Reference in a new issue