patterns: Updated pattern language

This commit is contained in:
WerWolv
2024-03-16 10:03:23 +01:00
parent 682f7bee72
commit f276409cde
2 changed files with 3 additions and 2 deletions

View File

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