1
0
mirror of synced 2025-02-18 03:09:18 +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

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