From c37d4942f3f766d4c25a6fcd172640b453f0110c Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 13 Jan 2006 22:31:30 +0000 Subject: [PATCH] 2006-01-13 Frank Ch. Eigler * translate.cxx (c_unparser:getmap): Correct exception throwing typo. --- ChangeLog | 4 ++++ translate.cxx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 08fa89da0..512c86b44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-01-13 Frank Ch. Eigler + + * translate.cxx (c_unparser:getmap): Correct exception throwing typo. + 2006-01-12 Josh Stone PR 2056 diff --git a/translate.cxx b/translate.cxx index dacba1e59..d0b2a882f 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::const_iterator i; i = session->stat_decls.find(v->name); -- 2.43.5