зеркало из https://github.com/mozilla/pjs.git
first pass at getting javascript to work in parser
This commit is contained in:
Родитель
c1d8a17f52
Коммит
01b6076c1a
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче