From a513b69fd9b1e0f3925f1e33d44fe127dbb858e5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 23 Oct 2016 18:09:37 -0700 Subject: doc: missing plurals in headings, missing .desc. * checkman.txr (check-func): Check for excess elements in singular heading. Add exception for headings that have Operator and macro. * txr.1: Missing plural in chr-ixdigit and chr-xdigit heading. Same in hash-begin and hash-next, plus missing desc. --- checkman.txr | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'checkman.txr') diff --git a/checkman.txr b/checkman.txr index 024c83f9..af6b4056 100644 --- a/checkman.txr +++ b/checkman.txr @@ -51,11 +51,15 @@ @ (cases) .coNP Operator/function @(skip) @ (or) +.coNP Operator @@ @op and macro @@ @mac +@ (or) .coNP @{type /Function|Operator|Macro/}s@(assert bad ln `bad @{type}s heading`)@(rep :gap 0) @@, @{x /\S+/}@(last :mandatory) @@ @y and @@ @{z /\S+/}@(end) @ (assert bad ln `no .synb after @{type}s heading`) @ (check-synb) @ (or) -.coNP @{type /Function|Operator|Macro/}@(assert bad ln `bad @type heading`) @@ @{x /\S+/} +.coNP @{type /Function|Operator|Macro/}@(assert bad ln `bad @type heading`) @@ @{x /\S+/}@junk +@ (assert bad ln `extra elements in singular @type heading`) +@ (bind junk "") @ (assert bad ln `no .synb after @type heading`) @ (check-synb) @ (end) -- cgit v1.2.3