diff options
author | fche <fche> | 2006-01-13 22:31:30 +0000 |
---|---|---|
committer | fche <fche> | 2006-01-13 22:31:30 +0000 |
commit | c37d4942f3f766d4c25a6fcd172640b453f0110c (patch) | |
tree | e55bec79f5573a3455d38482e47e47b47c456569 /translate.cxx | |
parent | 57eedf94519f1b2a5bd1baedcdff6bedb1966901 (diff) | |
download | systemtap-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.cxx | 2 |
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); |