perldiag: Tweak ‘'%c' allowed only after types’
authorFather Chrysostomos <sprout@cpan.org>
Sun, 9 Jun 2013 21:37:50 +0000 (14:37 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 9 Jun 2013 21:37:50 +0000 (14:37 -0700)
by adding ‘in %s’ to the end.  Though strictly unnecessary, having
more of the unvarying parts of the string displayed in perldiag is
generally a good thing, and this also appeases diag.t.  (The former is
my main reason for the change, the latter incidental.)

pod/perldiag.pod
t/porting/diag.t

index a228d23..a0893d8 100644 (file)
@@ -54,7 +54,7 @@ L<perlfunc/accept>.
 
 (X) You can't allocate more than 64K on an MS-DOS machine.
 
-=item '%c' allowed only after types %s
+=item '%c' allowed only after types %s in %s
 
 (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only
 after certain types.  See L<perlfunc/pack>.
index 104c195..ebf9b48 100644 (file)
@@ -457,7 +457,6 @@ sub check_message {
 __DATA__
 Malformed UTF-8 character (unexpected non-continuation byte 0x%x, immediately after start byte 0x%x)
 
-'%c' allowed only after types %s in %s
 bad top format reference
 Cannot apply "%s" in non-PerlIO perl
 Can't %s big-endian %ss on this