diff options
author | 2018-12-04 02:53:51 +0000 | |
---|---|---|
committer | 2018-12-04 02:53:51 +0000 | |
commit | b8c7224b007d9673c637669ba26ff55f38effe12 (patch) | |
tree | 27d1ed6e0ae499cceea05feaef09d6f683d86fdd /regress/man/blank/afterSH.out_lint | |
parent | 820b4d56427ff6a0f1e3399ac7e4aea447dd5c20 (diff) | |
download | mandoc-b8c7224b007d9673c637669ba26ff55f38effe12.tar.gz mandoc-b8c7224b007d9673c637669ba26ff55f38effe12.tar.zst mandoc-b8c7224b007d9673c637669ba26ff55f38effe12.zip |
Clean up the validation of .Pp, .PP, .sp, and .br. Make sure all
combinations are handled, and are handled in a systematic manner.
This resolves some erratic duplicate handling, handles a number of
missing cases, and improves diagnostics in various respects.
Move validation of .br and .sp to the roff validation module
rather than doing that twice in the mdoc and man validation modules.
Move the node relinking function to the roff library where it belongs.
In validation functions, only look at the node itself, at previous
nodes, and at descendants, not at following nodes or ancestors,
such that only nodes are inspected which are already validated.
Diffstat (limited to 'regress/man/blank/afterSH.out_lint')
-rw-r--r-- | regress/man/blank/afterSH.out_lint | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/man/blank/afterSH.out_lint b/regress/man/blank/afterSH.out_lint index 4f641b3c..233661d6 100644 --- a/regress/man/blank/afterSH.out_lint +++ b/regress/man/blank/afterSH.out_lint @@ -1,4 +1,6 @@ +mandoc: afterSH.in:10:2: WARNING: skipping paragraph macro: PP after SH mandoc: afterSH.in:32:2: WARNING: skipping paragraph macro: br after SH mandoc: afterSH.in:36:2: WARNING: skipping paragraph macro: sp after SH +mandoc: afterSH.in:45:2: WARNING: skipping paragraph macro: PP after SH mandoc: afterSH.in:72:2: WARNING: skipping paragraph macro: br after SH mandoc: afterSH.in:77:2: WARNING: skipping paragraph macro: sp after SH |