summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 14:54:30 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:39:53 +0200
commit9741cb7638d4da777aa7dfa0eb7618b26795a657 (patch)
treecf2238fefb830b89594b69098612bc2e57c7b7b4
parentee1fe382d662998370e66d08bcebbc153fca7b5a (diff)
downloadsamba-9741cb7638d4da777aa7dfa0eb7618b26795a657.tar.gz
samba-9741cb7638d4da777aa7dfa0eb7618b26795a657.tar.bz2
samba-9741cb7638d4da777aa7dfa0eb7618b26795a657.zip
talloc:mksyms: allow characters after closing functions parenthesis.
Michael
-rw-r--r--source3/script/mksyms.awk4
1 files 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(/^[*]+/, "");