-/* $Id: man_validate.c,v 1.145 2018/12/31 08:38:21 schwarze Exp $ */
+/* $Id: man_validate.c,v 1.146 2018/12/31 10:04:39 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012-2018 Ingo Schwarze <schwarze@openbsd.org>
default:
if (n->tok < ROFF_MAX) {
roff_validate(man);
- man_state(man, n);
break;
}
assert(n->tok >= MAN_TH && n->tok < MAN_MAX);
if (*cp)
(*cp)(man, n);
if (man->last == n)
- man_state(man, n);
+ n->flags |= NODE_VALID;
break;
}
}