print computed annotations if --generated

This commit is contained in:
John Wiegley 2012-03-19 04:18:33 -05:00
parent 9097bc8cd3
commit aee05dc7b7

View file

@ -226,7 +226,8 @@ namespace {
std::ostringstream amt_str;
value_t(post->amount).print(amt_str, static_cast<int>(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();
}