-/* $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 <kristaps@bsd.lv>
*
* 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;
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 */