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

coke at svn.parrot.org coke at svn.parrot.org
Thu Sep 9 23:57:40 UTC 2010


Author: coke
Date: Thu Sep  9 23:57:39 2010
New Revision: 48893
URL: https://trac.parrot.org/parrot/changeset/48893

Log:
add a little more explanation about why we need this both ways. minor code change.

Modified:
   trunk/tools/dev/headerizer.pl

Modified: trunk/tools/dev/headerizer.pl
==============================================================================
--- trunk/tools/dev/headerizer.pl	Thu Sep  9 21:50:59 2010	(r48892)
+++ trunk/tools/dev/headerizer.pl	Thu Sep  9 23:57:39 2010	(r48893)
@@ -330,12 +330,10 @@
     # Walk the object files and find corresponding source (either .c or .pmc)
     for my $ofile (@ofiles) {
 
-        # Skip files in the src/ops/ subdirectory. Make sure to
-        # match the local directory separator character along with
-        # the usual slash.
+        # Skip files in the src/ops/ subdirectory. 
             
-        next if $ofile =~ m/^\Qsrc$PConfig{slash}ops\E/ ||
-                $ofile =~ m/^src\/ops/;
+        next if $ofile =~ m/^\Qsrc$PConfig{slash}ops\E/ || # if run by hand...
+                $ofile =~ m{^src/ops};                     # ... or by makefile
 
         $ofile =~ s/\\/\//g;
 


More information about the parrot-commits mailing list