X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/d4e32ec55bb4cf73441c3c8749fd6545c9af4259..1d31efef7dd4388fd606972e67bda3318e8838fe:/op.h diff --git a/op.h b/op.h index c9f05b2..ad6cf7f 100644 --- a/op.h +++ b/op.h @@ -1021,6 +1021,8 @@ C is non-null. For a higher-level interface, see C>. #define OP_TYPE_ISNT_AND_WASNT(o, type) \ ( (o) && OP_TYPE_ISNT_AND_WASNT_NN(o, type) ) +/* should match anything that uses ck_ftst in regen/opcodes */ +#define OP_IS_STAT(op) (OP_IS_FILETEST(op) || (op) == OP_LSTAT || (op) == OP_STAT) # define OpHAS_SIBLING(o) (cBOOL((o)->op_moresib)) # define OpSIBLING(o) (0 + (o)->op_moresib ? (o)->op_sibparent : NULL)