Added warning capabilities to the Deck
This commit is contained in:
parent
2345835233
commit
f3a38425cb
@ -117,6 +117,7 @@ namespace Opm {
|
||||
} else {
|
||||
DeckKeywordConstPtr deckKeyword(new DeckKeyword(rawKeyword->getKeywordName(), false));
|
||||
deck->addKeyword(deckKeyword);
|
||||
deck->addWarning( "The keyword " + rawKeyword->getKeywordName() + " is not recognized." , file.string() , lineNR);
|
||||
}
|
||||
}
|
||||
rawKeyword.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user