diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-12-30 22:44:06 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-12-30 22:44:06 +0000 |
commit | 67eb4d3079ea11b2f1cbc84fe9afb351bc67715a (patch) | |
tree | 0b2f7a053580cfdf7077b899b7a0623ac4eddbd7 /perl.h | |
parent | 23579a14417118b3085c688fa8e8359c0d0a93ba (diff) | |
download | perl-67eb4d3079ea11b2f1cbc84fe9afb351bc67715a.tar.gz |
Marcus Holland-Moritz suggested that assert should
Perl_croak_nocontext rather than Perl_croak.
p4raw-id: //depot/perl@26545
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3502,7 +3502,7 @@ Gid_t getegid (void); #ifndef assert /* <assert.h> might have been included somehow */ #define assert(what) PERL_DEB( \ ((what) ? ((void) 0) : \ - (Perl_croak(aTHX_ "Assertion %s failed: file \"" __FILE__ \ + (Perl_croak_nocontext("Assertion %s failed: file \"" __FILE__ \ "\", line %d", STRINGIFY(what), __LINE__), \ PerlProc_exit(1), \ (void) 0))) |