From bdd75a3074e9c572187a24a38d37b9f1af742c7b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Nov 2010 09:26:00 +0200 Subject: Make sure there is newline after input file content --- odb/odb.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'odb/odb.cxx') diff --git a/odb/odb.cxx b/odb/odb.cxx index 5bc6605..401e688 100644 --- a/odb/odb.cxx +++ b/odb/odb.cxx @@ -515,6 +515,10 @@ main (int argc, char* argv[]) return 1; } + // Add a new line in case the input file doesn't end with one. + // + os << endl; + // Add custom epilogue if any. // strings const& epi (ops.odb_epilogue ()); -- cgit v1.1