mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
Michael
This commit is contained in:
parent
13bfcd5a93
commit
25939a627f
@ -160,6 +160,7 @@ while (my $LINE = <>) {
|
||||
$LINE =~ s/(.*?)\s*$/$1/;
|
||||
|
||||
$LINE =~ s/^(.*\))\s+PRINTF_ATTRIBUTE\(.*\);$/$1;/;
|
||||
$LINE =~ s/^(.*\))\s*[a-zA-Z0-9_]+\s*;$/$1;/;
|
||||
|
||||
# remove parameter names - slightly too coarse probably
|
||||
$LINE =~ s/([\s\(]\*?)[_0-9a-zA-Z]+\s*([,\)])/$1$2/g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user