class RDoc::Parser::Ruby

def parse_require(context, comment)

def parse_require(context, comment)
  skip_tkspace_comment
  tk = get_tk
  if :on_lparen == tk[:kind] then
    skip_tkspace_comment
    tk = get_tk
  end
  name = tk[:text][1..-2] if :on_tstring == tk[:kind]
  if name then
    @top_level.add_require RDoc::Require.new(name, comment)
  else
    unget_tk tk
  end
end