diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-04-19 14:53:36 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-04-19 14:53:36 +0000 |
commit | b0c482e323c9b6fa5590fdfb97e98a5b7645a046 (patch) | |
tree | c0ca979c12b8716b05f37869227cbf88f2029bca /gv.c | |
parent | 14f97ce6b1baa27085a0b448ebaba39310e8ed92 (diff) | |
download | perl-b0c482e323c9b6fa5590fdfb97e98a5b7645a046.tar.gz |
Put the "Can't locate package..." warnings in the "syntax"
category, as documented
p4raw-id: //depot/perl@30982
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -416,8 +416,8 @@ Perl_gv_fetchmeth(pTHX_ HV *stash, const char *name, STRLEN len, I32 level) yet we still need to issue this warning when appropriate. */ if (!cstash || (HvMROMETA(cstash)->fake && !HvFILL(cstash))) { - if (ckWARN(WARN_MISC)) - Perl_warner(aTHX_ packWARN(WARN_MISC), "Can't locate package %"SVf" for @%s::ISA", + if (ckWARN(WARN_SYNTAX)) + Perl_warner(aTHX_ packWARN(WARN_SYNTAX), "Can't locate package %"SVf" for @%s::ISA", SVfARG(linear_sv), hvname); continue; } |