Fix 355002.

git-svn-id: svn://10.0.0.236/trunk@212944 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brendan%mozilla.org
2006-10-01 05:29:05 +00:00
parent 6e66e389d2
commit e771ce98fe

View File

@@ -2816,8 +2816,9 @@ Statement(JSContext *cx, JSTokenStream *ts, JSTreeContext *tc)
: (pn1->pn_type != TOK_NAME &&
pn1->pn_type != TOK_DOT &&
#if JS_HAS_DESTRUCTURING
(pn->pn_op == JSOP_FORIN &&
(pn1->pn_type != TOK_RB || pn1->pn_count != 2)) &&
((pn->pn_op == JSOP_FORIN)
? (pn1->pn_type != TOK_RB || pn1->pn_count != 2)
: (pn1->pn_type != TOK_RB && pn1->pn_type != TOK_RC)) &&
#endif
#if JS_HAS_LVALUE_RETURN
pn1->pn_type != TOK_LP &&