diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-27 14:52:21 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-28 22:58:52 -0800 |
commit | dcbac5bbcda3f6b893eade5bc95878a443cbe563 (patch) | |
tree | 8e69379c182533f93148eb4a6dc7ed69d197cdb1 /regexec.c | |
parent | 6ad282c70d80576d5d66b25af19780fde18afd42 (diff) | |
download | perl-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.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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--; |