]> sourceware.org Git - libabigail.git/commitdiff
Fix leaf-mode formatting of decl <-> defn diffs.
authorGiuliano Procida <gprocida@google.com>
Tue, 16 Jun 2020 12:12:10 +0000 (13:12 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 16 Jun 2020 13:57:31 +0000 (15:57 +0200)
This commit adds a missing newline.

* src/abg-leaf-reporter.cc (leaf_reporter::report): In the
class_or_union_diff overload, add a terminating new line after
reporting a declaration-only <-> definition difference.

Signed-off-by: Giuliano Procida <gprocida@google.com>
src/abg-leaf-reporter.cc

index f9d905abaeafc4cab6ea5509ba2ba9ea788e15bc..0c20ee416dd1684ee1e82929a6745bf4ed2694fc 100644 (file)
@@ -475,7 +475,7 @@ leaf_reporter::report(const class_or_union_diff& d,
          : " and is now a defined type";
 
        out << indent << "type " << first->get_pretty_representation()
-           << was << is_now;
+           << was << is_now << "\n";
        return;
       }
 
This page took 0.033165 seconds and 5 git commands to generate.