diff options
author | Richard Levitte <levitte@openssl.org> | 2017-03-23 15:09:41 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-03-23 15:09:41 +0100 |
commit | 5d5835219ea84b6aa35f82791fdc585362e210d4 (patch) | |
tree | 5d56f9245d2392dc2b713772be402cdc6f3e85bc | |
parent | e8763c69745575e37988527e4025c3cd36081492 (diff) |
Fix find-doc-nits: { is significant in regexps
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3019)
-rwxr-xr-x | util/find-doc-nits | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits index 537e132cc3..cd2d32e04a 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -96,7 +96,7 @@ sub name_synopsis() } elsif ( $line =~ /typedef.* (\S+);/ ) { # a simple typedef: typedef ... NAME; $sym = $1; - } elsif ( $line =~ /enum (\S*) {/ ) { + } elsif ( $line =~ /enum (\S*) \{/ ) { # an enumeration: enum ... { $sym = $1; } elsif ( $line =~ /#define ([A-Za-z0-9_]+)/ ) { |