summaryrefslogtreecommitdiff
path: root/opnames.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2015-01-03 22:34:28 -0800
committerFather Chrysostomos <sprout@cpan.org>2015-01-31 22:03:51 -0800
commita9f19d0f50fa6980e7bdbcf691d81e40b2669a17 (patch)
tree3c8a704cf4b3702951650dd2733b13d7bc689930 /opnames.h
parent448d2b66f6cf2d5395d6d8d4ae22812b489cb476 (diff)
downloadperl-a9f19d0f50fa6980e7bdbcf691d81e40b2669a17.tar.gz
Add OP_IS_INFIX_BIT
A convenience macro that a forthcoming commit will use.
Diffstat (limited to 'opnames.h')
-rw-r--r--opnames.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/opnames.h b/opnames.h
index e68c8ca6a1..c225ac42c0 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: */