summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-27 14:52:21 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-28 22:58:52 -0800
commitdcbac5bbcda3f6b893eade5bc95878a443cbe563 (patch)
tree8e69379c182533f93148eb4a6dc7ed69d197cdb1 /regexec.c
parent6ad282c70d80576d5d66b25af19780fde18afd42 (diff)
downloadperl-dcbac5bbcda3f6b893eade5bc95878a443cbe563.tar.gz
diag_listed_as galore
In two instances, I actually modified to code to avoid %s for a constant string, as it should be faster that way.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/regexec.c b/regexec.c
index ced20bde35..44d7b96789 100644
--- a/regexec.c
+++ b/regexec.c
@@ -4843,8 +4843,9 @@ NULL
&& !(PL_reg_flags & RF_warned))
{
PL_reg_flags |= RF_warned;
- Perl_warner(aTHX_ packWARN(WARN_REGEXP), "%s limit (%d) exceeded",
- "Complex regular subexpression recursion",
+ Perl_warner(aTHX_ packWARN(WARN_REGEXP),
+ "Complex regular subexpression recursion limit (%d) "
+ "exceeded",
REG_INFTY - 1);
}
@@ -4867,8 +4868,8 @@ NULL
{
PL_reg_flags |= RF_warned;
Perl_warner(aTHX_ packWARN(WARN_REGEXP),
- "%s limit (%d) exceeded",
- "Complex regular subexpression recursion",
+ "Complex regular subexpression recursion "
+ "limit (%d) exceeded",
REG_INFTY - 1);
}
cur_curlyx->u.curlyx.count--;