-/* $Id: man_validate.c,v 1.44 2010/06/19 20:46:28 kristaps Exp $ */
+/* $Id: man_validate.c,v 1.45 2010/06/28 14:39:17 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
return(c);
}
+ /*
+ * FIXME: we absolutely cannot let \b get through or it
+ * will destroy some assumptions in terms of format.
+ */
+
if ('\t' == *p || isprint((u_char)*p) || ASCII_HYPH == *p)
continue;
if ( ! man_pmsg(m, n->line, pos, MANDOCERR_BADCHAR))
-/* $Id: mdoc_validate.c,v 1.101 2010/06/27 17:53:27 schwarze Exp $ */
+/* $Id: mdoc_validate.c,v 1.102 2010/06/28 14:39:17 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
{
int c;
+ /*
+ * FIXME: we absolutely cannot let \b get through or it will
+ * destroy some assumptions in terms of format.
+ */
+
for ( ; *p; p++, pos++) {
if ('\t' == *p) {
if ( ! (MDOC_LITERAL & mdoc->flags))