Fixed enums failing to validate

This commit is contained in:
WerWolv 2020-11-22 02:25:03 +01:00
parent 0ce1b5d40b
commit 033ef3889a
1 changed files with 4 additions and 3 deletions

View File

@ -65,6 +65,7 @@ namespace hex::lang {
if (!constantNames.insert(name).second)
return false;
}
break;
case ASTNode::Type::Bitfield:
{
// Check for duplicate type name