summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-12-11 11:54:41 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-12-11 11:54:41 +0000
commit5d06d08e734fe734c4a9189071f394ad6e9ccaac (patch)
tree13aead60a9b95b42a7180d002d82a517bef8152b /op.h
parent3fe6f2dcb97acb1a1bb0a27dc5753fbc0548c545 (diff)
downloadperl-5d06d08e734fe734c4a9189071f394ad6e9ccaac.tar.gz
Stop tr/// from writing to target when only counting.
p4raw-id: //depot/perl@359
Diffstat (limited to 'op.h')
-rw-r--r--op.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.h b/op.h
index 471ace0760..a203c44639 100644
--- a/op.h
+++ b/op.h
@@ -95,6 +95,7 @@ typedef U32 PADOFFSET;
#define OPpRUNTIME 64 /* Pattern coming in on the stack */
/* Private for OP_TRANS */
+#define OPpTRANS_COUNTONLY 8
#define OPpTRANS_SQUASH 16
#define OPpTRANS_DELETE 32
#define OPpTRANS_COMPLEMENT 64