diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-18 16:20:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-07-18 16:20:15 +0000 |
commit | dc57656875c610c9b311b407f566d305dd35026c (patch) | |
tree | dcabcdd9f947b4489a423edc5ad4ac996d96dc4e /regress/usr.bin | |
parent | 1aab5b4f7611da677f651a86f42359b8aae57100 (diff) |
Let a trailing .Ns macro take effect
even on an input line containing a partial implicit macro.
Fixes horizontal spacing in vi(1), ddb(4), and ppp(8).
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ns/position.in | 4 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Ns/position.in b/regress/usr.bin/mandoc/mdoc/Ns/position.in index 557c2408a98..3bd785267aa 100644 --- a/regress/usr.bin/mandoc/mdoc/Ns/position.in +++ b/regress/usr.bin/mandoc/mdoc/Ns/position.in @@ -15,3 +15,7 @@ At the beginning of a macro line: At the end of a macro line: .Oo before Oc Ns .Op after +.Pp +At the end of partial implicit: +.Op before Ns +.Op after diff --git a/regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii b/regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii index 86653e76963..ae46dd6d83c 100644 --- a/regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii +++ b/regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii @@ -10,4 +10,6 @@ DDEESSCCRRIIPPTTIIOONN At the end of a macro line: [before][after] + At the end of partial implicit: [before][after] + OpenBSD February 6, 2011 OpenBSD |