diff options
| author | schwarze <> | 2023-04-07 15:39:18 +0000 |
|---|---|---|
| committer | schwarze <> | 2023-04-07 15:39:18 +0000 |
| commit | fa6e2d10d4f186459c797bd622ae540cca29fe85 (patch) | |
| tree | c581293d0d6c442fa473ef6ed0b6a11f2d6d8bce /src | |
| parent | 6111a5d89f94eeacd0660d1fda9763ab259a3bd0 (diff) | |
| download | openbsd-fa6e2d10d4f186459c797bd622ae540cca29fe85.tar.gz openbsd-fa6e2d10d4f186459c797bd622ae540cca29fe85.tar.bz2 openbsd-fa6e2d10d4f186459c797bd622ae540cca29fe85.zip | |
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 'src')
| -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$/) { |
