summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-11-04 14:59:02 -0700
committerKarl Williamson <khw@cpan.org>2019-11-06 21:22:24 -0700
commit84ac8fac229faf9c2e1499494772e5cafed92229 (patch)
tree7132b190cf4f3517f00f3d2f8a5bcfcec36509c7 /op.h
parent6507ac8375250fed048a612594c6d6d4f5ac2613 (diff)
downloadperl-84ac8fac229faf9c2e1499494772e5cafed92229.tar.gz
op.h: Add synonyms for some tr/// values
Diffstat (limited to 'op.h')
-rw-r--r--op.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/op.h b/op.h
index 3ce9890617..3781960e19 100644
--- a/op.h
+++ b/op.h
@@ -1115,6 +1115,9 @@ C<sib> is non-null. For a higher-level interface, see C<L</op_sibling_splice>>.
# define TR_DELETE (UV)-2
# define TR_R_EMPTY (UV)-3 /* rhs (replacement) is empty */
# define TR_OOB (UV)-4 /* Something that isn't one of the others */
+# define TR_SPECIAL_HANDLING TR_DELETE /* Can occupy same value */
+# define TR_UNLISTED TR_UNMAPPED /* A synonym whose name is clearer
+ at times */
#endif
#if defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
#define RANGE_INDICATOR ILLEGAL_UTF8_BYTE