summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-21 18:49:30 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-21 18:49:30 +0200
commit52c7cfc6e06c42a48cd4507f42b070df9a5c26ed (patch)
tree260896d6c3b2bafcbc5c9e89dc8d0d897309f4c1 /doc
parent6b092a018d2e979d51faef49784afb1164c89621 (diff)
downloadgnutls-52c7cfc6e06c42a48cd4507f42b070df9a5c26ed.tar.gz
handle more complex enums
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/scripts/gdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc
index ac5dea452a..61b870dce1 100755
--- a/doc/scripts/gdoc
+++ b/doc/scripts/gdoc
@@ -857,7 +857,7 @@ sub dump_function {
sub dump_enum {
my $prototype = shift @_;
- if (($prototype =~ m/^\s*typedef\s+enum\s*[a-zA-Z0-9_~:]*\s*\{([a-zA-Z0-9_~=,:\s]+)\s*\}\s*([a-zA-Z0-9_]+);.*/)) {
+ if (($prototype =~ m/^\s*typedef\s+enum\s*[a-zA-Z0-9_~:]*\s*\{([a-zA-Z0-9_~=,:\s\(\)\<]+)\s*\}\s*([a-zA-Z0-9_]+);.*/)) {
# || $prototype =~ m/^\s*enum\s+([a-zA-Z0-9_~:]+).*/) {
$args = $1;
$name = $2;