diff options
author | Michael Adam <obnox@samba.org> | 2009-09-11 14:54:30 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-11 15:31:32 +0200 |
commit | e60c775835e45cc912660ec253521a9d7f07874c (patch) | |
tree | da329062076b80269d3beebcb1c93a0ce6445bbd | |
parent | fd554799817d9676708d09aa0d71f44195f1d82e (diff) | |
download | samba-e60c775835e45cc912660ec253521a9d7f07874c.tar.gz samba-e60c775835e45cc912660ec253521a9d7f07874c.tar.bz2 samba-e60c775835e45cc912660ec253521a9d7f07874c.zip |
talloc:mksyms: allow characters after closing functions parenthesis.
Michael
-rw-r--r-- | lib/talloc/script/mksyms.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/talloc/script/mksyms.awk b/lib/talloc/script/mksyms.awk index 0d80d9f70b..ca14da0f21 100644 --- a/lib/talloc/script/mksyms.awk +++ b/lib/talloc/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(/^[*]+/, ""); |