summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-08 15:02:15 +0100
committerYves Orton <demerphq@gmail.com>2023-03-18 21:00:54 +0800
commit2d8fceed5417cb8fcc169f35f36ea58b7bb9cded (patch)
treed55b918b8765494d2d7c0480ebddda5d4007a2fb /handy.h
parent71e49ade7b75dfc7d9e1cd013ddd9558a739e722 (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index 3e5e42d12f..3f1922728c 100644
--- a/handy.h
+++ b/handy.h
@@ -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), \