summaryrefslogtreecommitdiffstats
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
commita1ce59a4f43ef79d46f2d2cf1ba2ac236808022c (patch)
tree0befa32d4d1ecbbf9840d09bbff2cf4d14f5e80c
parentb7a4f7bea60ee5bd30a6ec679453b83a3665eff1 (diff)
downloadmandoc-a1ce59a4f43ef79d46f2d2cf1ba2ac236808022c.tar.gz
Reflect reality, mandoc_escape does not skip the "\" itself, but expects
the caller to have done that.
-rw-r--r--mandoc.34
1 files changed, 3 insertions, 1 deletions
diff --git a/mandoc.3 b/mandoc.3
index b7a2e6a4..52546327 100644
--- a/mandoc.3
+++ b/mandoc.3
@@ -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