mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'tor-github/pr/1116'
This commit is contained in:
@@ -125,8 +125,8 @@ class AutomakeChunk:
|
||||
Y \
|
||||
Z
|
||||
"""
|
||||
self.prespace = "\t"
|
||||
self.postspace = "\t\t"
|
||||
prespace = "\t"
|
||||
postspace = "\t\t"
|
||||
for lineno, line in enumerate(self.lines):
|
||||
m = re.match(r'(\s+)(\S+)(\s+)\\', line)
|
||||
if not m:
|
||||
@@ -135,7 +135,7 @@ class AutomakeChunk:
|
||||
if fname > member:
|
||||
self.insert_before(lineno, member, prespace, postspace)
|
||||
return
|
||||
self.insert_at_end(member)
|
||||
self.insert_at_end(member, prespace, postspace)
|
||||
|
||||
def insert_before(self, lineno, member, prespace, postspace):
|
||||
self.lines.insert(lineno,
|
||||
|
||||
@@ -177,7 +177,7 @@ for my $fn (@ARGV) {
|
||||
$1 ne "elsif" and $1 ne "WINAPI" and $2 ne "WINAPI" and
|
||||
$1 ne "void" and $1 ne "__attribute__" and $1 ne "op" and
|
||||
$1 ne "size_t" and $1 ne "double" and $1 ne "uint64_t" and
|
||||
$1 ne "workqueue_reply_t") {
|
||||
$1 ne "workqueue_reply_t" and $1 ne "bool") {
|
||||
msg " fn ():$fn:$.\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user