1
0
mirror of synced 2024-11-12 02:00:52 +01:00

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);;
}