From: Michael Adam Date: Fri, 11 Sep 2009 12:54:30 +0000 (+0200) Subject: talloc:mksyms: allow characters after closing functions parenthesis. X-Git-Tag: talloc-2.0.1~523^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9741cb7638d4da777aa7dfa0eb7618b26795a657;p=thirdparty%2Fsamba.git talloc:mksyms: allow characters after closing functions parenthesis. Michael --- diff --git a/source3/script/mksyms.awk b/source3/script/mksyms.awk index ab28d5a51cf..94a405ca689 100644 --- a/source3/script/mksyms.awk +++ b/source3/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(/^[*]+/, "");