mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Fix 351497, regression from last patch.
This commit is contained in:
parent
7debe644bf
commit
8ae1726f07
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user