Removed incorrect parentheses check.

This commit is contained in:
Patrick Lühne 2016-05-30 13:22:17 +02:00
parent 0b33ac0e7d
commit 0eb2714c9e
2 changed files with 0 additions and 4 deletions

View File

@ -77,8 +77,6 @@ void Description::parseSection(utils::Parser &parser)
// m_problem = std::make_unique<Problem>(Problem::fromPDDL(parser)); // m_problem = std::make_unique<Problem>(Problem::fromPDDL(parser));
else else
throw utils::ParserException(parser.row(), parser.column(), "Unknown PDDL section \"" + sectionIdentifier + "\""); throw utils::ParserException(parser.row(), parser.column(), "Unknown PDDL section \"" + sectionIdentifier + "\"");
parser.expect<std::string>(")");
} }
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -27,8 +27,6 @@ Domain Domain::fromPDDL(utils::Parser &parser)
{ {
parser.skipWhiteSpace(); parser.skipWhiteSpace();
std::cout << parser.currentCharacter() << std::endl;
if (parser.currentCharacter() == ')') if (parser.currentCharacter() == ')')
break; break;