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 /mro.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 'mro.c')
-rw-r--r-- | mro.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |