=================================================================== RCS file: /cvs/mandoc/mdoc.h,v retrieving revision 1.106 retrieving revision 1.108 diff -u -p -r1.106 -r1.108 --- mandoc/mdoc.h 2010/12/15 14:52:16 1.106 +++ mandoc/mdoc.h 2010/12/16 17:14:48 1.108 @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.106 2010/12/15 14:52:16 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.108 2010/12/16 17:14:48 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -359,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; @@ -371,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 */