This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct OPf_SPECIAL/OP_UNSTACK comment
authorFather Chrysostomos <sprout@cpan.org>
Wed, 26 Nov 2014 02:04:27 +0000 (18:04 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 26 Nov 2014 04:11:04 +0000 (20:11 -0800)
I misread the code when I added it.

op.h

diff --git a/op.h b/op.h
index e4fadf6..1392fd2 100644 (file)
--- a/op.h
+++ b/op.h
@@ -138,7 +138,7 @@ Deprecated.  Use C<GIMME_V> instead.
                                 */
                                 /*  On OP_PADRANGE, push @_ */
                                 /*  On OP_DUMP, has no label */
-                                /*  On OP_UNSTACK, in a foreach loop */
+                                /*  On OP_UNSTACK, in a C-style for loop */
 
 /* old names; don't use in new code, but don't break them, either */
 #define OPf_LIST       OPf_WANT_LIST