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(">=")
|| tokenizer.testIdentifierAndReturn("<=")) || tokenizer.testIdentifierAndReturn("<="))
{ {
const auto expressionIdentifier = tokenizer.getIdentifier(); tokenizer.seek(position);
tokenizer.expect<std::string>("(");
skipSection(tokenizer);
return parseUnsupported(context); return parseUnsupported(context);
} }