diff options
author | Karl Williamson <khw@cpan.org> | 2015-12-15 17:58:30 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-12-16 12:14:46 -0700 |
commit | 87e05d1a4c512d5f08d9963b13e202483e002366 (patch) | |
tree | a8fb01774fcccf83adafb116c794c1f103341aa9 /op.h | |
parent | 2d212e86d115af0ec7bda9d374433535fb9b20ab (diff) | |
download | perl-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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: |