CToken* theToken = state->tokenAllocator->CreateTokenOfType(eToken_comment, eHTMLTag_unknown, nsLiteralString((PRUnichar*)name));
typedef const PRUnichar* const_PRUnichar_ptr; CToken* theToken = state->tokenAllocator->CreateTokenOfType(eToken_comment, eHTMLTag_unknown, nsDependentString(const_PRUnichar_ptr(name)));
void Tokenizer_HandleComment(void *userData, const XML_Char *name) {  XMLParserState* state = (XMLParserState*) userData;  if (state->indoctype) {    // We do not want comments popping out of the doctype...    state->doctypeText.Append(NS_LITERAL_STRING("<!--"));    state->doctypeText.Append((PRUnichar*)name);    state->doctypeText.Append(NS_LITERAL_STRING("-->"));  } else {    CToken* theToken = state->tokenAllocator->CreateTokenOfType(eToken_comment, eHTMLTag_unknown, nsLiteralString((PRUnichar*)name));    if(theToken) {      nsExpatTokenizer::AddToken(theToken, NS_OK, state->tokenDeque, state->tokenAllocator);    }    else{      //THROW A HUGE ERROR IF WE CANT CREATE A TOKEN!    }  }}