Skip to content

Commit d2de5fe

Browse files
committed
1 parent b67808c commit d2de5fe

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/Parser/Parse.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9506,6 +9506,15 @@ ParseNodeCatch * Parser::ParseCatch()
95069506
GetCurrentBlock()->SetChildCallsEval(true);
95079507
}
95089508

9509+
if (pnodeCatchScope->GetCallsEval())
9510+
{
9511+
pnodeBody->AsParseNodeBlock()->SetCallsEval(true);
9512+
}
9513+
if (pnodeCatchScope->GetChildCallsEval())
9514+
{
9515+
pnodeBody->AsParseNodeBlock()->SetChildCallsEval(true);
9516+
}
9517+
95099518
if (buildAST)
95109519
{
95119520
PopStmt(&stmt);

0 commit comments

Comments
 (0)