Fix find-doc-nits: { is significant in regexps
@@ -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_]+)/ ) {
