Changed formatting of and/or/xor operators.

This commit is contained in:
Patrick Lühne 2016-11-24 02:44:58 +01:00
parent 018559b8cf
commit b3da15c537
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -108,11 +108,11 @@ ColorStream &operator<<(ColorStream &stream, const Clingo::AST::BinaryOperator &
switch (binaryOperator) switch (binaryOperator)
{ {
case Clingo::AST::BinaryOperator::XOr: case Clingo::AST::BinaryOperator::XOr:
return (stream << Operator("xor")); return (stream << Keyword("xor"));
case Clingo::AST::BinaryOperator::Or: case Clingo::AST::BinaryOperator::Or:
return (stream << Operator("or")); return (stream << Keyword("or"));
case Clingo::AST::BinaryOperator::And: case Clingo::AST::BinaryOperator::And:
return (stream << Operator("and")); return (stream << Keyword("and"));
case Clingo::AST::BinaryOperator::Plus: case Clingo::AST::BinaryOperator::Plus:
return (stream << Operator("+")); return (stream << Operator("+"));
case Clingo::AST::BinaryOperator::Minus: case Clingo::AST::BinaryOperator::Minus: