=================================================================== RCS file: /cvs/mandoc/mdoc.h,v retrieving revision 1.105 retrieving revision 1.107 diff -u -p -r1.105 -r1.107 --- mandoc/mdoc.h 2010/10/04 07:01:02 1.105 +++ mandoc/mdoc.h 2010/12/15 23:39:40 1.107 @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.105 2010/10/04 07:01:02 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.107 2010/12/15 23:39:40 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -283,7 +283,8 @@ enum mdoc_list { LIST_inset, LIST_item, LIST_ohang, - LIST_tag + LIST_tag, + LIST_MAX }; /* @@ -370,6 +371,7 @@ union mdoc_data { struct mdoc_node { struct mdoc_node *parent; /* parent AST node */ struct mdoc_node *child; /* first child AST node */ + struct mdoc_node *last; /* last child AST node */ struct mdoc_node *next; /* sibling AST node */ struct mdoc_node *prev; /* prior sibling AST node */ int nchild; /* number children */