summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 11:48:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 11:48:44 +0000
commitca7eb2795830f918afc855b2fdaabe093d8cee13 (patch)
tree6b4071e54b2c7eb6d62bb776dc458e4dcbda4281
parent056d0c68fbd56e3ce25fe3ad8c58ade0ab30a1b4 (diff)
downloadmandoc-ca7eb2795830f918afc855b2fdaabe093d8cee13.tar.gz
Printing invalid escape sequences.
-rw-r--r--validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate.c b/validate.c
index 043c4219..f61e1fe7 100644
--- a/validate.c
+++ b/validate.c
@@ -685,7 +685,7 @@ check_text(struct mdoc *mdoc, int line, int pos, const char *p)
continue;
}
return(mdoc_perr(mdoc, line, pos,
- "invalid escape sequence"));
+ "invalid escape sequence: %s", p));
}
return(1);