summaryrefslogtreecommitdiffstatshomepage
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
commitd53f3eea978ab62538513a30e29ca8c1da6f9c45 (patch)
tree41044a463b556cf193e6bf33b74e655a68101e45
parent6b2defb0f921c22df14e94ce0098640d4401303e (diff)
downloadmandoc-d53f3eea978ab62538513a30e29ca8c1da6f9c45.tar.gz
mandoc-d53f3eea978ab62538513a30e29ca8c1da6f9c45.tar.zst
mandoc-d53f3eea978ab62538513a30e29ca8c1da6f9c45.zip
Printing invalid escape sequences.
-rw-r--r--validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/validate.c b/validate.c
index 45330b7d..2ebd427d 100644
--- a/validate.c
+++ b/validate.c
@@ -1,4 +1,4 @@
-/* $Id: validate.c,v 1.71 2009/03/08 11:41:22 kristaps Exp $ */
+/* $Id: validate.c,v 1.72 2009/03/08 11:48:44 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);