Merge pull request #429 from joakim-hove/parsemode2

Using new string based ParseMode api.
This commit is contained in:
Joakim Hove 2015-08-10 14:36:27 +02:00
commit cd02c3fb83

View File

@ -213,10 +213,9 @@ try
Opm::OpmLog::addBackend( "COUNTER" , counterLog );
}
Opm::ParseMode parseMode;
Opm::ParseMode parseMode({{ ParseMode::PARSE_RANDOM_SLASH , InputError::IGNORE }});
Opm::DeckConstPtr deck;
std::shared_ptr<EclipseState> eclipseState;
parseMode.randomSlash = InputError::IGNORE;
try {
deck = parser->parseFile(deck_filename, parseMode);
Opm::checkDeck(deck);