[svn:parrot] r48887 - trunk/tools/dev

Paul at osuosl.org Paul at osuosl.org
Thu Sep 9 19:09:27 UTC 2010


Author: Paul C. Anagnostopoulos
Date: Thu Sep  9 19:09:26 2010
New Revision: 48887
URL: https://trac.parrot.org/parrot/changeset/48887

Log:
fix headerizer to correctly skip src/ops/ files

Modified:
   trunk/tools/dev/headerizer.pl

Modified: trunk/tools/dev/headerizer.pl
==============================================================================
--- trunk/tools/dev/headerizer.pl	Thu Sep  9 18:56:51 2010	(r48886)
+++ trunk/tools/dev/headerizer.pl	Thu Sep  9 19:09:26 2010	(r48887)
@@ -329,7 +329,13 @@
 
     # Walk the object files and find corresponding source (either .c or .pmc)
     for my $ofile (@ofiles) {
-        next if $ofile =~ m/^\Qsrc$PConfig{slash}ops\E/;
+
+        # Skip files in the src/ops/ subdirectory. Make sure to
+        # match the local directory separator character along with
+        # the usual slash.
+            
+        next if $ofile =~ m/^\Qsrc$PConfig{slash}ops\E/ ||
+                $ofile =~ m/^src\/ops/;
 
         $ofile =~ s/\\/\//g;
 


More information about the parrot-commits mailing list