summaryrefslogtreecommitdiffstats
path: root/regress/roff/cond/if.out_lint
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-04 02:53:51 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-04 02:53:51 +0000
commitd5e1ccb6de73cd87d11400b2f3d09826595bfc89 (patch)
tree16a922eb7f5a41bc2ef3f86d153377b0258a8cfa /regress/roff/cond/if.out_lint
parentd504e7480ce979e924b1c4fe82bdbcaa790ca153 (diff)
downloadmandoc-d5e1ccb6de73cd87d11400b2f3d09826595bfc89.tar.gz
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/roff/cond/if.out_lint')
-rw-r--r--regress/roff/cond/if.out_lint2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/roff/cond/if.out_lint b/regress/roff/cond/if.out_lint
index 5fb37795..597140d8 100644
--- a/regress/roff/cond/if.out_lint
+++ b/regress/roff/cond/if.out_lint
@@ -1,2 +1,4 @@
mandoc: if.in:15:2: WARNING: conditional request controls empty scope: if
mandoc: if.in:17:2: WARNING: conditional request controls empty scope: if
+mandoc: if.in:42:2: WARNING: skipping paragraph macro: br before sp
+mandoc: if.in:71:2: WARNING: skipping paragraph macro: br after br