class RDoc::RubyLex

def identify_quotation

def identify_quotation
  ch = getc
  if lt = PERCENT_LTYPE[ch]
    ch = getc
  elsif ch =~ /\W/
    lt = "\""
  else
    raise RDoc::Error, "unknown type of %string #{ch.inspect}"
  end
  #     if ch !~ /\W/
  #       ungetc
  #       next
  #     end
  #@ltype = lt
  @quoted = ch unless @quoted = PERCENT_PAREN[ch]
  identify_string(lt, @quoted)
end