summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Dd/noarg.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-19 16:44:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-19 16:44:50 +0000
commit997afdc8d9bfb322c69f12820e5299a5cbca4fba (patch)
tree458f1731d8143930bf5485c03d1d76303963ca81 /regress/mdoc/Dd/noarg.out_ascii
parente7053cbde7464907196871161ebc3a69546a11ab (diff)
downloadmandoc-997afdc8d9bfb322c69f12820e5299a5cbca4fba.tar.gz
Align to the new, sane behaviour of the groff_mdoc(7) .Dd macro:
without an argument, use the empty string, and always concatenate all arguments, no matter their number. This allows reducing the number of arguments of mandoc_normdate() and some other simplifications, at the same time polishing some error messages by adding the name of the macro in question.
Diffstat (limited to 'regress/mdoc/Dd/noarg.out_ascii')
-rw-r--r--regress/mdoc/Dd/noarg.out_ascii9
1 files changed, 9 insertions, 0 deletions
diff --git a/regress/mdoc/Dd/noarg.out_ascii b/regress/mdoc/Dd/noarg.out_ascii
new file mode 100644
index 00000000..e9206d09
--- /dev/null
+++ b/regress/mdoc/Dd/noarg.out_ascii
@@ -0,0 +1,9 @@
+DD-NOARG(1) General Commands Manual DD-NOARG(1)
+
+NNAAMMEE
+ DDdd--nnooaarrgg - date macro without an argument
+
+DDEESSCCRRIIPPTTIIOONN
+ some text
+
+OpenBSD OpenBSD