Added warning capabilities to the Deck

This commit is contained in:
Joakim Hove 2013-10-08 16:02:16 +02:00
parent 2345835233
commit f3a38425cb

View File

@ -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();