aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/while
Commit message (Collapse)AuthorAgeFilesLines
* Implement the roff .break request (break out of a .while loop).Ingo Schwarze2019-04-213-2/+27
| | | | | | | Jan Stary <hans at stare dot cz> found it in an ancient groffer(1) manual page (version 1.19) on MacOS X Mojave. Having .break not implemented wasn't a particularly bright idea because obviously, it tended to cause infinite loops.
* Rudimentary implementation of the roff(7) .while request.Ingo Schwarze2018-08-2415-0/+179
Needed for example by groff_hdtbl(7). There are two limitations: It does not support nested .while requests yet, and each .while loop must start and end in the same scope. The roff_parseln() return codes are now more flexible and allow OR'ing options.