diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-21 01:45:51 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-21 01:45:51 +0000 |
commit | afebc493229293927e6b724b2070ac810a813a28 (patch) | |
tree | 8620ca918ff123d33ce69aa0bba75bc95433d088 /op.h | |
parent | b1a9ed4a50dbd0c26cd6f3422bdf7a12d75292f7 (diff) | |
download | perl-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |