first pass at getting javascript to work in parser

This commit is contained in:
rickg%netscape.com 1998-07-24 23:29:30 +00:00
parent 772be14e89
commit 8e5cff08b3
2 changed files with 2 additions and 2 deletions

View File

@ -516,7 +516,7 @@ PRInt32 nsParser::Parse(nsString& aSourceBuffer,PRBool anHTMLString){
PRInt32 result=kNoError;
mParseLevel++;
CParserContext* pc=new CParserContext(new CScanner(kUnknownFilename,PR_FALSE),&aSourceBuffer,0);
CParserContext* pc=new CParserContext(new CScanner(aSourceBuffer),&aSourceBuffer,0);
PushContext(*pc);
if(PR_TRUE==anHTMLString)

View File

@ -516,7 +516,7 @@ PRInt32 nsParser::Parse(nsString& aSourceBuffer,PRBool anHTMLString){
PRInt32 result=kNoError;
mParseLevel++;
CParserContext* pc=new CParserContext(new CScanner(kUnknownFilename,PR_FALSE),&aSourceBuffer,0);
CParserContext* pc=new CParserContext(new CScanner(aSourceBuffer),&aSourceBuffer,0);
PushContext(*pc);
if(PR_TRUE==anHTMLString)