diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-29 09:26:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-29 09:26:00 +0200 |
commit | bdd75a3074e9c572187a24a38d37b9f1af742c7b (patch) | |
tree | f14d581509485cfd38c0752ee6fe06d58e365a3d | |
parent | 7dff3249f7ef6f8675e0c0fcbe3109d50f4c1b1d (diff) |
Make sure there is newline after input file content
-rw-r--r-- | odb/odb.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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 ()); |