Branch: refs/heads/yves/curly_i32
Home: https://github.com/Perl/perl5
Commit: 140d1359367316de4b8c92bd26834b56bf5ad796
https://github.com/Perl/perl5/commit/140d1359367316de4b8c92bd26834b56bf5ad796
Author: Yves Orton <[email protected]>
Date: 2023-01-15 (Sun, 15 Jan 2023)
Changed paths:
M regcomp.c
M regcomp.h
M regcomp_internal.h
M t/re/pat.t
M t/re/reg_mesg.t
Log Message:
-----------
regcomp.c - increase size of CURLY nodes so the min/max is a I32
This allows us to resolve a test inconsistency between CURLYX and CURLY
and CURLYM, which have different maximums. We use I32 and not U32 because
the existing count logic uses -1 internally and using an I32 for the min/max
prevents warnings about comparing signed and unsigned values when the
count is compared against the min or max.