util/find-doc-nits: allow #undef
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7724)
This commit is contained in:
parent
478d4f912c
commit
0695b19342
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ sub name_synopsis()
|
||||||
} elsif ( $line =~ /enum (\S*) \{/ ) {
|
} elsif ( $line =~ /enum (\S*) \{/ ) {
|
||||||
# an enumeration: enum ... {
|
# an enumeration: enum ... {
|
||||||
$sym = $1;
|
$sym = $1;
|
||||||
} elsif ( $line =~ /#define ([A-Za-z0-9_]+)/ ) {
|
} elsif ( $line =~ /#(?:define|undef) ([A-Za-z0-9_]+)/ ) {
|
||||||
$sym = $1;
|
$sym = $1;
|
||||||
} elsif ( $line =~ /([A-Za-z0-9_]+)\(/ ) {
|
} elsif ( $line =~ /([A-Za-z0-9_]+)\(/ ) {
|
||||||
$sym = $1;
|
$sym = $1;
|
||||||
|
|
Loading…
Reference in a new issue