Removed unwanted newline.
This commit is contained in:
parent
83737755fc
commit
c92de5e461
@ -77,6 +77,8 @@ struct StatementVisitor
|
|||||||
|
|
||||||
// Print consequent of the implication
|
// Print consequent of the implication
|
||||||
rule.head.data.accept(HeadLiteralPrintSubstitutedVisitor(), rule.head, context);
|
rule.head.data.accept(HeadLiteralPrintSubstitutedVisitor(), rule.head, context);
|
||||||
|
|
||||||
|
outputStream << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void visit(const Clingo::AST::Definition &, const Clingo::AST::Statement &statement, Context &context)
|
void visit(const Clingo::AST::Definition &, const Clingo::AST::Statement &statement, Context &context)
|
||||||
|
@ -41,7 +41,6 @@ void translate(const char *fileName, std::istream &stream, Context &context)
|
|||||||
[&context](const Clingo::AST::Statement &statement)
|
[&context](const Clingo::AST::Statement &statement)
|
||||||
{
|
{
|
||||||
statement.data.accept(StatementVisitor(), statement, context);
|
statement.data.accept(StatementVisitor(), statement, context);
|
||||||
context.logger.outputStream() << std::endl;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const auto logger =
|
const auto logger =
|
||||||
|
Loading…
Reference in New Issue
Block a user