diff options
author | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-10 21:29:51 -0400 |
---|---|---|
committer | wenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com> | 2008-04-10 21:29:51 -0400 |
commit | d58c66bfef5cfa7267ced03db11928fd5c78ba9c (patch) | |
tree | 8c7065afbd175ab315f391318a6dd7f9bb229fb9 /elaborate.cxx | |
parent | f317d3a33bdf4962b0655861e4552b5fec0f0a37 (diff) | |
parent | ec5d7273b73c56dacb4ac9b167186ff1ea964e63 (diff) | |
download | systemtap-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.cxx | 3 |
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 << ": "; |