From c4cf781e24ac2941611eb63f1ee7c1d146cf4c06 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Mon, 27 Jan 2014 18:07:45 -0800 Subject: [perl #121050] Teach B::Deparse about prototype whitespace It has been hanging or unnecessarily using & since commit d16269d835 caused spaces to be preserved in the prototype and stripped when applied during sub call compilation. That commit did not update B::Deparse accordingly. --- lib/B/Deparse.pm | 5 +++-- lib/B/Deparse.t | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/B/Deparse.pm b/lib/B/Deparse.pm index 31ad998b10..f620db48c1 100644 --- a/lib/B/Deparse.pm +++ b/lib/B/Deparse.pm @@ -3698,8 +3698,9 @@ sub check_proto { my @reals; # An unbackslashed @ or % gobbles up the rest of the args 1 while $proto =~ s/(?>>> +_121050 $a, $b; +() = _121050empty + 1; -- cgit v1.2.1