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:31:26 +0200
commit1f1a900dd7d2a95a248805cfbbdeed47c666c4b4 (patch)
tree467347c8e37696280468a7d39649e95c22b2b7ab
parent095a11226ea1b23609e62ad803ff6b65cb113405 (diff)
downloadsamba-1f1a900dd7d2a95a248805cfbbdeed47c666c4b4.tar.gz
samba-1f1a900dd7d2a95a248805cfbbdeed47c666c4b4.tar.bz2
samba-1f1a900dd7d2a95a248805cfbbdeed47c666c4b4.zip
tevent:mksyms: allow characters after closing functions parenthesis.
Michael
-rw-r--r--lib/tevent/script/mksyms.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/script/mksyms.awk b/lib/tevent/script/mksyms.awk
index 0d80d9f70b..ca14da0f21 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(/^[*]+/, "");