util/find-doc-nits: relax some SYNOPSIS checks
authorRichard Levitte <levitte@openssl.org>
Wed, 15 Jul 2020 06:42:18 +0000 (08:42 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 19 Jul 2020 16:45:30 +0000 (18:45 +0200)
commit93e32043cbf75d0802bca9782e61a241acb1ec2d
tree0e657a536f4855844295ad4a8c88e4f809ac703e
parentd3cb5904f3ca62f23c95248f951477d322159bbb
util/find-doc-nits: relax some SYNOPSIS checks

-   The check that disallowed space before the argument list in a
    function typedef is tentatively removed, allowing this kind of
    construction:

    typedef int (fantastically_long_name_breaks_80char_limit)
        (fantastically_long_name_breaks_80char_limit *something);

-   Accept the following style of function signature:

    typedef TYPE (NAME)(args...)

-   Accept space between '#' and 'defined' / 'undef'

-   Accept other spaces than SPC in argument list comma check,
    allowing declaration with line breaks.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12452)
util/find-doc-nits