1
0
mirror of synced 2025-01-31 03:53:44 +01:00

patterns: Updated pattern language

Fixes #1828
This commit is contained in:
WerWolv 2024-07-24 19:40:27 +02:00
parent d49d82e982
commit 5ca3222e5b
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 0d6469dd654419a7f4b530ab4171ab61b76eda7a
Subproject commit 514f5d7225b0a3266792c66d515b183ca31b0346

View File

@ -1307,7 +1307,8 @@ namespace hex::plugin::builtin {
if (!m_lastCompileError->empty()) {
for (const auto &error : *m_lastCompileError) {
if (error.getLocation().source->source == pl::api::Source::DefaultSource)
auto source = error.getLocation().source;
if (source != nullptr && source->source == pl::api::Source::DefaultSource)
errorMarkers[error.getLocation().line] = processMessage(error.getMessage());
}
}