diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-22 21:53:50 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-22 21:53:50 +0000 |
commit | 0c8a4a580a225bf2d3acb9fca9f3fb7b47ea18ae (patch) | |
tree | 9f4a3033866c0cfdc2fe61d4168be6b49cea3de2 /usr.bin/mandoc/roff.c | |
parent | 4579fdd8217a575f827c2dc4a3bc92d4ec7d1554 (diff) |
move man(7) validation into the dedicated validation phase, too
Diffstat (limited to 'usr.bin/mandoc/roff.c')
-rw-r--r-- | usr.bin/mandoc/roff.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -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; } |