# New Ticket Created by  "Paul Cochrane" 
# Please include the string:  [perl #40505]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40505 >


This is because I was too fast with the "Send" button, and forgot to
attach the patch.  Apologies for the doubled-up email.

Hi,

This patch adds pmc files to the list of files to test in the
C-language coding standard tests.

Regards,

Paul

files affected:

t/codingstd/cppcomments.t
t/codingstd/tabs.t
t/codingstd/cuddled_else.t
Index: t/codingstd/cppcomments.t
===================================================================
--- t/codingstd/cppcomments.t	(revision 14877)
+++ t/codingstd/cppcomments.t	(working copy)
@@ -65,6 +65,7 @@
     return (
         map( $_->files_of_type('C code'),   $DIST->c_source_file_directories ),
         map( $_->files_of_type('C header'), $DIST->c_header_file_directories ),
+        map( $_->files_of_type('PMC code'), $DIST->pmc_source_file_directories ),
     );
 }
 
Index: t/codingstd/tabs.t
===================================================================
--- t/codingstd/tabs.t	(revision 14877)
+++ t/codingstd/tabs.t	(working copy)
@@ -59,6 +59,7 @@
     return map { $_->path } (
         map( $_->files_of_type('C code'),   $DIST->c_source_file_directories ),
         map( $_->files_of_type('C header'), $DIST->c_header_file_directories ),
+        map( $_->files_of_type('PMC code'), $DIST->pmc_source_file_directories ),
     );
 }
 
Index: t/codingstd/cuddled_else.t
===================================================================
--- t/codingstd/cuddled_else.t	(revision 14877)
+++ t/codingstd/cuddled_else.t	(working copy)
@@ -59,6 +59,7 @@
     return map { $_->path } (
         map( $_->files_of_type('C code'),   $DIST->c_source_file_directories ),
         map( $_->files_of_type('C header'), $DIST->c_header_file_directories ),
+        map( $_->files_of_type('PMC code'), $DIST->pmc_source_file_directories ),
     );
 }
 

Reply via email to