Skip to content

Commit 23c7336

Browse files
committed
Fix the indenter script to know about the annoying ~ in the front of log strings.
1 parent 038f925 commit 23c7336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etc/indenter

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ use warnings;
44

55
my $indent = 0;
66
while (<>) {
7-
if (/^rust: ">>/) {
7+
if (/^rust: ~">>/) {
88
$indent += 1;
99
}
1010

1111
printf "%03d %s%s", $indent, (" " x $indent), $_;
1212

13-
if (/^rust: "<</) {
13+
if (/^rust: ~"<</) {
1414
$indent -= 1;
1515
}
1616
}

0 commit comments

Comments
 (0)