From ff674b8d35d80103bae5606a8ee7381f0ce148ab Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Fri, 7 Apr 2023 15:39:18 +0000 Subject: Two minor tweaks that are useful for processing bio.h, among other headers: * ignore lines defining "__bounded__()" * ignore whitespace between "#" and "include" --- src/regress/lib/libcrypto/man/check_complete.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/regress/lib/libcrypto/man/check_complete.pl b/src/regress/lib/libcrypto/man/check_complete.pl index 26fb565411..af99d2dc5f 100755 --- a/src/regress/lib/libcrypto/man/check_complete.pl +++ b/src/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$/) { -- cgit v1.2.3-55-g6feb