=================================================================== RCS file: /cvs/mandoc/mdoc.h,v retrieving revision 1.105 retrieving revision 1.108 diff -u -p -r1.105 -r1.108 --- mandoc/mdoc.h 2010/10/04 07:01:02 1.105 +++ mandoc/mdoc.h 2010/12/16 17:14:48 1.108 @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.105 2010/10/04 07:01:02 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.108 2010/12/16 17:14:48 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 }; /* @@ -358,7 +359,7 @@ struct mdoc_an { * provided, etc. */ union mdoc_data { - struct mdoc_an An; + struct mdoc_an *An; struct mdoc_bd *Bd; struct mdoc_bf *Bf; struct mdoc_bl *Bl; @@ -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 */