debug build tweak
Gurusamy Sarathy [Mon, 2 Aug 1999 06:55:51 +0000 (06:55 +0000)]
p4raw-id: //depot/perl@3868

regexec.c

index 9a7e91b..6be77cc 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -377,7 +377,7 @@ Perl_re_intuit_start(pTHX_ regexp *prog, SV *sv, char *strpos,
 
 #ifdef DEBUGGING       /* 7/99: reports of failure (with the older version) */
     if (end_shift < 0)
-       croak("panic: end_shift");
+       Perl_croak(aTHX_ "panic: end_shift");
 #endif
 
     check = prog->check_substr;