From 0a8809aa2eea4b189b4ca02bea4883d7cf4ce706 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 24 Aug 2018 23:12:33 +0000 Subject: Rudimentary implementation of the roff(7) .while request. 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. --- regress/roff/while/nesting.out_ascii | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 regress/roff/while/nesting.out_ascii (limited to 'regress/roff/while/nesting.out_ascii') diff --git a/regress/roff/while/nesting.out_ascii b/regress/roff/while/nesting.out_ascii new file mode 100644 index 00000000..03055341 --- /dev/null +++ b/regress/roff/while/nesting.out_ascii @@ -0,0 +1,9 @@ +WHILE-NESTING(1) General Commands Manual WHILE-NESTING(1) + +NNAAMMEE + wwhhiillee--nneessttiinngg - nested while requests + +DDEESSCCRRIIPPTTIIOONN + initial text 33 32 31 final text + +OpenBSD August 24, 2018 OpenBSD -- cgit v1.2.3-56-ge451