summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-10-27 17:33:32 +0000
committerDavid Mitchell <davem@iabyn.com>2014-12-07 09:07:30 +0000
commit2f7c6295c991839e20b09fbf3107b861d511de31 (patch)
tree0fdd9d2c00a5c76657a8f6b8a51612b0dd86fef7 /perl.h
parenta644a388ed31c256984f12dd1869bbc141de76e5 (diff)
downloadperl-2f7c6295c991839e20b09fbf3107b861d511de31.tar.gz
add UNOP_AUX OP class
This is the same as a UNOP, but with the addition of an op_aux field, which points to an array of UNOP_AUX_item unions. It is intended as a general escape mechanism for adding per-op-type extra fields (or arrays of items) to UNOPs. Its class character (for regen/opcodes etc) is '+'. Currently there are no ops of this type; but shortly, OP_MULTIDEREF will be added, which is the original motivation for this new op type.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 8466bc76bd..2a77522c5e 100644
--- a/perl.h
+++ b/perl.h
@@ -2594,6 +2594,7 @@ typedef MEM_SIZE STRLEN;
typedef struct op OP;
typedef struct cop COP;
typedef struct unop UNOP;
+typedef struct unop_aux UNOP_AUX;
typedef struct binop BINOP;
typedef struct listop LISTOP;
typedef struct logop LOGOP;