summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-11 00:54:56 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-11 00:54:56 -0400
commit68eef6bdafca37b9b05dbc6d773a642ccafd9962 (patch)
tree8c7065afbd175ab315f391318a6dd7f9bb229fb9 /elaborate.cxx
parentdce99706064883364724188687dd0499b5f4440c (diff)
parentec5d7273b73c56dacb4ac9b167186ff1ea964e63 (diff)
downloadsystemtap-steved-68eef6bdafca37b9b05dbc6d773a642ccafd9962.tar.gz
systemtap-steved-68eef6bdafca37b9b05dbc6d773a642ccafd9962.tar.xz
systemtap-steved-68eef6bdafca37b9b05dbc6d773a642ccafd9962.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
* 'master' of git://sources.redhat.com/git/systemtap: PR2949: add missing line PR2949: listings mode (stap -l PROBE) PR6393: don't bother print build (configure) date any more, with reliable git ids PR6393: regenerate git_version.h at every make PR6393: git version tagging at build time 2008-04-09 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com> 2008-04-04 David Smith <dsmith@redhat.com> 2008-04-04 Masami Hiramatsu <mhiramat@redhat.com>
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 2d9fa7bc..1c41df64 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1214,6 +1214,9 @@ systemtap_session::print_error (const semantic_error& e)
string message_str;
stringstream message;
+ // NB: we don't print error messages during listing mode.
+ if (listing_mode) return;
+
message << "semantic error: " << e.what ();
if (e.tok1 || e.tok2)
message << ": ";