mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
pattern: Fixed many code inconsistencies and bugs
This commit is contained in:
@@ -206,10 +206,10 @@ namespace hex::pl {
|
||||
}
|
||||
|
||||
popScope();
|
||||
} catch (const LogConsole::EvaluateError &error) {
|
||||
this->m_console.log(LogConsole::Level::Error, error.second);
|
||||
} catch (PatternLanguageError &error) {
|
||||
this->m_console.log(LogConsole::Level::Error, error.what());
|
||||
|
||||
if (error.first != 0)
|
||||
if (error.getLineNumber() != 0)
|
||||
this->m_console.setHardError(error);
|
||||
|
||||
for (auto &pattern : patterns)
|
||||
|
||||
Reference in New Issue
Block a user