aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.3
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@netbsd.org>2012-01-13 15:27:14 +0000
committerJoerg Sonnenberger <joerg@netbsd.org>2012-01-13 15:27:14 +0000
commit8e57a4deeb797a212ed2aa4127830d4a6dce35b0 (patch)
treeef2f81145bca5a7232be56edd7103cd893fa7679 /mandoc.3
parent0369f0b1ba49e775bf32baa6a44a5fa951151f6c (diff)
downloadmandoc-8e57a4deeb797a212ed2aa4127830d4a6dce35b0.tar.gz
mandoc-8e57a4deeb797a212ed2aa4127830d4a6dce35b0.tar.zst
mandoc-8e57a4deeb797a212ed2aa4127830d4a6dce35b0.zip
Reflect reality, mandoc_escape does not skip the "\" itself, but expects
the caller to have done that.
Diffstat (limited to 'mandoc.3')
-rw-r--r--mandoc.38
1 files changed, 5 insertions, 3 deletions
diff --git a/mandoc.3 b/mandoc.3
index 81c40151..4d0b20d6 100644
--- a/mandoc.3
+++ b/mandoc.3
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.3,v 1.16 2011/11/08 00:15:23 kristaps Exp $
+.\" $Id: mandoc.3,v 1.17 2012/01/13 15:27:14 joerg Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 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: November 8 2011 $
+.Dd $Mdocdate: January 13 2012 $
.Dt MANDOC 3
.Os
.Sh NAME
@@ -234,7 +234,9 @@ messages emitted by the parser.
.It Fn mandoc_escape
Scan an escape sequence, i.e., a character string beginning with
.Sq \e .
-Pass a pointer to this string as
+Pass a pointer to the character after the
+.Sq \e
+as
.Va end ;
it will be set to the supremum of the parsed escape sequence unless
returning