diff options
author | David Smith <dsmith@redhat.com> | 2008-06-17 09:20:16 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2008-06-17 09:20:16 -0500 |
commit | 6ebf08661086e6739b9fd58ddae336a91113306e (patch) | |
tree | 9f45b8f3808ed1a5ab1bb144f525b3a464dfb12c /session.h | |
parent | 81c361887ec0a5cfd9bdb635b999b590cb7b57f7 (diff) | |
parent | c815c982cc0691360dfd3073276dba071aac840e (diff) | |
download | systemtap-steved-6ebf08661086e6739b9fd58ddae336a91113306e.tar.gz systemtap-steved-6ebf08661086e6739b9fd58ddae336a91113306e.tar.xz systemtap-steved-6ebf08661086e6739b9fd58ddae336a91113306e.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap into work
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 6 |
1 files changed, 5 insertions, 1 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; @@ -165,9 +166,12 @@ struct systemtap_session 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 std::string& o); + void print_warning (const std::string& w, const token* tok = 0); // reNB: new POD members likely need to be explicitly cleared in the ctor. }; |