Change an "Internal error" message to the more common "panic"
Rafael Garcia-Suarez [Thu, 19 Apr 2007 14:50:11 +0000 (14:50 +0000)]
in the C3 MRO code

p4raw-id: //depot/perl@30981

mro.c

diff --git a/mro.c b/mro.c
index 87b5cb2..61dbad3 100644 (file)
--- a/mro.c
+++ b/mro.c
@@ -334,7 +334,7 @@ Perl_mro_get_linear_isa(pTHX_ HV *stash)
     } else if(meta->mro_which == MRO_C3) {
         return mro_get_linear_isa_c3(stash, 0);
     } else {
-        Perl_croak(aTHX_ "Internal error: invalid MRO!");
+        Perl_croak(aTHX_ "panic: invalid MRO!");
     }
 }