patrick
/
plasp
Archived
1
0
Fork 0

Printing arguments of “not” expressions on the same line for clarity.

This commit is contained in:
Patrick Lühne 2017-06-24 16:00:50 +02:00
parent aeb8132fc7
commit 079e2ac539
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
1 changed files with 1 additions and 8 deletions

View File

@ -301,15 +301,8 @@ inline colorlog::ColorStream &print(colorlog::ColorStream &stream, const Imply<A
template<class Argument>
inline colorlog::ColorStream &print(colorlog::ColorStream &stream, const Not<Argument> &not_, pddl::detail::PrintContext &printContext)
{
stream << "(" << colorlog::Keyword("not");
printContext.indentationLevel++;
pddl::detail::printIndentedNewline(stream, printContext);
stream << "(" << colorlog::Keyword("not") << " ";
print(stream, not_.argument, printContext);
printContext.indentationLevel--;
return (stream << ")");
}