summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2008-04-10 15:04:25 -0500
committerDavid Smith <dsmith@redhat.com>2008-04-11 09:40:30 -0500
commit73b011b5be8500ba90309cbeab7a1c43f83c235e (patch)
tree94da246046e93008494e32571fc48b7252622a5b /elaborate.cxx
parent6d05e34f799ac14ccd7f0adab39986b8b6d89939 (diff)
parentec5d7273b73c56dacb4ac9b167186ff1ea964e63 (diff)
downloadsystemtap-steved-73b011b5be8500ba90309cbeab7a1c43f83c235e.tar.gz
systemtap-steved-73b011b5be8500ba90309cbeab7a1c43f83c235e.tar.xz
systemtap-steved-73b011b5be8500ba90309cbeab7a1c43f83c235e.zip
Merge branch 'master' into work
Conflicts: ChangeLog
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 << ": ";