[BACK]Return to blank.out_lint CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Bd

File: [cvsweb.bsd.lv] / mandoc / regress / mdoc / Bd / blank.out_lint (download)

Revision 1.7, Mon Aug 15 18:12:31 2022 UTC (22 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +6 -5 lines

Distinguish between escape sequences that produce no output
whatsoever (for example \fR) and escape sequences that produce
invisible zero-width output (for example \&).  No, i'm not joking,
groff does make that distinction, and it has consequences in some
situations, for example for vertical spacing in no-fill mode.
Heirloom and Plan 9 behaviour is subtly different, but in case of
doubt, we want to follow groff.

While this fixes the behaviour for the majority of escape sequences,
in particular for those most likely to occur in practice, it is not
perfect yet because some of the more exotic ESCAPE_IGNORE sequences
are actually of the "no output whatsoever" type but treated
as "invisible zero-width" for now.  With the new ASCII_NBRZW mechanism
in place, switching them over one by one when the need arises will
no longer be very difficult.

mandoc: blank.in:13:1: STYLE: whitespace at end of input line
mandoc: blank.in:15:1: STYLE: whitespace at end of input line
mandoc: blank.in:17:1: STYLE: whitespace at end of input line
mandoc: blank.in:23:1: ERROR: unknown special character: \[foobar]
mandoc: blank.in:30:36: STYLE: whitespace at end of input line
mandoc: blank.in:31:37: STYLE: whitespace at end of input line
mandoc: blank.in:32:32: STYLE: whitespace at end of input line
mandoc: blank.in:39:8: STYLE: whitespace at end of input line
mandoc: blank.in:39:2: WARNING: empty block: Dl