summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
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);