summaryrefslogtreecommitdiffstats
path: root/regress/roff/de/append.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-18 17:36:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-18 17:36:03 +0000
commit6d2d7fe29d2b59f3f7317704a120c6cf8e794ec4 (patch)
tree53f518212f9cb98387b21e9eeca9aa019c19dbfc /regress/roff/de/append.out_ascii
parentc58fe9157a7d01e305e9b0722af6f1be98111207 (diff)
downloadmandoc-6d2d7fe29d2b59f3f7317704a120c6cf8e794ec4.tar.gz
Implement appending to standard man(7) and mdoc(7) macros with .am.
With roff_getstrn(), provide finer control which definitions can be used for what: * All definitions can be used for .if d tests and .am appending. * User-defined for \* expansion, .dei expansion, and macro calling. * Predefined for \* expansion. * Standard macros, original or renamed, for macro calling. Several related improvements while here: * Do not return string table entries that have explicitly been removed. * Do not create a rentab entry when trying to rename a non-existent macro. * Clear an existing rentab entry when the external interface roff_setstr() is called with its name. * Avoid trailing blanks in macro lines generated from renamed and from aliased macros. * Delete the duplicate __m*_reserved[] tables, just use roff_name[].
Diffstat (limited to 'regress/roff/de/append.out_ascii')
-rw-r--r--regress/roff/de/append.out_ascii6
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/roff/de/append.out_ascii b/regress/roff/de/append.out_ascii
index c5f4363c..6230f3b2 100644
--- a/regress/roff/de/append.out_ascii
+++ b/regress/roff/de/append.out_ascii
@@ -6,4 +6,8 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
de: OpenBSD am: OpenBSD NetBSD ami: OpenBSD NetBSD FreeBSD end
-OpenBSD July 7, 2014 OpenBSD
+ standard macro: [in brackets] end
+
+ append to standard macro: [in brackets] end (appended words)
+
+OpenBSD June 18, 2017 OpenBSD