diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2023-04-07 15:39:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2023-04-07 15:39:19 +0000 |
commit | 9394d72c02d7d00aeeaa838e9ab4f05ed0be4330 (patch) | |
tree | e5f6c2ba9d316dc489ad3320c651c24c2695b80e /regress | |
parent | 601df84f9fba68f0a4f99202d493e683bfa54e5d (diff) |
Two minor tweaks that are useful for processing bio.h, among other headers:
* ignore lines defining "__bounded__()"
* ignore whitespace between "#" and "include"
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/lib/libcrypto/man/check_complete.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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$/) { |