From: Michael Adam Date: Fri, 11 Sep 2009 12:54:30 +0000 (+0200) Subject: tevent:mksyms: allow characters after closing functions parenthesis. X-Git-Tag: talloc-2.0.1~523^2~37 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=1f1a900dd7d2a95a248805cfbbdeed47c666c4b4 tevent:mksyms: allow characters after closing functions parenthesis. Michael --- diff --git a/lib/tevent/script/mksyms.awk b/lib/tevent/script/mksyms.awk index 0d80d9f70b7..ca14da0f217 100644 --- a/lib/tevent/script/mksyms.awk +++ b/lib/tevent/script/mksyms.awk @@ -28,7 +28,7 @@ END { current_file=FILENAME } if (inheader) { - if (match($0,"[)][ \t]*[;][ \t]*$")) { + if (match($0,"[)][^()]*[;][ \t]*$")) { inheader = 0; } next; @@ -57,7 +57,7 @@ END { } } -/[_A-Za-z0-9]+[ \t]*[(].*[)][ \t]*;[ \t]*$/ { +/[_A-Za-z0-9]+[ \t]*[(].*[)][^()]*;[ \t]*$/ { sub(/[(].*$/, ""); gsub(/[^ \t]+[ \t]+/, ""); gsub(/^[*]+/, "");