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
1 changed files with 2 additions and 2 deletions

View File

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