This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make diagnostics.pm understand messages sharing descriptions
authorFather Chrysostomos <sprout@cpan.org>
Sun, 13 Feb 2011 07:30:13 +0000 (23:30 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 13 Feb 2011 07:49:21 +0000 (23:49 -0800)
commitf4739a71a55f13abd9474496c261e7e801ff8d46
treefc0565db394e4c281a1d1cd7977a33fc14ea5fc5
parent2fe2bdfdc021075e8d79fba5050f89faea5f656c
Make diagnostics.pm understand messages sharing descriptions

We currently have entries in perldiag like this:

=item Code point 0x%X is not Unicode, may not be portable

=item Code point 0x%X is not Unicode, no properties match it; all inverse properties do

(W utf8) You had a code point above the Unicode maximum of U+10FFFF.

...

diagnostics.pm needs to know that the description applies to the first
=item, as well as to the second.
lib/diagnostics.pm
lib/diagnostics.t