patterns: Added recursion and array size limit pragma

This commit is contained in:
WerWolv
2021-09-22 00:45:04 +02:00
parent d1c05174b6
commit 755642862f
4 changed files with 62 additions and 5 deletions

View File

@@ -45,7 +45,8 @@ namespace hex::pl {
prv::Provider *m_provider = nullptr;
std::endian m_defaultEndian = std::endian::native;
u32 m_recursionLimit = 32;
u32 m_evalDepth;
u32 m_arrayLimit;
std::optional<std::pair<u32, std::string>> m_currError;
};