On Tue, Jul 03, 2012 at 03:42:33PM +0200, Oliver Schwahn wrote:
> >Please, could you try the attached patch (completely untested) and tell me 
> >if it
> >works?
> 
> Hm... I cannot find the patch. Maybe you forgot to attach it?

My mistake, here it is.
-- 
Gabriel
diff --git a/lib/Cilly.pm.in b/lib/Cilly.pm.in
index a119f49..7c7a87b 100644
--- a/lib/Cilly.pm.in
+++ b/lib/Cilly.pm.in
@@ -693,7 +693,7 @@ sub compile {
     open(OUT, ">$outfile") || die "Cannot create $outfile";
     my $toprintsrc = $srcname; 
     $toprintsrc =~ s|\\|/|g;
-    print OUT "#pragma merger($mtime,\"$toprintsrc\",\"" . 
+    print OUT "#pragma merger(\"$mtime\",\"$toprintsrc\",\"" .
               join(',', @{$ccargs}), "\")\n";
     open(IN, '<', $srcname) || die "Cannot read $srcname";
     while(<IN>) {
@@ -840,7 +840,7 @@ sub separateTrueObjects {
         if($fstline =~ m|CIL|) {
             goto ToMerge;
         } 
-        if($fstline =~ m|^\#pragma merger\((\d+),\".*\",\"(.*)\"\)$|) {
+        if($fstline =~ m|^\#pragma merger\(\"(\d+)\",\".*\",\"(.*)\"\)$|) {
             my $mymtime = $1;
             # Get the CC flags
             my @thisccargs = split(/,/, $2);
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to