mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
patterns: Fixed eval_depth default and preprocessor errors
This commit is contained in:
@@ -48,7 +48,7 @@ namespace hex::lang {
|
||||
std::vector<std::vector<PatternData*>*> m_currMembers;
|
||||
LogConsole m_console;
|
||||
|
||||
u32 m_recursionLimit = 16;
|
||||
u32 m_recursionLimit;
|
||||
u32 m_currRecursionDepth;
|
||||
|
||||
|
||||
|
||||
@@ -39,9 +39,9 @@ namespace hex::lang {
|
||||
Validator *m_validator;
|
||||
Evaluator *m_evaluator;
|
||||
|
||||
prv::Provider *m_provider;
|
||||
std::endian m_defaultEndian;
|
||||
u32 m_recursionLimit;
|
||||
prv::Provider *m_provider = nullptr;
|
||||
std::endian m_defaultEndian = std::endian::native;
|
||||
u32 m_recursionLimit = 32;
|
||||
|
||||
std::optional<std::pair<u32, std::string>> m_currError;
|
||||
};
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace hex::lang {
|
||||
|
||||
std::unordered_map<std::string, std::function<bool(std::string)>> m_pragmaHandlers;
|
||||
|
||||
std::set<std::pair<std::string, std::string>> m_defines;
|
||||
std::set<std::pair<std::string, std::string>> m_pragmas;
|
||||
std::set<std::tuple<std::string, std::string, u32>> m_defines;
|
||||
std::set<std::tuple<std::string, std::string, u32>> m_pragmas;
|
||||
|
||||
std::pair<u32, std::string> m_error;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user