summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-21 01:45:51 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-21 01:45:51 +0000
commitafebc493229293927e6b724b2070ac810a813a28 (patch)
tree8620ca918ff123d33ce69aa0bba75bc95433d088 /op.h
parentb1a9ed4a50dbd0c26cd6f3422bdf7a12d75292f7 (diff)
downloadperl-afebc493229293927e6b724b2070ac810a813a28.tar.gz
support for C<exists &func> (from Spider Boardman)
p4raw-id: //depot/perl@4827
Diffstat (limited to 'op.h')
-rw-r--r--op.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/op.h b/op.h
index c69d897239..ae37f03c9f 100644
--- a/op.h
+++ b/op.h
@@ -77,6 +77,7 @@ typedef U32 PADOFFSET;
/* On flipflop, we saw ... instead of .. */
/* On UNOPs, saw bare parens, e.g. eof(). */
/* On OP_ENTERSUB || OP_NULL, saw a "do". */
+ /* On OP_EXISTS, treat av as av, not avhv. */
/* On OP_(ENTER|LEAVE)EVAL, don't clear $@ */
/* On OP_ENTERITER, loop var is per-thread */
/* On pushre, re is /\s+/ imp. by split " " */
@@ -160,6 +161,9 @@ typedef U32 PADOFFSET;
/* Private for OP_DELETE */
#define OPpSLICE 64 /* Operating on a list of keys */
+/* Private for OP_EXISTS */
+#define OPpEXISTS_SUB 64 /* Checking for &sub, not {} or []. */
+
/* Private for OP_SORT, OP_PRTF, OP_SPRINTF, OP_FTTEXT, OP_FTBINARY, */
/* string comparisons, and case changers. */
#define OPpLOCALE 64 /* Use locale */