summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-13 07:37:35 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-13 07:37:35 +0100
commita4df5da1fe962395b9ad9ab6a0922d022fdb809c (patch)
tree00bd255d6944b3f381fe513d8372cb3c6f48118a /gv.c
parent8ab8f082f7fb7802421b5fc8ff6576774161e703 (diff)
downloadperl-a4df5da1fe962395b9ad9ab6a0922d022fdb809c.tar.gz
Remove category 'syntax' from 5 warnings that should just be in 'deprecated'.
None were documented as also being in 'syntax'. Effectively, this completes the reorganisation of commits 12bcd1a617c74d6e and 9014280dc8264580. See http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-10/msg00601.html and http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2002-03/msg00850.html
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 38f7208980..e967f907a7 100644
--- a/gv.c
+++ b/gv.c
@@ -729,7 +729,7 @@ Perl_gv_autoload4(pTHX_ HV *stash, const char *name, STRLEN len, I32 method)
*/
if (!method && (GvCVGEN(gv) || GvSTASH(gv) != stash)
)
- Perl_ck_warner(aTHX_ packWARN2(WARN_DEPRECATED, WARN_SYNTAX),
+ Perl_ck_warner(aTHX_ packWARN(WARN_DEPRECATED),
"Use of inherited AUTOLOAD for non-method %s::%.*s() is deprecated",
packname, (int)len, name);