module YARD::Parser::C::CommentParser

def parse_overrides(comments)

def parse_overrides(comments)
  comments.map do |line|
    type, name = *line.scan(/^\s*Document-(class|module|method|attr|const):\s*(\S.*)\s*$/).first
    if type
      @overrides << [type.to_sym, name]
      nil
    else
      line
    end
  end.compact
end