develooper Front page | perl.perl5.changes | Postings from September 2019

[perl.git] branch smoke-me/khw-lexact updated.v5.31.4-39-gdfbb2e8bd3

From:
Karl Williamson
Date:
September 26, 2019 15:12
Subject:
[perl.git] branch smoke-me/khw-lexact updated.v5.31.4-39-gdfbb2e8bd3
Message ID:
E1iDVR0-0004eE-HE@git.dc.perl.space
In perl.git, the branch smoke-me/khw-lexact has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/dfbb2e8bd301f4394c7c299908fd104fc53d26d7?hp=e72caa651f0f75647c6a3e4af9b1eebb3c57ebed>

- Log -----------------------------------------------------------------
commit dfbb2e8bd301f4394c7c299908fd104fc53d26d7
Author: Karl Williamson <khw@cpan.org>
Date:   Thu Sep 26 09:11:50 2019 -0600

    f

-----------------------------------------------------------------------

Summary of changes:
 regcomp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/regcomp.c b/regcomp.c
index 4870223500..dc32f2d071 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -14652,7 +14652,6 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
                 }
             }
             else {
-                assert(FOLD);
 
                 /* Here is /i.  Running out of room creates a problem if we are
                  * folding, and the split happens in the middle of a
@@ -14688,6 +14687,8 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
                 STRLEN fold_len;
                 UV folded;
 
+                assert(FOLD);
+
                 /* The Unicode standard says that multi character folds consist
                  * of either two or three characters.  So we create a buffer
                  * containing a window of three.  The first is the final

-- 
Perl5 Master Repository



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About