version 1.141, 2018/12/14 05:18:02 |
version 1.143, 2018/12/31 04:55:46 |
|
|
/* $OpenBSD$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2010, 2012-2018 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2010, 2012-2018 Ingo Schwarze <schwarze@openbsd.org> |
Line 101 static const v_check man_valids[MAN_MAX - MAN_TH] = { |
|
Line 101 static const v_check man_valids[MAN_MAX - MAN_TH] = { |
|
|
|
/* Validate the subtree rooted at man->last. */ |
/* Validate the subtree rooted at man->last. */ |
void |
void |
man_node_validate(struct roff_man *man) |
man_validate(struct roff_man *man) |
{ |
{ |
struct roff_node *n; |
struct roff_node *n; |
const v_check *cp; |
const v_check *cp; |
Line 128 man_node_validate(struct roff_man *man) |
|
Line 128 man_node_validate(struct roff_man *man) |
|
|
|
man->last = man->last->child; |
man->last = man->last->child; |
while (man->last != NULL) { |
while (man->last != NULL) { |
man_node_validate(man); |
man_validate(man); |
if (man->last == n) |
if (man->last == n) |
man->last = man->last->child; |
man->last = man->last->child; |
else |
else |