summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
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.
};