mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889584, part 2 - Comment withStatement specialization for syntax-only mode. r=Waldo.
This commit is contained in:
parent
0b9d395c57
commit
ca89aaf73c
@ -4478,6 +4478,8 @@ template <>
|
||||
ParseNode *
|
||||
Parser<FullParseHandler>::withStatement()
|
||||
{
|
||||
// test262/ch12/12.10/12.10-0-1.js fails if we try to parse with-statements
|
||||
// in syntax-parse mode. See bug 892583.
|
||||
if (handler.syntaxParser) {
|
||||
handler.disableSyntaxParser();
|
||||
abortedSyntaxParse = true;
|
||||
|
Loading…
Reference in New Issue
Block a user