summaryrefslogtreecommitdiff
path: root/lib
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:31:29 +0200
commit400f08450b26f38a7dafd1d458542b4d9a8cb19e (patch)
treebb445ee4b957c3f7ef8cc7ba609b1a25a0289c53 /lib
parent907e05595fdcc4ef77ad627bc0f3732faa59de68 (diff)
downloadsamba-400f08450b26f38a7dafd1d458542b4d9a8cb19e.tar.gz
samba-400f08450b26f38a7dafd1d458542b4d9a8cb19e.tar.bz2
samba-400f08450b26f38a7dafd1d458542b4d9a8cb19e.zip
tdb:mksyms: allow characters after closing functions parenthesis.
Michael
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/script/mksyms.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/script/mksyms.awk b/lib/tdb/script/mksyms.awk
index 0d80d9f70b..ca14da0f21 100644
--- a/lib/tdb/script/mksyms.awk
+++ b/lib/tdb/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(/^[*]+/, "");