Changed formatting of and/or/xor operators.
This commit is contained in:
parent
018559b8cf
commit
b3da15c537
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user