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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user