summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-13 20:34:30 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-05-13 20:34:30 +0000
commitcf46afdd62d389d85548746c7fdd719d0699b09a (patch)
treefb09ee23ccc898f8546f14bafbb88348b92d0453 /usr.bin/mandoc/man_validate.c
parentc79277c383444cb55f516c3d1b67169b242c7358 (diff)
Remove the command line option -fno-ign-chars.
This option was not useful, you never want mandoc to die just because there is an invalid character in the input file, neither in production nor when linting: a warning is sufficient. This was particularly annoying because it was part of -fstrict and could not be switched off. "less is more" kristaps@
Diffstat (limited to 'usr.bin/mandoc/man_validate.c')
-rw-r--r--usr.bin/mandoc/man_validate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/mandoc/man_validate.c b/usr.bin/mandoc/man_validate.c
index 66b5fc5248f..df27998d5a0 100644
--- a/usr.bin/mandoc/man_validate.c
+++ b/usr.bin/mandoc/man_validate.c
@@ -1,4 +1,4 @@
-/* $Id: man_validate.c,v 1.19 2010/04/25 16:32:19 schwarze Exp $ */
+/* $Id: man_validate.c,v 1.20 2010/05/13 20:34:29 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -228,9 +228,7 @@ check_text(CHKARGS)
if ('\t' == *p || isprint((u_char)*p))
continue;
- if (MAN_IGN_CHARS & m->pflags)
- return(man_pwarn(m, n->line, pos, WNPRINT));
- return(man_perr(m, n->line, pos, WNPRINT));
+ return(man_pwarn(m, n->line, pos, WNPRINT));
}
return(1);