summaryrefslogtreecommitdiffstats
path: root/staptree.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 /staptree.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 'staptree.cxx')
-rw-r--r--staptree.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/staptree.cxx b/staptree.cxx
index eb811e49..843f96b7 100644
--- a/staptree.cxx
+++ b/staptree.cxx
@@ -220,8 +220,8 @@ void post_crement::print (ostream& o)
void ternary_expression::print (ostream& o)
{
- o << "(" << *cond << ") ? ("
- << *truevalue << ") : ("
+ o << "(" << *cond << ")?("
+ << *truevalue << "):("
<< *falsevalue << ")";
}