InputErrorAction: convert to enum class

This commit is contained in:
Arne Morten Kvarving
2023-01-11 13:18:25 +01:00
parent e1c0409f42
commit edf937e2e5
27 changed files with 310 additions and 271 deletions

View File

@@ -217,7 +217,7 @@ BOOST_AUTO_TEST_CASE(SCHEDULESection_NotTerminated) {
BOOST_AUTO_TEST_CASE(Section_ValidDecks) {
ParseContext mode { { { ParseContext::PARSE_UNKNOWN_KEYWORD, InputError::IGNORE } } };
ParseContext mode { { { ParseContext::PARSE_UNKNOWN_KEYWORD, InputErrorAction::IGNORE } } };
Parser parser;
ErrorGuard errors;
@@ -257,7 +257,7 @@ BOOST_AUTO_TEST_CASE(Section_ValidDecks) {
BOOST_AUTO_TEST_CASE(Section_InvalidDecks) {
Parser parser;
ParseContext mode { { { ParseContext::PARSE_UNKNOWN_KEYWORD, InputError::IGNORE } } };
ParseContext mode { { { ParseContext::PARSE_UNKNOWN_KEYWORD, InputErrorAction::IGNORE } } };
ErrorGuard errors;
const std::string keyword_before_RUNSPEC =