summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-02-20 05:30:54 +0100
committerYves Orton <demerphq@gmail.com>2023-02-20 16:16:14 +0800
commit0a73ee9e231197058947bf0a854703757dc357ac (patch)
tree911c2d75f1915ab242731a5b7127c4bafc5623b6 /perl.h
parent248b96b9665b816ea8d1c3415b674dabccf7190b (diff)
downloadperl-0a73ee9e231197058947bf0a854703757dc357ac.tar.gz
perldelta.pod - document $SIG{__DIE__} and compile error count bugfixes
We have fixed bugs related to $SIG{__DIE__} being inconsistently triggered during eval, and we have fixed bugs with compilation inconsistently stopping after 10 errors. This patch also includes a micro-tweak to perl.h to allow the threshold to be sanely overriden in Configure.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 4ad758265a..11e13be84c 100644
--- a/perl.h
+++ b/perl.h
@@ -9092,7 +9092,9 @@ END_EXTERN_C
#define PERL_DIAG_WARN_SYNTAX(x) PERL_DIAG_STR_(x)
#define PERL_DIAG_DIE_SYNTAX(x) PERL_DIAG_STR_(x)
+#ifndef PERL_STOP_PARSING_AFTER_N_ERRORS
#define PERL_STOP_PARSING_AFTER_N_ERRORS 10
+#endif
#define PERL_PARSE_ERROR_COUNT(f) (f)