diff options
author | David Smith <dsmith@redhat.com> | 2008-04-10 15:04:25 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2008-04-11 09:40:30 -0500 |
commit | 73b011b5be8500ba90309cbeab7a1c43f83c235e (patch) | |
tree | 94da246046e93008494e32571fc48b7252622a5b /elaborate.cxx | |
parent | 6d05e34f799ac14ccd7f0adab39986b8b6d89939 (diff) | |
parent | ec5d7273b73c56dacb4ac9b167186ff1ea964e63 (diff) | |
download | systemtap-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.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 << ": "; |