mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
checkSpace.pl: allow {{, ){, and ({.
This commit is contained in:
parent
f1d371bf32
commit
15819cde61
@ -156,9 +156,8 @@ for my $fn (@ARGV) {
|
||||
# msg "//:$fn:$.\n";
|
||||
s!//.*!!;
|
||||
}
|
||||
## Warn about unquoted braces preceded by non-space.
|
||||
# (No character except a space should come before a {)
|
||||
if (/([^\s'])\{/) {
|
||||
## Warn about unquoted braces preceded by unexpected character.
|
||||
if (/([^\s'\)\(\{])\{/) {
|
||||
msg "$1\{:$fn:$.\n";
|
||||
}
|
||||
## Warn about double semi-colons at the end of a line.
|
||||
|
Loading…
Reference in New Issue
Block a user