summaryrefslogtreecommitdiff
path: root/mro.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 /mro.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 'mro.c')
-rw-r--r--mro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mro.c b/mro.c
index 61dbad3af9..b6c4db8ea5 100644
--- a/mro.c
+++ b/mro.c
@@ -651,8 +651,8 @@ __nextcan(pTHX_ SV* self, I32 throw_nomethod)
curstash = gv_stashsv(linear_sv, FALSE);
if (!curstash || (HvMROMETA(curstash)->fake && !HvFILL(curstash))) {
- 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",
(void*)linear_sv, hvname);
continue;
}