From 8e57a4deeb797a212ed2aa4127830d4a6dce35b0 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 13 Jan 2012 15:27:14 +0000 Subject: Reflect reality, mandoc_escape does not skip the "\" itself, but expects the caller to have done that. --- mandoc.3 | 8 +++++--- 1 file 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 .\" Copyright (c) 2010 Ingo Schwarze @@ -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 -- cgit v1.2.3-56-ge451