bug 76412: Clean up some obvious things in the view source DTD, as well as ripping out obsolete and unused error reporting cruft. r+sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@184433 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mrbkap%gmail.com
2005-11-10 22:47:09 +00:00
parent f80c7c537d
commit f32d8c9dad
2 changed files with 32 additions and 108 deletions

View File

@@ -88,7 +88,6 @@ private:
PRBool aTagInError);
nsresult WriteAttributes(PRInt32 attrCount, PRBool aOwnerInError);
nsresult GenerateSummary();
void StartNewPreBlock(void);
// Utility method for adding attributes to the nodes we generate
void AddAttrToNode(nsCParserStartNode& aNode,
@@ -103,19 +102,6 @@ protected:
PRInt32 mLineNumber;
nsITokenizer* mTokenizer; // weak
PRInt32 mStartTag;
PRInt32 mEndTag;
PRInt32 mCommentTag;
PRInt32 mCDATATag;
PRInt32 mMarkupDeclaration;
PRInt32 mDocTypeTag;
PRInt32 mPITag;
PRInt32 mEntityTag;
PRInt32 mText;
PRInt32 mKey;
PRInt32 mValue;
PRInt32 mPopupTag;
PRInt32 mSummaryTag;
PRPackedBool mSyntaxHighlight;
PRPackedBool mWrapLongLines;
PRPackedBool mHasOpenRoot;
@@ -125,12 +111,8 @@ protected:
eParserCommands mParserCommand; //tells us to viewcontent/viewsource/viewerrors...
eParserDocType mDocType;
nsCString mMimeType;
PRInt32 mErrorCount;
PRInt32 mTagCount;
nsString mFilename;
nsString mTags;
nsString mErrors;
PRUint32 mTokenCount;
};