summaryrefslogtreecommitdiffstats
path: root/regress/roff/cond/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Put the code handling \} into a new function roff_cond_checkend()Ingo Schwarze2020-08-031-3/+3
| | | | | | | | | | | | | | | | | | | | 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.
* implement the roff(7) d (macro or string defined) conditionalIngo Schwarze2017-06-141-1/+1
|
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-081-0/+6
Both kristaps@ and wiz@ repeated asked for this, literally for years.