diff options
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -25,6 +25,7 @@ extern "C" { struct match_node; struct stapfile; struct vardecl; +struct token; struct functiondecl; struct derived_probe; struct be_derived_probe_group; @@ -42,6 +43,7 @@ struct embeddedcode; struct translator_output; struct unparser; struct semantic_error; +struct module_cache; // XXX: a generalized form of this descriptor could be associated with @@ -164,11 +166,17 @@ struct systemtap_session // List of libdwfl module names to extract symbol/unwind data for. std::set<std::string> unwindsym_modules; + struct module_cache* module_cache; 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); + const token* last_token; + void print_token (std::ostream& o, const token* tok); void print_error (const semantic_error& e); + void print_warning (const std::string& w, const token* tok = 0); // reNB: new POD members likely need to be explicitly cleared in the ctor. }; |