diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-08 15:02:15 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-18 21:00:54 +0800 |
commit | 2d8fceed5417cb8fcc169f35f36ea58b7bb9cded (patch) | |
tree | d55b918b8765494d2d7c0480ebddda5d4007a2fb /handy.h | |
parent | 71e49ade7b75dfc7d9e1cd013ddd9558a739e722 (diff) | |
download | perl-2d8fceed5417cb8fcc169f35f36ea58b7bb9cded.tar.gz |
warnings.pm - add deprecated::goto_construct category
This category applies to attempts to goto the internals of a block
construct.
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2959,7 +2959,7 @@ last-inclusive range. shortcut macro defined without -DPERL_CORE. Neither codesearch.google.com nor CPAN::Unpack show any users outside the core. */ #ifdef PERL_CORE -# define deprecate(s) Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), \ +# define deprecate(category,s) Perl_ck_warner_d(aTHX_ packWARN(category), \ "Use of " s " is deprecated") # define deprecate_disappears_in(when,message) \ Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), \ |