Fixed rvalues not evaluating correctly in nested structs

This commit is contained in:
WerWolv
2021-01-04 16:13:03 +01:00
parent af42d2ff66
commit f5250d6bcf
2 changed files with 6 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ namespace hex::lang {
std::endian m_defaultDataEndian;
u64 m_currOffset = 0;
std::optional<std::endian> m_currEndian;
std::vector<PatternData*> *m_currMembers = nullptr;
std::vector<std::vector<PatternData*>*> m_currMembers;
std::pair<u32, std::string> m_error;