Finished precondition parsing.

This commit is contained in:
Patrick Lühne 2017-06-17 18:08:51 +02:00
parent 63e15d37e8
commit 0d3cb152f9
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -95,10 +95,7 @@ std::experimental::optional<ast::Precondition> parsePreconditionBody(Context &co
|| tokenizer.testIdentifierAndReturn(">=")
|| tokenizer.testIdentifierAndReturn("<="))
{
const auto expressionIdentifier = tokenizer.getIdentifier();
tokenizer.expect<std::string>("(");
skipSection(tokenizer);
tokenizer.seek(position);
return parseUnsupported(context);
}