diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | translate.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-01-18 Josh Stone <joshua.i.stone@intel.com> + + * translate.cxx (c_unparser::visit_foreach_loop): improved the error + message when _stp_pmap_agg fails. + 2006-01-18 Frank Ch. Eigler <fche@elastic.org> * translate.cxx (c_unparser_assignment::visit_arrayindex): diff --git a/translate.cxx b/translate.cxx index 4fb608db..b6f83540 100644 --- a/translate.cxx +++ b/translate.cxx @@ -2022,7 +2022,7 @@ c_unparser::visit_foreach_loop (foreach_loop *s) { varlock_w agg_and_maybe_sort_guard(*this, mv); o->newline() << "if (unlikely(NULL == " << mv.calculate_aggregate() << "))"; - o->newline(1) << "c->last_error = \"unknown error while aggregating " << mv << "\";"; + o->newline(1) << "c->last_error = \"aggregation overflow in " << mv << "\";"; o->indent(-1); // sort array if desired |