Improve error message for unhandled meta summary keyword
This commit is contained in:
parent
0f28d7c199
commit
c83e4820bc
@ -1217,8 +1217,12 @@ SummaryConfig::SummaryConfig( const Deck& deck,
|
|||||||
if (section.hasKeyword(meta_pair.first)) {
|
if (section.hasKeyword(meta_pair.first)) {
|
||||||
const auto& deck_keyword = section.getKeyword(meta_pair.first);
|
const auto& deck_keyword = section.getKeyword(meta_pair.first);
|
||||||
for (const auto& kw : meta_pair.second) {
|
for (const auto& kw : meta_pair.second) {
|
||||||
if (!this->hasKeyword(kw))
|
if (!this->hasKeyword(kw)) {
|
||||||
handleKW(this->m_keywords, kw, deck_keyword.location(), schedule, aquiferConfig, parseContext, errors);
|
KeywordLocation location = deck_keyword.location();
|
||||||
|
location.keyword = fmt::format("{}/{}", meta_pair.first, kw);
|
||||||
|
|
||||||
|
handleKW(this->m_keywords, kw, location, schedule, aquiferConfig, parseContext, errors);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user