This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
On OP_READLINE, OPf_SPECIAL is set for <<>>, clear for <>.
authorNicholas Clark <nick@ccl4.org>
Sat, 2 Nov 2019 21:08:48 +0000 (22:08 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 2 Nov 2019 21:08:48 +0000 (22:08 +0100)
op.h

diff --git a/op.h b/op.h
index e1ade4f..008016b 100644 (file)
--- a/op.h
+++ b/op.h
@@ -146,6 +146,7 @@ Deprecated.  Use C<GIMME_V> instead.
                                 /*  On OP_PADRANGE, push @_ */
                                 /*  On OP_DUMP, has no label */
                                 /*  On OP_UNSTACK, in a C-style for loop */
+                                /*  On OP_READLINE, it's for <<>>, not <> */
 /* There is no room in op_flags for this one, so it has its own bit-
    field member (op_folded) instead.  The flag is only used to tell
    op_convert_list to set op_folded.  */