Fixed performance issue caused by skipping over unsupported sections multiple times.
This commit is contained in:
parent
f24491cd5a
commit
2b55d156ae
@ -33,7 +33,6 @@ ExpressionPointer parsePredicate(Context &context, ExpressionContext &expression
|
||||
inline void warnUnsupported(Context &context, const std::string &expressionIdentifier)
|
||||
{
|
||||
context.logger.parserWarning(context.parser, "Expression type \"" + expressionIdentifier + "\" currently unsupported in this context");
|
||||
skipSection(context.parser);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -20,7 +20,6 @@ namespace pddl
|
||||
inline void warnUnsupported(Context &context, const std::string &expressionIdentifier)
|
||||
{
|
||||
context.logger.parserWarning(context.parser, "Expression type \"" + expressionIdentifier + "\" currently unsupported in this context");
|
||||
skipSection(context.parser);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user