From: schwarze Date: Fri, 7 Apr 2023 15:39:18 +0000 (+0000) Subject: Two minor tweaks that are useful for processing bio.h, among other headers: X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=35e5d770c04032f4c61ae0a55700d6d42bdd4079;p=openbsd Two minor tweaks that are useful for processing bio.h, among other headers: * ignore lines defining "__bounded__()" * ignore whitespace between "#" and "include" --- diff --git a/regress/lib/libcrypto/man/check_complete.pl b/regress/lib/libcrypto/man/check_complete.pl index 26fb5654114..af99d2dc5f7 100755 --- a/regress/lib/libcrypto/man/check_complete.pl +++ b/regress/lib/libcrypto/man/check_complete.pl @@ -217,11 +217,12 @@ try_again: if (/^\s*$/ || /^DECLARE_STACK_OF\(\w+\)$/ || /^TYPEDEF_D2I2D_OF\(\w+\);$/ || + /^#define __bounded__\(\w+, \w+, \w+\)$/ || /^#define HEADER_\w+_H$/ || /^#endif$/ || /^#else$/ || /^extern\s+const\s+ASN1_ITEM\s+\w+_it;$/ || - /^#include\s/ || + /^#\s*include\s/ || /^#ifn?def\s/ || /^#if !?defined/ || /^#undef\s+BN_LLONG$/) {