develooper Front page | perl.perl5.porters | Postings from January 2014

Concerning commit 4c2e59a0 (perldiag.pod: Correct some categories)

Thread Next
From:
Father Chrysostomos
Date:
January 5, 2014 01:13
Subject:
Concerning commit 4c2e59a0 (perldiag.pod: Correct some categories)
Message ID:
20140105011319.21481.qmail@lists-nntp.develooper.com
Karl Williamson committed:
> commit 4c2e59a08d6dafdbcf19a27a1f495e6cbf668d82
> Author: Karl Williamson <public@khwilliamson.com>
> Date:   Fri Jan 3 08:00:32 2014 -0700
> 
>     perldiag.pod: Correct some categories
>     
>     The warning categories were wrong in a few places here. diag.t had them
>     as to ignore.  By correcting them in the pod, they can be removed from
>     the ignore list.
>     
>     This commit additionally adds text for a few messages that can be either
>     fatal or just warnings.
> 
> diff --git a/pod/perldiag.pod b/pod/perldiag.pod
> index b918573..f847a75 100644
> --- a/pod/perldiag.pod
> +++ b/pod/perldiag.pod
> @@ -1946,7 +1946,8 @@ queue of such routines has been prematurely ended.
>  
>  =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/
>  
> -(W regexp)(F) A character class range must start and end at a literal
> +(W regexp) (fatal within S<C<(?[   ])>>)
> +A character class range must start and end at a literal

This breaks the existing convention of using (F) for all fatal errors.
If you don't mind, I will go ahead and patch it, adding a sentence to
the main paragraph explaining when it is fatal.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About