This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update comments for OPf_SPECIAL/do
authorFather Chrysostomos <sprout@cpan.org>
Thu, 2 Oct 2014 19:54:15 +0000 (12:54 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 2 Oct 2014 21:40:21 +0000 (14:40 -0700)
‘do subname’ has been removed, so OPf_SPECIAL no longer applies to
OP_ENTERSUB.

op.h

diff --git a/op.h b/op.h
index df39d33..9d177d0 100644 (file)
--- a/op.h
+++ b/op.h
@@ -109,7 +109,7 @@ Deprecated.  Use C<GIMME_V> instead.
                                /*  On control verbs, we saw no label */
                                /*  On flipflop, we saw ... instead of .. */
                                /*  On UNOPs, saw bare parens, e.g. eof(). */
-                               /*  On OP_ENTERSUB || OP_NULL, saw a "do". */
+                               /*  On OP_NULL, saw a "do". */
                                /*  On OP_EXISTS, treat av as av, not avhv.  */
                                /*  On OP_(ENTER|LEAVE)EVAL, don't clear $@ */
                                 /*  On pushre, rx is used as part of split, e.g. split " " */