mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +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();
|
isDone = !mVisitorPos.MoveNext();
|
||||||
if (expr != NULL)
|
if (expr != NULL)
|
||||||
values.Add(expr);
|
values.Add(expr);
|
||||||
|
else
|
||||||
|
AddErrorNode(node);
|
||||||
|
|
||||||
if (!isDone)
|
if (!isDone)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue