Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 8038d05097cbe358d957e77fa7fb1c96cdf0a900 https://github.com/Perl/perl5/commit/8038d05097cbe358d957e77fa7fb1c96cdf0a900 Author: Karl Williamson <k...@cpan.org> Date: 2024-09-02 (Mon, 02 Sep 2024)
Changed paths: M op.c Log Message: ----------- op.c: Improve invmap_dump output An inversion map is a basic data structure for handling Unicode. Currently the only place where it is output from C is in op.c. This code had problems with keeping columns vertically aligned. This commit fixes that, and makes the output look more generally harmonious Here's an example before this commit: [0] 0x0000 .. 0x0060 TR_UNLISTED [1] 0x0061 .. 0x007A 0x0061 [2] 0x007B .. 0x007F TR_UNLISTED [3] 0x0080 .. 0x07FF TR_UNLISTED [4] 0x0800 .. 0xFFFF TR_UNLISTED [5] 0x10000 .. 0x1FFFFF TR_UNLISTED [6] 0x200000 .. 0x3FFFFFF TR_UNLISTED [7] 0x4000000 .. 0x7FFFFFFF TR_UNLISTED [8] 0x80000000 .. 0xFFFFFFFFF TR_UNLISTED [9] 0x1000000000 .. INFTY TR_UNLISTED and after: [0] 0 .. 0x60 TR_UNLISTED [1] 0x61 .. 0x7A 0x61 [2] 0x7B .. 0x7F TR_UNLISTED [3] 0x80 .. 0x7FF TR_UNLISTED [4] 0x800 .. 0xFFFF TR_UNLISTED [5] 0x10000 .. 0x1FFFFF TR_UNLISTED [6] 0x200000 .. 0x3FFFFFF TR_UNLISTED [7] 0x4000000 .. 0x7FFFFFFF TR_UNLISTED [8] 0x80000000 .. 0xFFFFFFFFF TR_UNLISTED [9] 0x1000000000 .. INFINITY TR_UNLISTED To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications