bug fixes; more docs; lots of new testing

This commit is contained in:
rickg@netscape.com
1998-07-23 21:10:19 +00:00
parent b32b3caab4
commit 1a4679dafc
12 changed files with 44 additions and 140 deletions

View File

@@ -578,11 +578,11 @@ PRInt32 nsParser::BuildModel() {
And guess what? It worked the first time!
Uncomment the following code to enable the test:
int recurse=0;
if(recurse){
nsString theString("<table border=1><tr><td BGCOLOR=blue>cell</td></tr></table>");
Parse(theString,PR_TRUE);
}
int recurse=0;
if(recurse){
nsString theString("<table border=1><tr><td BGCOLOR=blue>cell</td></tr></table>");
Parse(theString,PR_TRUE);
}
**************************************************************************/
theMarkPos=*mParserContext->mCurrentPos;
@@ -770,19 +770,6 @@ nsresult nsParser::OnStopBinding(nsIURL* aURL, PRInt32 status, const nsString& a
Here comes the tokenization methods...
*******************************************************************/
/**
* Cause the tokenizer to consume the next token, and
* return an error result.
*
* @update gess 3/25/98
* @param anError -- ref to error code
* @return new token or null
*/
PRInt32 nsParser::ConsumeToken(CToken*& aToken) {
PRInt32 result=mParserContext->mDTD->ConsumeToken(aToken);
return result;
}
/**
* Part of the code sandwich, this gets called right before