Branch: refs/heads/yves/curly_i32
Home: https://github.com/Perl/perl5
Commit: dabf343bcb1f90e736424398f62e705dec03b5cc
https://github.com/Perl/perl5/commit/dabf343bcb1f90e736424398f62e705dec03b5cc
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.