summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-18 10:32:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-18 10:32:00 +0000
commitebc04fb0a062bcf881ac1fbe0706af873a8fcfc8 (patch)
tree4b2ea5a500c75fe94b0859570317fbfcaadb41d5 /man.c
parented2793f208e83ec93c078ea0592c4c8f1eff4649 (diff)
downloadmandoc-ebc04fb0a062bcf881ac1fbe0706af873a8fcfc8.tar.gz
Added -fno-ign-chars support to libman.
man_validate.c checks for non-tab/isprint words. libman hashtable fixed (was ignoring .br). Added ncount field to man_node, deprecating count() functions. Documented use of tabs in man.7.
Diffstat (limited to 'man.c')
-rw-r--r--man.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/man.c b/man.c
index eba5fa94..ef28b99f 100644
--- a/man.c
+++ b/man.c
@@ -182,6 +182,8 @@ man_node_append(struct man *man, struct man_node *p)
abort();
/* NOTREACHED */
}
+
+ p->parent->nchild++;
man->last = p;