diff options
Diffstat (limited to 'checkman.txr')
-rw-r--r-- | checkman.txr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/checkman.txr b/checkman.txr index dcbf99e7..cbec82be 100644 --- a/checkman.txr +++ b/checkman.txr @@ -49,15 +49,15 @@ @;; @(define check-func ()) @ (cases) -.coNP Operator/function @(skip) -@ (assert bad ln `no .synb after Operator/function heading`) +.coNP @{type /Operator|Macro/}/function @(skip) +@ (assert bad ln `no .synb after @type/function heading`) @ (check-synb) @ (or) .coNP Operator @@ @op and macro @@ @mac @ (assert bad ln `no .synb after Operator and macro heading`) @ (check-synb) @ (or) -.coNP @{type /Function|Operator|Macro|Accessor|Method|Structure/}s@(assert bad ln `bad @{type}s heading`)@(rep :gap 0) @@, @{x /\S+/}@(last :mandatory) @@ @y and @@ @{z /\S+/}@(end) +.coNP @{type /Function|Operator|Macro|Accessor|Method|Structure|(Operators|Macros)\/function/}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) |