aboutsummaryrefslogtreecommitdiff
path: root/odb/odb.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-29 09:26:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-29 09:26:00 +0200
commitbdd75a3074e9c572187a24a38d37b9f1af742c7b (patch)
treef14d581509485cfd38c0752ee6fe06d58e365a3d /odb/odb.cxx
parent7dff3249f7ef6f8675e0c0fcbe3109d50f4c1b1d (diff)
Make sure there is newline after input file content
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r--odb/odb.cxx4
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 ());