1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixing a case of adding to error nodes

This commit is contained in:
Brian Fiete 2020-01-25 06:18:50 -08:00
parent 0cefe95600
commit ed1cf60bb9

View file

@ -8124,6 +8124,7 @@ BfAstNode* BfReducer::CreateTopLevelObject(BfTokenNode* tokenNode, BfAttributeDi
return typeDeclaration;
}
AddErrorNode(tokenNode, false);
Fail("Unexpected token", tokenNode);
return NULL;
}