From 9741cb7638d4da777aa7dfa0eb7618b26795a657 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 11 Sep 2009 14:54:30 +0200 Subject: talloc:mksyms: allow characters after closing functions parenthesis. Michael --- source3/script/mksyms.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/script/mksyms.awk b/source3/script/mksyms.awk index ab28d5a51c..94a405ca68 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(/^[*]+/, ""); -- cgit