=================================================================== RCS file: /cvs/mandoc/Attic/validate.c,v retrieving revision 1.64 retrieving revision 1.67 diff -u -p -r1.64 -r1.67 --- mandoc/Attic/validate.c 2009/02/28 13:47:36 1.64 +++ mandoc/Attic/validate.c 2009/03/04 13:57:35 1.67 @@ -1,4 +1,4 @@ -/* $Id: validate.c,v 1.64 2009/02/28 13:47:36 kristaps Exp $ */ +/* $Id: validate.c,v 1.67 2009/03/04 13:57:35 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -22,6 +22,8 @@ #include "private.h" +/* FIXME: .Bl -diag can't have non-text children in HEAD. */ + /* * Pre- and post-validate macros as they're parsed. Pre-validation * occurs when the macro has been detected and its arguments parsed. @@ -484,15 +486,15 @@ check_text(struct mdoc *mdoc, int line, int pos, const for ( ; *p; p++) { if ( ! isprint((int)*p) && '\t' != *p) return(mdoc_perr(mdoc, line, pos, - "invalid characters")); + "invalid non-printing characters")); if ('\\' != *p) continue; if ((c = mdoc_isescape(p))) { p += (int)c - 1; continue; } - return(mdoc_perr(mdoc, line, pos, - "invalid escape sequence")); + return(mdoc_perr(mdoc, line, pos, + "invalid escape sequence")); } return(1);