From 5d5835219ea84b6aa35f82791fdc585362e210d4 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 23 Mar 2017 15:09:41 +0100 Subject: [PATCH] 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(-) 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_]+)/ ) { -- 2.25.1