summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerard Goossen <gerard@tty.nl>2007-06-27 13:58:28 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-07-07 08:05:24 +0000
commitfa2f7c7130c03a1ef6e97d057d21202eb3df4732 (patch)
tree51eedfadd4650b292df2497bc2ca24fc5cd1a462
parentc377962984064da2ba656727e9701615705ffc7b (diff)
downloadperl-fa2f7c7130c03a1ef6e97d057d21202eb3df4732.tar.gz
p55: add 'declarator' to listop. Fixes 'pipe my ($r, $w)'
Message-ID: <20070627095828.GB11336@ostwald> p4raw-id: //depot/perl@31553
-rwxr-xr-xmad/Nomad.pm2
-rw-r--r--mad/t/p55.t4
2 files changed, 2 insertions, 4 deletions
diff --git a/mad/Nomad.pm b/mad/Nomad.pm
index 5ccda4ff90..79da555a4c 100755
--- a/mad/Nomad.pm
+++ b/mad/Nomad.pm
@@ -674,7 +674,7 @@ sub ast {
return P5AST::listop->new(Kids => [@before,@retval]);
}
- push @retval, $self->madness('o ( [ {');
+ push @retval, $self->madness('o d ( [ {');
my @newkids;
for my $kid (@{$$self{Kids}}) {
diff --git a/mad/t/p55.t b/mad/t/p55.t
index f3addd113c..9407f34b02 100644
--- a/mad/t/p55.t
+++ b/mad/t/p55.t
@@ -72,8 +72,6 @@ our %failing = map { $_, 1 } qw|
../t/comp/parser.t
-../t/op/getppid.t
-
../t/op/switch.t
../t/op/attrhand.t
@@ -159,7 +157,7 @@ $[ = 1
# TODO from t/comp/parser.t
$x = 1 for ($[) = 0;
########
-# TODO from t/op/getppid.t
+# from t/op/getppid.t
pipe my ($r, $w)
########
# TODO switch