diff options
author | schwarze <> | 2023-04-07 15:39:18 +0000 |
---|---|---|
committer | schwarze <> | 2023-04-07 15:39:18 +0000 |
commit | ff674b8d35d80103bae5606a8ee7381f0ce148ab (patch) | |
tree | c581293d0d6c442fa473ef6ed0b6a11f2d6d8bce | |
parent | dca604d075fc5dbb06d244a307a4582f5a9ef9bd (diff) | |
download | openbsd-ff674b8d35d80103bae5606a8ee7381f0ce148ab.tar.gz openbsd-ff674b8d35d80103bae5606a8ee7381f0ce148ab.tar.bz2 openbsd-ff674b8d35d80103bae5606a8ee7381f0ce148ab.zip |
Two minor tweaks that are useful for processing bio.h, among other headers:
* ignore lines defining "__bounded__()"
* ignore whitespace between "#" and "include"
-rwxr-xr-x | src/regress/lib/libcrypto/man/check_complete.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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: | |||
217 | if (/^\s*$/ || | 217 | if (/^\s*$/ || |
218 | /^DECLARE_STACK_OF\(\w+\)$/ || | 218 | /^DECLARE_STACK_OF\(\w+\)$/ || |
219 | /^TYPEDEF_D2I2D_OF\(\w+\);$/ || | 219 | /^TYPEDEF_D2I2D_OF\(\w+\);$/ || |
220 | /^#define __bounded__\(\w+, \w+, \w+\)$/ || | ||
220 | /^#define HEADER_\w+_H$/ || | 221 | /^#define HEADER_\w+_H$/ || |
221 | /^#endif$/ || | 222 | /^#endif$/ || |
222 | /^#else$/ || | 223 | /^#else$/ || |
223 | /^extern\s+const\s+ASN1_ITEM\s+\w+_it;$/ || | 224 | /^extern\s+const\s+ASN1_ITEM\s+\w+_it;$/ || |
224 | /^#include\s/ || | 225 | /^#\s*include\s/ || |
225 | /^#ifn?def\s/ || | 226 | /^#ifn?def\s/ || |
226 | /^#if !?defined/ || | 227 | /^#if !?defined/ || |
227 | /^#undef\s+BN_LLONG$/) { | 228 | /^#undef\s+BN_LLONG$/) { |