diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-03 05:33:04 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-03 05:33:04 +0000 |
commit | 1af34c76bc1167bbfada70004d6cbc41b0098f64 (patch) | |
tree | 42cb39da264764002e1343505a4de2678e02fcf6 /op.h | |
parent | 1911be8391700522b225cf514eddd9ebe9eaf644 (diff) | |
download | perl-1af34c76bc1167bbfada70004d6cbc41b0098f64.tar.gz |
Salvage 'use filetest "access"' from compiletime to runtime.
p4raw-id: //depot/perl@19392
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -205,6 +205,16 @@ Deprecated. Use C<GIMME_V> instead. #define OPpHUSH_VMSISH 64 /* hush DCL exit msg vmsish mode*/ #define OPpEXIT_VMSISH 128 /* exit(0) vs. exit(1) vmsish mode*/ +/* Private of OP_FTXXX */ +#define OPpFT_ACCESS 2 /* use filetest 'access' */ +#define OP_IS_FILETEST_ACCESS(op) \ + (((op)->op_type) == OP_FTRREAD || \ + ((op)->op_type) == OP_FTRWRITE || \ + ((op)->op_type) == OP_FTREXEC || \ + ((op)->op_type) == OP_FTEREAD || \ + ((op)->op_type) == OP_FTEWRITE || \ + ((op)->op_type) == OP_FTEEXEC) + struct op { BASEOP }; |