From 6e93196a2777ee927403982ff2aa30e23617fead Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 1 May 2022 08:49:07 -0600 Subject: autodoc: Don't require space after =apidoc_item The flags column is optional, and so no space is needed to delimit it. --- autodoc.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'autodoc.pl') diff --git a/autodoc.pl b/autodoc.pl index 8fef2e3838..fa10dff044 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -366,8 +366,9 @@ sub check_api_doc_line ($$) { && length $2 > 0 && length $3 == 0 && length $4 > 0 - && length $6 > 0 - && length $7 > 0; + && length $7 > 0 + && ( length $6 > 0 + || ($is_item && substr($7, 0, 1) eq '|')); my $proto_in_file = $7; my $proto = $proto_in_file; $proto = "||$proto" if $proto !~ /\|/; -- cgit v1.2.1