From: Father Chrysostomos Date: Sun, 4 Jan 2015 06:34:28 +0000 (-0800) Subject: Add OP_IS_INFIX_BIT X-Git-Tag: v5.21.9~225^2~19 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/a9f19d0f50fa6980e7bdbcf691d81e40b2669a17 Add OP_IS_INFIX_BIT A convenience macro that a forthcoming commit will use. --- diff --git a/opnames.h b/opnames.h index e68c8ca..c225ac4 100644 --- a/opnames.h +++ b/opnames.h @@ -436,4 +436,7 @@ typedef enum opcode { #define OP_IS_DIRHOP(op) \ ((op) >= OP_READDIR && (op) <= OP_CLOSEDIR) +#define OP_IS_INFIX_BIT(op) \ + ((op) >= OP_BIT_AND && (op) <= OP_SBIT_OR) + /* ex: set ro: */ diff --git a/regen/opcode.pl b/regen/opcode.pl index 765816f..fe10584 100755 --- a/regen/opcode.pl +++ b/regen/opcode.pl @@ -1136,6 +1136,7 @@ my %OP_IS_FILETEST; # /F-/ my %OP_IS_FT_ACCESS; # /F-+/ my %OP_IS_NUMCOMPARE; # /S