diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-24 23:12:33 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-24 23:12:33 +0000 |
commit | 0a8809aa2eea4b189b4ca02bea4883d7cf4ce706 (patch) | |
tree | f5873399a1c32c229c8d1eb66107998741a4015a /regress/roff/while/Makefile | |
parent | 562feda136881753a6d27350397fddcabed5f805 (diff) | |
download | mandoc-0a8809aa2eea4b189b4ca02bea4883d7cf4ce706.tar.gz mandoc-0a8809aa2eea4b189b4ca02bea4883d7cf4ce706.tar.zst mandoc-0a8809aa2eea4b189b4ca02bea4883d7cf4ce706.zip |
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.
Diffstat (limited to 'regress/roff/while/Makefile')
-rw-r--r-- | regress/roff/while/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/roff/while/Makefile b/regress/roff/while/Makefile new file mode 100644 index 00000000..ed970474 --- /dev/null +++ b/regress/roff/while/Makefile @@ -0,0 +1,13 @@ +# $OpenBSD: Makefile,v 1.1 2018/08/24 22:56:37 schwarze Exp $ + +REGRESS_TARGETS = basic badargs into nesting outof +LINT_TARGETS = badargs into nesting outof + +# mandoc defects: +# - if a while loop extends into a scope, mandoc may close it there +# - mandoc does not support nested .while loops +# - mandoc does not support .while loops extending out of the current scope + +SKIP_GROFF = into nesting outof + +.include <bsd.regress.mk> |