summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2008-06-11 09:39:53 -0400
committerStan Cox <scox@redhat.com>2008-06-11 09:39:53 -0400
commitab54fa853735acfe90a0e125216bbb400e12ee1c (patch)
treeb1c84717229a12c3825c3f431a30f80bb0cca0cf /session.h
parentba53ea9f51453154bca13c57988a17e009e80476 (diff)
downloadsystemtap-steved-ab54fa853735acfe90a0e125216bbb400e12ee1c.tar.gz
systemtap-steved-ab54fa853735acfe90a0e125216bbb400e12ee1c.tar.xz
systemtap-steved-ab54fa853735acfe90a0e125216bbb400e12ee1c.zip
Eliminate duplicate warnings.
Diffstat (limited to 'session.h')
-rw-r--r--session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.h b/session.h
index 646b9154..fc2ca2a9 100644
--- a/session.h
+++ b/session.h
@@ -163,9 +163,11 @@ struct systemtap_session
Dwarf_Addr sym_stext;
std::set<std::string> seen_errors;
+ std::set<std::string> seen_warnings;
unsigned num_errors () { return seen_errors.size(); }
// void print_error (const parse_error& e);
void print_error (const semantic_error& e);
+ void print_warning (std::string w);
// reNB: new POD members likely need to be explicitly cleared in the ctor.
};