ebos: sychronize the parse context with the one used by flow_legacy

i.e., add the PARSE_MISSING_DIMS_KEYWORD option. this was a recent
change in flow_legacy.
This commit is contained in:
Andreas Lauser
2017-02-13 19:35:27 +01:00
parent 7f81518b0d
commit 42c49e57ec
+2 -1
View File
@@ -138,7 +138,8 @@ public:
typedef std::pair<std::string, Opm::InputError::Action> ParseModePair;
typedef std::vector<ParseModePair> ParseModePairs;
ParseModePairs tmp;
tmp.push_back(ParseModePair(Opm::ParseContext::PARSE_RANDOM_SLASH , Opm::InputError::IGNORE));
tmp.push_back(ParseModePair(Opm::ParseContext::PARSE_RANDOM_SLASH, Opm::InputError::IGNORE));
tmp.push_back(ParseModePair(Opm::ParseContext::PARSE_MISSING_DIMS_KEYWORD, Opm::InputError::WARN));
Opm::ParseContext parseContext(tmp);
deck_ = parser.parseFile(fileName , parseContext);