Fix 351497, regression from last patch.

git-svn-id: svn://10.0.0.236/trunk@209250 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brendan%mozilla.org
2006-09-06 07:07:27 +00:00
parent a70cb307b3
commit e9702878d6

View File

@@ -2735,6 +2735,7 @@ Statement(JSContext *cx, JSTokenStream *ts, JSTreeContext *tc)
(void) js_GetToken(cx, ts);
if (js_PeekToken(cx, ts) == TOK_LP) {
pn1 = LetBlock(cx, ts, tc, JS_FALSE);
tt = TOK_LEXICALSCOPE;
} else {
pnlet = PushLexicalScope(cx, ts, tc, &blockInfo);
if (!pnlet)