summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-08-16 14:04:02 +0000
committerfche <fche>2005-08-16 14:04:02 +0000
commitae56fdddab1cdf3304d7de6e93315ff6452e4ad1 (patch)
tree57f7954d249cb81c77661c922a481a94333db45c /main.cxx
parent7c4d1d0de413490eab600d5b29a807e8a17489d2 (diff)
downloadsystemtap-steved-ae56fdddab1cdf3304d7de6e93315ff6452e4ad1.tar.gz
systemtap-steved-ae56fdddab1cdf3304d7de6e93315ff6452e4ad1.tar.xz
systemtap-steved-ae56fdddab1cdf3304d7de6e93315ff6452e4ad1.zip
2005-08-16 Frank Ch. Eigler <fche@elastic.org>
* main.cxx: Don't print library parse trees if last_pass=1.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/main.cxx b/main.cxx
index 99be67da..16d2df37 100644
--- a/main.cxx
+++ b/main.cxx
@@ -307,11 +307,12 @@ main (int argc, char * const argv [])
cout << "# parse tree dump" << endl;
s.user_file->print (cout);
cout << endl;
- for (unsigned i=0; i<s.library_files.size(); i++)
- {
- s.library_files[i]->print (cout);
- cout << endl;
- }
+ if (s.verbose)
+ for (unsigned i=0; i<s.library_files.size(); i++)
+ {
+ s.library_files[i]->print (cout);
+ cout << endl;
+ }
}
// syntax errors, if any, are already printed