diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-07-21 18:49:30 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-07-21 18:49:30 +0200 |
commit | 52c7cfc6e06c42a48cd4507f42b070df9a5c26ed (patch) | |
tree | 260896d6c3b2bafcbc5c9e89dc8d0d897309f4c1 /doc/scripts | |
parent | 6b092a018d2e979d51faef49784afb1164c89621 (diff) | |
download | gnutls-52c7cfc6e06c42a48cd4507f42b070df9a5c26ed.tar.gz |
handle more complex enums
Diffstat (limited to 'doc/scripts')
-rwxr-xr-x | doc/scripts/gdoc | 2 |
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; |