diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-17 20:07:54 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-09-17 20:07:54 +0200 |
commit | f1ead0f60c33b14831f330b0cc8692e38315f6ed (patch) | |
tree | 55df16eed1031b7e3e754e26aefe7d60b4e781eb /doc/scripts | |
parent | fdc5ee28a5e7c4f4d55ac99a8371ca529482c164 (diff) | |
download | gnutls-f1ead0f60c33b14831f330b0cc8692e38315f6ed.tar.gz |
Allow negatives in enumerations.
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 61b870dce1..953cd574aa 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; |