mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-28 07:47:02 -05:00
fix: use renamed PatternRuntime::getEvalError() (#252)
This commit is contained in:
@@ -71,7 +71,7 @@ int main(int argc, char **argv) {
|
||||
if (!runtime.executeString(patternFile.readString(), "<Source Code>")) {
|
||||
fmt::print("Error during execution!\n");
|
||||
|
||||
if (const auto &hardError = runtime.getError(); hardError.has_value())
|
||||
if (const auto &hardError = runtime.getEvalError(); hardError.has_value())
|
||||
fmt::print("Hard error: {}:{} - {}\n\n", hardError->line, hardError->column, hardError->message);
|
||||
|
||||
return EXIT_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user