1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

tevent:mksyms: allow characters after closing functions parenthesis.

Michael
This commit is contained in:
Michael Adam 2009-09-11 14:54:30 +02:00
parent 095a11226e
commit 1f1a900dd7

View File

@ -28,7 +28,7 @@ END {
current_file=FILENAME current_file=FILENAME
} }
if (inheader) { if (inheader) {
if (match($0,"[)][ \t]*[;][ \t]*$")) { if (match($0,"[)][^()]*[;][ \t]*$")) {
inheader = 0; inheader = 0;
} }
next; next;
@ -57,7 +57,7 @@ END {
} }
} }
/[_A-Za-z0-9]+[ \t]*[(].*[)][ \t]*;[ \t]*$/ { /[_A-Za-z0-9]+[ \t]*[(].*[)][^()]*;[ \t]*$/ {
sub(/[(].*$/, ""); sub(/[(].*$/, "");
gsub(/[^ \t]+[ \t]+/, ""); gsub(/[^ \t]+[ \t]+/, "");
gsub(/^[*]+/, ""); gsub(/^[*]+/, "");