From 19a69263bb10fbb790f29529cf522bd27cc723ed Mon Sep 17 00:00:00 2001 From: schwarze Date: Thu, 21 Apr 2011 22:59:54 +0000 Subject: Merge version 1.10.10: lots of cleanup and maintenance work by kristaps@. - move some main.c globals into struct curparse - move mandoc_*alloc to mandoc.h such that all code can use them - make mandoc_isdelim available to formatting frontends - dissolve mdoc_strings.c, move the code where it is used - make all error reporting functions void, their return values were useless - and various minor cleanups and fixes --- usr.bin/mandoc/man_validate.c | 7 +++---- 1 file changed, 3 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 25d320add35..ca981467cfe 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.42 2011/03/20 23:36:42 schwarze Exp $ */ +/* $Id: man_validate.c,v 1.43 2011/04/21 22:59:54 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -219,9 +219,8 @@ check_text(CHKARGS) if ('\t' == *p) { if (MAN_LITERAL & m->flags) continue; - if (man_pmsg(m, n->line, pos, MANDOCERR_BADTAB)) - continue; - return(0); + man_pmsg(m, n->line, pos, MANDOCERR_BADTAB); + continue; } /* Check the special character. */ -- cgit v1.2.3-59-g8ed1b