mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added error node on initializer expression failure
This commit is contained in:
parent
5572a7d279
commit
9fde8a3c89
1 changed files with 2 additions and 0 deletions
|
@ -7023,6 +7023,8 @@ BfInitializerExpression* BfReducer::TryCreateInitializerExpression(BfExpression*
|
|||
isDone = !mVisitorPos.MoveNext();
|
||||
if (expr != NULL)
|
||||
values.Add(expr);
|
||||
else
|
||||
AddErrorNode(node);
|
||||
|
||||
if (!isDone)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue