Fix for propagating arguments reference from nested blocks. (#3309)
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
committed by
Dániel Bátyai
parent
55c7590767
commit
b4b55a67a2
@@ -371,6 +371,7 @@ scanner_push_literal_pool (parser_context_t *context_p, /**< context */
|
||||
if (!(status_flags & SCANNER_LITERAL_POOL_FUNCTION))
|
||||
{
|
||||
JERRY_ASSERT (prev_literal_pool_p != NULL);
|
||||
status_flags |= SCANNER_LITERAL_POOL_NO_ARGUMENTS;
|
||||
|
||||
if (prev_literal_pool_p->status_flags & SCANNER_LITERAL_POOL_IN_WITH)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user