format-options.pl revision 247bf378605811d695e968dbe930a7fc45c0038e
#
*
*
# $Id: format-options.pl,v 1.5 2007/09/24 04:21:59 marka Exp $
print <<END;
END
# Break long lines
while (<>) {
chomp;
s/\t/ /g;
my $line = $_;
m!^( *)!;
my $indent = $1;
my $comment = "";
if ( $line =~ m!//.*! ) {
$comment = $&;
$line =~ s!//.*!!;
}
my $start = "";
$_ = $line;
# this makes sure that the comment has something in front of it
m!^(.{0,$len}) (.*)$!;
}
}