From cf46afdd62d389d85548746c7fdd719d0699b09a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 13 May 2010 20:34:30 +0000 Subject: 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@ --- usr.bin/mandoc/man_validate.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.bin/mandoc/man_validate.c') 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 * @@ -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); -- cgit v1.2.3