]> git.cameronkatri.com Git - mandoc.git/blobdiff - validate.c
Printing invalid escape sequences.
[mandoc.git] / validate.c
index 45330b7dde3384480bbc1df6ba516e2ce9671ea3..2ebd427d198b7e980c9be6b126bf058f0b0a51df 100644 (file)
@@ -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);