check_complete: accept #error
authortb <tb@openbsd.org>
Thu, 8 Aug 2024 23:44:43 +0000 (23:44 +0000)
committertb <tb@openbsd.org>
Thu, 8 Aug 2024 23:44:43 +0000 (23:44 +0000)
regress/lib/libcrypto/man/check_complete.pl

index 6049120..c69ff2f 100755 (executable)
@@ -220,6 +220,7 @@ try_again:
            /^#define HEADER_\w+_H$/ ||
            /^#endif$/ ||
            /^#else$/ ||
+           /^#error/ ||
            /^extern\s+const\s+ASN1_ITEM\s+\w+_it;$/ ||
            /^#\s*include\s/ ||
            /^#ifn?def\s/ ||