summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-10 21:29:51 -0400
committerwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-10 21:29:51 -0400
commitd58c66bfef5cfa7267ced03db11928fd5c78ba9c (patch)
tree8c7065afbd175ab315f391318a6dd7f9bb229fb9 /elaborate.cxx
parentf317d3a33bdf4962b0655861e4552b5fec0f0a37 (diff)
parentec5d7273b73c56dacb4ac9b167186ff1ea964e63 (diff)
downloadsystemtap-steved-d58c66bfef5cfa7267ced03db11928fd5c78ba9c.tar.gz
systemtap-steved-d58c66bfef5cfa7267ced03db11928fd5c78ba9c.tar.xz
systemtap-steved-d58c66bfef5cfa7267ced03db11928fd5c78ba9c.zip
Merge branch 'master' of ssh://wenji@sources.redhat.com/git/systemtap
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 << ": ";