Diff for /basic/src/compact-css between versions 1.1 and 1.2

version 1.1, 2009/08/26 02:17:36 version 1.2, 2009/09/02 20:20:33
Line 5  open(FILE, '<', $ARGV[0]) or die $!; Line 5  open(FILE, '<', $ARGV[0]) or die $!;
 undef $/;  undef $/;
 $file = <FILE>;  $file = <FILE>;
 $file =~ s%/\*(?:[^*]|\*(?!/))*\*/|('(?:\.|[^\\'])*')|("(?:\.|[^\\"])*")%$+%sg; # strip out c-style comments  $file =~ s%/\*(?:[^*]|\*(?!/))*\*/|('(?:\.|[^\\'])*')|("(?:\.|[^\\"])*")%$+%sg; # strip out c-style comments
   $file =~ s/\s+/ /sg; # not string friendly, but we don't care
   $file =~ s/ ?([{}=:,+;]) ?/$1/g;
 close(FILE);  close(FILE);
 open(FILE, '>', $ARGV[0]) or die $!;  open(FILE, '>', $ARGV[0]) or die $!;
 print FILE $file;  print FILE $file;

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>