use more non-strict ParseMode.

This commit is contained in:
Liu Ming
2015-11-18 15:23:12 +08:00
parent 324cd80cb7
commit 356a35600f
4 changed files with 4 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ try
if (use_deck) {
std::string deck_filename = param.get<std::string>("deck_filename");
ParserPtr parser(new Opm::Parser());
ParseMode parseMode;
Opm::ParseMode parseMode({{ ParseMode::PARSE_RANDOM_SLASH , InputError::IGNORE }});
deck = parser->parseFile(deck_filename , parseMode);
eclipseState.reset(new Opm::EclipseState(deck , parseMode));