diff options
author | Reini Urban <rurban@x-ray.at> | 2010-12-13 20:06:33 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-12-16 20:41:39 -0800 |
commit | efef081eeab2e6a1f5882c447d1aa3cfb2201e46 (patch) | |
tree | 370869fa3789739d4a4c8ab61df2a8f19887cf98 | |
parent | 0d157ee2a019966dc8b4251425c92472c8c65707 (diff) | |
download | perl-efef081eeab2e6a1f5882c447d1aa3cfb2201e46.tar.gz |
Fix [perl #80632] -MO=Concise,-tree format
Some time between 5.8.3 and 5.8.4, the -tree output
format started getting extra line breaks.
-rw-r--r-- | ext/B/B/Concise.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/B/Concise.pm b/ext/B/B/Concise.pm index 6d0695660d..fbc02adeb5 100644 --- a/ext/B/B/Concise.pm +++ b/ext/B/B/Concise.pm @@ -586,7 +586,7 @@ sub fmt_line { # generate text-line for op. $text = "# $hr->{src}\n$text" if $show_src and $hr->{src}; chomp $text; - return "$text\n" if $text ne ""; + return "$text\n" if $text ne "" and $order ne "tree"; return $text; # suppress empty lines } |