summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorfche <fche>2006-01-13 22:31:30 +0000
committerfche <fche>2006-01-13 22:31:30 +0000
commitc37d4942f3f766d4c25a6fcd172640b453f0110c (patch)
treee55bec79f5573a3455d38482e47e47b47c456569 /translate.cxx
parent57eedf94519f1b2a5bd1baedcdff6bedb1966901 (diff)
downloadsystemtap-steved-c37d4942f3f766d4c25a6fcd172640b453f0110c.tar.gz
systemtap-steved-c37d4942f3f766d4c25a6fcd172640b453f0110c.tar.xz
systemtap-steved-c37d4942f3f766d4c25a6fcd172640b453f0110c.zip
2006-01-13 Frank Ch. Eigler <fche@elastic.org>
* translate.cxx (c_unparser:getmap): Correct exception throwing typo.
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);