diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-27 13:16:00 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-27 13:16:00 +0000 |
commit | 25afb1105875bcadb065d7a291f460785f0002cc (patch) | |
tree | bc24d798d13df26db31a251a96f8e74c32d472f4 /roff.7 | |
parent | a835445c1605ceb3d74ca89bc40f81a6181429d3 (diff) | |
download | mandoc-25afb1105875bcadb065d7a291f460785f0002cc.tar.gz mandoc-25afb1105875bcadb065d7a291f460785f0002cc.tar.zst mandoc-25afb1105875bcadb065d7a291f460785f0002cc.zip |
Fix `ds' handling. This was stripping characters from "val", when the
syntax of `ds' is such that ALL text following the first
non-space/non-double-quote is part of the value. This also fixes the
warning of *(string++) = NULL report by kristaps@ and joerg@.
Diffstat (limited to 'roff.7')
-rw-r--r-- | roff.7 | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -1,4 +1,4 @@ -.\" $Id: roff.7,v 1.13 2010/07/07 15:04:54 kristaps Exp $ +.\" $Id: roff.7,v 1.14 2010/07/27 13:16:00 kristaps Exp $ .\" .\" Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 7 2010 $ +.Dd $Mdocdate: July 27 2010 $ .Dt ROFF 7 .Os .Sh NAME @@ -106,6 +106,15 @@ The .Cm key values may be invoked in subsequent text by using \e*(NN for two-letter pairs, \e*N for one-letter, and \e*[NNN] for arbitrary-length values. +.Pp +If +.Cm val +is begun with a double-quote mark, the mark is passed over. +.Cm val +consists of +.Em all +text following this point, including whitespace and trailing +double-quotes. .Ss \&de1 The syntax of this macro is the same as that of .Sx \&ig , |