summaryrefslogtreecommitdiffstats
path: root/regress/roff/cond/close.out_ascii
Commit message (Collapse)AuthorAgeFilesLines
* reduce the man(7) global indentation from 7n to 5n, see man_term.c rev. 1.244Ingo Schwarze2023-11-131-19/+19
|
* delete the two pairs of extra blank lines from expected man(7) terminalIngo Schwarze2021-06-281-4/+0
| | | | output that are no longer printed since man_term.c rev. 1.236
* Put the code handling \} into a new function roff_cond_checkend()Ingo Schwarze2020-08-031-0/+17
| | | | | | | | | | | | | | | | | | | | and call that function not only from both places where copies existed - when processing text lines and when processing request/macro lines in conditional block scope - but also when closing a macro definition request, such that this construction works: .if n \{.de macroname macro content .. \} ignored arguments .macroname This fixes a bug reported by John Gardner <gardnerjohng at gmail dot com>. While here, avoid a confusing decrement of the line scope counter in roffnode_cleanscope() for conditional blocks that do not have line scope in the first place (no functional change for this part). Also improve validation of an internal invariant in roff_cblock() and polish some comments.
* When a conditional block is closed by putting "\}" on a text lineIngo Schwarze2018-11-261-1/+11
| | | | | | | | | | | | | by itself (which is somewhat unusual but not invalid; most authors use the empty macro line ".\}" instead), agree more closely with groff and do not produce a double space in the output. Quirk reported by millert@. While here, tweak the rest of the function body of roff_cond_text() to more closely match roff_cond_sub(). The subtly different handling could make people (including myself) wonder whether there is any point in being different. Testing shows there is not.
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-081-0/+19
Both kristaps@ and wiz@ repeated asked for this, literally for years.