aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-18 20:46:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-18 20:46:19 +0000
commit65dc168510767708e266ed70c10c9e2a646424fa (patch)
tree893ef034f49f88a19a1a3a753e0d514227aaa6ce /mdoc.h
parent5a58b9c46f195b91a6e97db9ae3778de5e5bae2f (diff)
downloadmandoc-65dc168510767708e266ed70c10c9e2a646424fa.tar.gz
mandoc-65dc168510767708e266ed70c10c9e2a646424fa.tar.zst
mandoc-65dc168510767708e266ed70c10c9e2a646424fa.zip
Added nchild decrement in libman (not used, but better in than forgotten).
Added nchild to libmdoc, deprecated count() functions in validator.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc.h b/mdoc.h
index dc4d108b..bd139d6c 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -1,4 +1,4 @@
-/* $Id: mdoc.h,v 1.60 2009/06/17 10:53:32 kristaps Exp $ */
+/* $Id: mdoc.h,v 1.61 2009/06/18 20:46:19 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -252,6 +252,7 @@ struct mdoc_node {
struct mdoc_node *child;
struct mdoc_node *next;
struct mdoc_node *prev;
+ int nchild;
int line;
int pos;
int tok;