Add checks on member sType of structs:

- only members named <sType> are supposed to have a <values> attribute
- no <values> attribute is allowed to occur more than once.
This commit is contained in:
asuessenbach
2020-04-29 09:04:21 +02:00
parent 285c1d5e8a
commit 89190683c8
2 changed files with 13 additions and 6 deletions

View File

@@ -592,6 +592,7 @@ private:
std::map<std::string, std::string> m_platforms;
std::map<std::string, std::string> m_structureAliases;
std::map<std::string, StructureData> m_structures;
std::set<std::string> m_sTypeValues;
std::set<std::string> m_tags;
std::map<std::string, TypeCategory> m_types;
std::string m_typesafeCheck;