summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-12-15 17:58:30 -0700
committerKarl Williamson <khw@cpan.org>2015-12-16 12:14:46 -0700
commit87e05d1a4c512d5f08d9963b13e202483e002366 (patch)
treea8fb01774fcccf83adafb116c794c1f103341aa9 /op.h
parent2d212e86d115af0ec7bda9d374433535fb9b20ab (diff)
downloadperl-87e05d1a4c512d5f08d9963b13e202483e002366.tar.gz
Deprecate wide chars in logical string ops
See thread starting at http://nntp.perl.org/group/perl.perl5.porters/227698 Ricardo Signes provided the perldelta and perldiag text.
Diffstat (limited to 'op.h')
-rw-r--r--op.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/op.h b/op.h
index ff0713bf67..13afa8a982 100644
--- a/op.h
+++ b/op.h
@@ -1075,6 +1075,12 @@ C<sib> is non-null. For a higher-level interface, see C<L</op_sibling_splice>>.
#define MDEREF_MASK 0x7F
#define MDEREF_SHIFT 7
+#if defined(PERL_IN_DOOP_C) || defined(PERL_IN_PP_C)
+static const char * const deprecated_above_ff_msg
+ = "Use of strings with code points over 0xFF as arguments to "
+ "%s operator is deprecated";
+#endif
+
/*
* ex: set ts=8 sts=4 sw=4 et: