From 5d5835219ea84b6aa35f82791fdc585362e210d4 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 23 Mar 2017 15:09:41 +0100 Subject: Fix find-doc-nits: { is significant in regexps Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/3019) --- util/find-doc-nits | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/find-doc-nits') 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_]+)/ ) { -- cgit v1.2.3