summaryrefslogtreecommitdiffstatshomepage
path: root/validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 09:14:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-27 09:14:02 +0000
commit51107dc1cd95fee0ae88f16a4ba8d45f505414d0 (patch)
treeb642a4fd74e30ed3158800043ef0f69c1ac76b94 /validate.c
parentff1018946028fdff5987992f5ccc7e26a7ba7d55 (diff)
downloadmandoc-51107dc1cd95fee0ae88f16a4ba8d45f505414d0.tar.gz
mandoc-51107dc1cd95fee0ae88f16a4ba8d45f505414d0.tar.zst
mandoc-51107dc1cd95fee0ae88f16a4ba8d45f505414d0.zip
Character-encoding stuff documented, expanded.
Diffstat (limited to 'validate.c')
-rw-r--r--validate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/validate.c b/validate.c
index c3e6f0b5..46629654 100644
--- a/validate.c
+++ b/validate.c
@@ -1,4 +1,4 @@
-/* $Id: validate.c,v 1.61 2009/02/26 14:56:27 kristaps Exp $ */
+/* $Id: validate.c,v 1.62 2009/02/27 09:14:02 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -480,6 +480,8 @@ check_text(struct mdoc *mdoc, size_t line, size_t pos, const char *p)
{
size_t c;
+ /* XXX - indicate deprecated escapes \*(xx and \*x. */
+
for ( ; *p; p++) {
if ( ! isprint((int)*p) && '\t' != *p)
return(mdoc_perr(mdoc, line, pos,