summaryrefslogtreecommitdiff
path: root/universal.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 /universal.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 'universal.c')
-rw-r--r--universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c
index d4aa97e65c..172b3d0f8a 100644
--- a/universal.c
+++ b/universal.c
@@ -63,7 +63,7 @@ S_isa_lookup(pTHX_ HV *stash, const char *name, const HV* const name_stash,
SV* const basename_sv = *svp++;
HV* basestash = gv_stashsv(basename_sv, 0);
if (!basestash) {
- if (ckWARN(WARN_MISC))
+ if (ckWARN(WARN_SYNTAX))
Perl_warner(aTHX_ packWARN(WARN_SYNTAX),
"Can't locate package %"SVf" for the parents of %s",
SVfARG(basename_sv), hvname);