[BACK]Return to roff.out_lint CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / args

File: [cvsweb.bsd.lv] / mandoc / regress / roff / args / roff.out_lint (download)

Revision 1.6, Tue Dec 4 02:53:56 2018 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, VERSION_1_14_5, HEAD
Changes since 1.5: +1 -0 lines

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.

mandoc: roff.in:31:15: STYLE: whitespace at end of input line
mandoc: roff.in:33:16: STYLE: whitespace at end of input line
mandoc: roff.in:35:17: STYLE: whitespace at end of input line
mandoc: roff.in:55:27: STYLE: whitespace at end of input line
mandoc: roff.in:57:28: STYLE: whitespace at end of input line
mandoc: roff.in:59:29: STYLE: whitespace at end of input line
mandoc: roff.in:63:7: STYLE: unterminated quoted argument
mandoc: roff.in:64:11: STYLE: unterminated quoted argument
mandoc: roff.in:66:7: STYLE: unterminated quoted argument
mandoc: roff.in:66:12: STYLE: whitespace at end of input line
mandoc: roff.in:67:11: STYLE: unterminated quoted argument
mandoc: roff.in:67:16: STYLE: whitespace at end of input line
mandoc: roff.in:69:7: STYLE: unterminated quoted argument
mandoc: roff.in:69:13: STYLE: whitespace at end of input line
mandoc: roff.in:70:11: STYLE: unterminated quoted argument
mandoc: roff.in:70:17: STYLE: whitespace at end of input line
mandoc: roff.in:72:2: WARNING: skipping paragraph macro: br at the end of SH