diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | translate.cxx | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2006-01-13 Frank Ch. Eigler <fche@elastic.org> + + * translate.cxx (c_unparser:getmap): Correct exception throwing typo. + 2006-01-12 Josh Stone <joshua.i.stone@intel.com> PR 2056 diff --git a/translate.cxx b/translate.cxx index dacba1e5..d0b2a882 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1716,7 +1716,7 @@ mapvar c_unparser::getmap(vardecl *v, token const *tok) { if (v->arity < 1) - throw new semantic_error("attempt to use scalar where map expected", tok); + throw semantic_error("attempt to use scalar where map expected", tok); statistic_decl sd; std::map<std::string, statistic_decl>::const_iterator i; i = session->stat_decls.find(v->name); |