Up to [cvsweb.bsd.lv] / mandoc / regress / roff / cond
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 13 21:07:06 2023 UTC (7 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
reduce the man(7) global indentation from 7n to 5n, see man_term.c rev. 1.244
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 28 20:12:45 2021 UTC (2 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.1: +0 -4 lines
Diff to previous 1.1 (colored)
delete the two pairs of extra blank lines from expected man(7) terminal output that are no longer printed since man_term.c rev. 1.236
Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 3 11:02:58 2020 UTC (3 years, 10 months ago) by schwarze
Branch: MAIN
Put the code handling \} into a new function roff_cond_checkend() 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.