Revert to pre-E4X handling of eval(s) = x to avoid compile-time error reporting (319391, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@185857 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6fb44d39c3
commit
78dc3e50b3
@ -2447,11 +2447,8 @@ AssignExpr(JSContext *cx, JSTokenStream *ts, JSTreeContext *tc)
|
||||
break;
|
||||
#if JS_HAS_LVALUE_RETURN
|
||||
case TOK_LP:
|
||||
if (pn2->pn_op == JSOP_CALL) {
|
||||
pn2->pn_op = JSOP_SETCALL;
|
||||
break;
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
pn2->pn_op = JSOP_SETCALL;
|
||||
break;
|
||||
#endif
|
||||
#if JS_HAS_XML_SUPPORT
|
||||
case TOK_UNARYOP:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user