fixed bug 9386 and added Terminate() to parser API

This commit is contained in:
rickg@netscape.com
1999-07-08 04:39:38 +00:00
parent 4ff3369b7d
commit 2eff8a305e
10 changed files with 64 additions and 48 deletions
+13
View File
@@ -575,6 +575,19 @@ void nsParser::SetUnusedInput(nsString& aBuffer) {
mUnusedInput=aBuffer;
}
/**
* Call this when you want to *force* the parser to terminate the
* parsing process altogether. This is binary -- so once you terminate
* you can't resume without restarting altogether.
*
* @update gess 7/4/99
* @return should return NS_OK once implemented
*/
nsresult nsParser::Terminate(void){
NS_NOTYETIMPLEMENTED("Call again later");
nsresult result=NS_ERROR_NOT_IMPLEMENTED;
return result;
}
/**
* Call this when you want control whether or not the parser will parse