Fixed enums not counting towards size of structs / enums

This commit is contained in:
WerWolv 2021-01-10 18:24:58 +01:00
parent 43d6b48cab
commit 9fe8a0f491

View file

@ -450,6 +450,8 @@ namespace hex::lang {
else
throwEvaluateError("invalid enum underlying type");
this->m_currOffset += size;
return new PatternDataEnum(startOffset, size, entryPatterns);;
}