diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-17 20:13:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-17 20:13:10 -0700 |
commit | d2bc824b4f91f6aa462e27f8b5dde6dee1cc031f (patch) | |
tree | 68de5ba979ca28632420cf03b5ccacd3da24404c /checkman.txr | |
parent | 3df89b1573d415bb18a912c4c774edc189b1ac11 (diff) | |
download | txr-d2bc824b4f91f6aa462e27f8b5dde6dee1cc031f.tar.gz txr-d2bc824b4f91f6aa462e27f8b5dde6dee1cc031f.tar.bz2 txr-d2bc824b4f91f6aa462e27f8b5dde6dee1cc031f.zip |
Bugfix in checkman leading to doc improvements.
* checkman.txr: Check against blank line after .desc.
Fix incorrect pattern, failing to match one-symbol
Function/Operator/Macro headings. This exposes
errors in the document that were previously undetected.
* txr.1: Fix numerous occurrences of blank lines
after .desc, missing .desc, incorrect headings
and other problems.
Diffstat (limited to 'checkman.txr')
-rw-r--r-- | checkman.txr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/checkman.txr b/checkman.txr index 26669fd6..9d9a20a9 100644 --- a/checkman.txr +++ b/checkman.txr @@ -21,6 +21,8 @@ @ (end) @ (assert bad ln `missing .desc`) .desc +@ (assert bad ln `blank line after .desc`) +@/..*/ @(end) @;; @;; Check variable description headings @@ -53,7 +55,7 @@ @ (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+/} @ (assert bad ln `no .synb after @type heading`) @ (check-synb) @ (end) |