diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-08 14:48:15 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-18 21:00:54 +0800 |
commit | 25991c51d4866aeef3eeef13c1dc562fff82d7e4 (patch) | |
tree | 4977ffb52148777d82aba6cb224720056238c753 /regcomp.c | |
parent | 21b005c93f9d47fdacd6d19b6e4bd297b891ab41 (diff) | |
download | perl-25991c51d4866aeef3eeef13c1dc562fff82d7e4.tar.gz |
warnings.pm - support deprecated::unicode_property_name category
This category is only used in the regex engine, we should be able
to disable it specifically, as it seems like we will never actually
remove demove support for the things it warns about.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15657,7 +15657,7 @@ S_parse_uniprop_string(pTHX_ if (table_index > MAX_UNI_KEYWORD_INDEX) { Size_t warning_offset = table_index / MAX_UNI_KEYWORD_INDEX; table_index %= MAX_UNI_KEYWORD_INDEX; - Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), + Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED__UNICODE_PROPERTY_NAME), "Use of '%.*s' in \\p{} or \\P{} is deprecated because: %s", (int) name_len, name, get_deprecated_property_msg(warning_offset)); |