Fix the indenter script to know about the annoying ~ in the front of log strings.
This commit is contained in:
parent
038f925586
commit
23c73360ca
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user