From aee05dc7b7099d4bff8827e293e6b1e3442b9cd9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 19 Mar 2012 04:18:33 -0500 Subject: print computed annotations if --generated --- src/print.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/print.cc b/src/print.cc index 9e52ce95..79d83161 100644 --- a/src/print.cc +++ b/src/print.cc @@ -226,7 +226,8 @@ namespace { std::ostringstream amt_str; value_t(post->amount).print(amt_str, static_cast(amount_width), -1, AMOUNT_PRINT_RIGHT_JUSTIFY | - AMOUNT_PRINT_NO_COMPUTED_ANNOTATIONS); + (report.HANDLED(generated) ? 0 : + AMOUNT_PRINT_NO_COMPUTED_ANNOTATIONS)); amt = amt_str.str(); } -- cgit v1.2.3