diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-09-08 14:19:34 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-09-13 01:25:35 -0700 |
commit | 7aae02997ac3a49c1ab348041cff6989a1231075 (patch) | |
tree | 5477bd7c8c4c61ac6ea7d2227add3da88e177789 /pp.c | |
parent | 36447869006f54292e2cf85a2390dfaea3e74156 (diff) | |
download | perl-7aae02997ac3a49c1ab348041cff6989a1231075.tar.gz |
Use diag_listed_as two suppress two diag.t failures
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4361,6 +4361,7 @@ PP(pp_kvaslice) const I32 flags = is_lvalue_sub(); if (flags) { if (!(flags & OPpENTERSUB_INARGS)) + /* diag_listed_as: Can't modify %s in %s */ Perl_croak(aTHX_ "Can't modify index/value array slice in list assignment"); lval = flags; } @@ -4808,6 +4809,7 @@ PP(pp_kvhslice) const I32 flags = is_lvalue_sub(); if (flags) { if (!(flags & OPpENTERSUB_INARGS)) + /* diag_listed_as: Can't modify %s in %s */ Perl_croak(aTHX_ "Can't modify key/value hash slice in list assignment"); lval = flags; } |