Merge pull request #1716 from joakim-hove/unsupported-keywords

The missing features check takes a ParseContext argument
This commit is contained in:
Joakim Hove
2019-02-22 07:49:43 +01:00
committed by GitHub
3 changed files with 30 additions and 11 deletions

View File

@@ -195,10 +195,10 @@ int main(int argc, char** argv)
}
deck.reset( new Opm::Deck( parser.parseFile(deckFilename , parseContext, errorGuard)));
if ( outputCout ) {
Opm::MissingFeatures::checkKeywords(*deck, parseContext, errorGuard);
if ( outputCout )
Opm::checkDeck(*deck, parser);
Opm::MissingFeatures::checkKeywords(*deck);
}
eclipseState.reset( new Opm::EclipseState(*deck, parseContext, errorGuard ));
schedule.reset(new Opm::Schedule(*deck, *eclipseState, parseContext, errorGuard));