Fix the indenter script to know about the annoying ~ in the front of log strings.

This commit is contained in:
Michael Sullivan 2012-07-05 17:13:32 -07:00
parent 038f925586
commit 23c73360ca

View File

@ -4,13 +4,13 @@ use warnings;
my $indent = 0; my $indent = 0;
while (<>) { while (<>) {
if (/^rust: ">>/) { if (/^rust: ~">>/) {
$indent += 1; $indent += 1;
} }
printf "%03d %s%s", $indent, (" " x $indent), $_; printf "%03d %s%s", $indent, (" " x $indent), $_;
if (/^rust: "<</) { if (/^rust: ~"<</) {
$indent -= 1; $indent -= 1;
} }
} }