Fixed bogus assertion (349818).

This commit is contained in:
brendan%mozilla.org 2006-08-23 04:19:17 +00:00
Родитель 412f72b084
Коммит 3aec31b74a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -3227,7 +3227,8 @@ Statement(JSContext *cx, JSTokenStream *ts, JSTreeContext *tc)
return pn;
/* Let expressions require automatic semicolon insertion. */
JS_ASSERT(pn->pn_op == JSOP_LEAVEBLOCKEXPR);
JS_ASSERT(pn->pn_type == TOK_SEMI ||
pn->pn_op == JSOP_LEAVEBLOCKEXPR);
break;
}