Removed unwanted newline.

This commit is contained in:
Patrick Lühne 2016-11-24 14:47:02 +01:00
parent 83737755fc
commit c92de5e461
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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 =