summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-19 14:53:36 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-19 14:53:36 +0000
commitb0c482e323c9b6fa5590fdfb97e98a5b7645a046 (patch)
treec0ca979c12b8716b05f37869227cbf88f2029bca /gv.c
parent14f97ce6b1baa27085a0b448ebaba39310e8ed92 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gv.c b/gv.c
index 53b25b6615..fc61e8cd8b 100644
--- a/gv.c
+++ b/gv.c
@@ -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;
}