syborg_stem/buildrom.pm
changeset 3 df09f0d786ec
parent 1 aa7fc13e36fb
child 7 58366ddcbc93
--- a/syborg_stem/buildrom.pm	Thu Oct 07 21:53:03 2010 +0100
+++ b/syborg_stem/buildrom.pm	Fri Oct 08 17:25:30 2010 +0100
@@ -1735,6 +1735,9 @@
 		print DUMPFILE $line;
 	}
 	close DUMPFILE;
+	open SLY_COPY, ">xxx_$dumpfile";
+	print SLY_COPY @obydata;
+	close SLY_COPY;
 }
 
 sub track_source
@@ -2070,7 +2073,7 @@
 			# push this line into the currently selected partition
 			my $partition=@currentpartition[-1];
 			push @$partition, $modifiedLine;
-			$line="REM handled $line";
+			next; 
 		}
 		elsif ($line =~ /^\s*SPI_POSITION/i)
 		{
@@ -2217,6 +2220,7 @@
 		      $errors++ if ($strict);
 		    }
 
+		    push @newobydata, "REM expanded $line";
 		    if ($spidatahide)
 		    {
 			push @newobydata, "hide=$fileRomDir\\$pluginFileName\n";