summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2017-01-16 11:44:30 +0100
committerAbigail <abigail@abigail.be>2017-01-16 19:18:17 +0100
commitdc6e8de0c8eef348cabc76d23a98ce74e4b90cde (patch)
tree2eeb57c7e6acd2186005e11962a1fb00e6a9450d /handy.h
parent37398dc1a6d62d8d18b2db9ec44bca65d4091614 (diff)
downloadperl-dc6e8de0c8eef348cabc76d23a98ce74e4b90cde.tar.gz
There's an objection to fatalizing jumping into a construct.
This reverts commit 84b32f52b10f9912b40ef378cd0b01f4aff80630. This reverts commit d30393aaade31b605724846a30a10dd1e96cd181. We need more debate on this one; either we should undeprecate it, or settle on an end-of-life version.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index 4c39280502..4d2f4bc933 100644
--- a/handy.h
+++ b/handy.h
@@ -2475,6 +2475,8 @@ void Perl_mem_log_del_sv(const SV *sv, const char *filename, const int linenumbe
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), \
+ "Use of " s " is deprecated")
# define deprecate_disappears_in(when,message) \
Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), \
message ", and will disappear in Perl " when)