lib/rdoc/parser/c.rb in rdoc-3.5.3 vs lib/rdoc/parser/c.rb in rdoc-3.6

- old
+ new

@@ -374,10 +374,10 @@ def find_body class_name, meth_name, meth_obj, file_content, quiet = false case file_content when %r%((?>/\*.*?\*/\s*)?) ((?:(?:static|SWIGINTERN)\s+)? (?:intern\s+)?VALUE\s+#{meth_name} - \s*(\(.*?\))([^;]|$))%xm then + \s*(\([^)]*\))([^;]|$))%xm then comment = $1 body = $2 offset = $~.offset(2).first remove_private_comments comment if comment