class RDoc::Parser::Ruby

def parse_extend_or_include klass, container, comment # :nodoc:

:nodoc:
def parse_extend_or_include klass, container, comment # :nodoc:
  loop do
    skip_tkspace_comment
    name = get_included_module_with_optional_parens
    unless name.empty? then
      obj = container.add klass, name, comment
      record_location obj
    end
    return if peek_tk.nil? || :on_comma != peek_tk[:kind]
    get_tk
  end
end