diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-09 15:05:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-09 15:05:35 +0200 |
commit | 87d91f4b79136fd2fc9df44fd5142bd6a2b32b16 (patch) | |
tree | d1e802d526a8ee7f311d00f3fe234001865dfad9 /xsde/cxx/serializer | |
parent | 35ebba53cd5380751554511f2472f15ae846e06a (diff) |
Make sure --sloc-limit works even without --show-sloc
Diffstat (limited to 'xsde/cxx/serializer')
-rw-r--r-- | xsde/cxx/serializer/generator.cxx | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/xsde/cxx/serializer/generator.cxx b/xsde/cxx/serializer/generator.cxx index c6eeb05..83c2945 100644 --- a/xsde/cxx/serializer/generator.cxx +++ b/xsde/cxx/serializer/generator.cxx @@ -1454,12 +1454,9 @@ namespace CXX hxx << "#endif // " << guard << endl; if (show_sloc) - { - wcerr << hxx_path << ": " - << hxx_sloc.buffer ().count () << endl; + wcerr << hxx_path << ": " << hxx_sloc.buffer ().count () << endl; - sloc += hxx_sloc.buffer ().count (); - } + sloc += hxx_sloc.buffer ().count (); } @@ -1511,12 +1508,9 @@ namespace CXX << endl; if (show_sloc) - { - wcerr << ixx_path << ": " - << ixx_sloc.buffer ().count () << endl; + wcerr << ixx_path << ": " << ixx_sloc.buffer ().count () << endl; - sloc += ixx_sloc.buffer ().count (); - } + sloc += ixx_sloc.buffer ().count (); } @@ -1576,12 +1570,9 @@ namespace CXX << endl; if (show_sloc) - { - wcerr << cxx_path << ": " - << cxx_sloc.buffer ().count () << endl; + wcerr << cxx_path << ": " << cxx_sloc.buffer ().count () << endl; - sloc += cxx_sloc.buffer ().count (); - } + sloc += cxx_sloc.buffer ().count (); } // HXX impl |