Finished precondition parsing.
This commit is contained in:
parent
63e15d37e8
commit
0d3cb152f9
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user