Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: b71e0339d45ecd5b9ba34ed077bfe2a778e173b2 https://github.com/Perl/perl5/commit/b71e0339d45ecd5b9ba34ed077bfe2a778e173b2 Author: Karl Williamson <k...@cpan.org> Date: 2023-09-17 (Sun, 17 Sep 2023)
Changed paths: M embed.fnc M locale.c M proto.h Log Message: ----------- locale.c: Change to use enum instead of int Knowing that the domain is just a few values can lead the compiler to generate better code, and to catch programmer errors. This also creates #defines for the interior of a C 'for' loop header, which I think are more readable. Commit: 8d559df47dd792a0ba9ed0b18caa2a547ab27f04 https://github.com/Perl/perl5/commit/8d559df47dd792a0ba9ed0b18caa2a547ab27f04 Author: Karl Williamson <k...@cpan.org> Date: 2023-09-17 (Sun, 17 Sep 2023) Changed paths: M locale.c Log Message: ----------- locale.c: Include the 'for' in the macro name This changes the previous commit so that instead of the interior of the 'for' header being replaced by a macro, the entire 'for (...)' is replaced. This could be squashed with the previous commit if desired. Compare: https://github.com/Perl/perl5/compare/4c5edaea3c3c...8d559df47dd7