summaryrefslogtreecommitdiff
path: root/pp_ctl.c
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 /pp_ctl.c
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 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index f7e4f055d7..6fcf852fdd 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3335,7 +3335,7 @@ PP(pp_goto)
? 2
: 1;
if (enterops[i])
- deprecate("\"goto\" to jump into a construct");
+ deprecate(WARN_DEPRECATED__GOTO_CONSTRUCT, "\"goto\" to jump into a construct");
}
/* pop unwanted frames */