From 0c8a4a580a225bf2d3acb9fca9f3fb7b47ea18ae Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 22 Oct 2015 21:53:50 +0000 Subject: move man(7) validation into the dedicated validation phase, too --- usr.bin/mandoc/roff.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/mandoc/roff.c') diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c index 3c699972173..674b17cfa7e 100644 --- a/usr.bin/mandoc/roff.c +++ b/usr.bin/mandoc/roff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: roff.c,v 1.154 2015/10/21 23:49:05 schwarze Exp $ */ +/* $OpenBSD: roff.c,v 1.155 2015/10/22 21:53:49 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2010-2015 Ingo Schwarze @@ -1061,7 +1061,7 @@ roff_word_alloc(struct roff_man *man, int line, int pos, const char *word) if (man->macroset == MACROSET_MDOC) n->flags |= MDOC_VALID | MDOC_ENDED; else - man_valid_post(man); + n->flags |= MAN_VALID; man->next = ROFF_NEXT_SIBLING; } @@ -1149,7 +1149,7 @@ roff_addtbl(struct roff_man *man, const struct tbl_span *tbl) if (man->macroset == MACROSET_MDOC) n->flags |= MDOC_VALID | MDOC_ENDED; else - man_valid_post(man); + n->flags |= MAN_VALID; man->next = ROFF_NEXT_SIBLING; } -- cgit v1.2.3