class RDoc::RDoc

def parse_files(files)

def parse_files(files)
  file_list = gather_files files
  @stats = RDoc::Stats.new @store, file_list.length, @options.verbosity
  return [] if file_list.empty?
  # This workaround can be removed after the :main: directive is removed
  original_options = @options.dup
  @stats.begin_adding
  file_info = file_list.map do |filename|
    @current = filename
    parse_file filename
  end.compact
  @store.resolve_c_superclasses
  @stats.done_adding
  @options = original_options
  file_info
end