=================================================================== RCS file: /cvs/mandoc/mdoc.c,v retrieving revision 1.54 retrieving revision 1.56 diff -u -p -r1.54 -r1.56 --- mandoc/mdoc.c 2009/03/08 12:40:27 1.54 +++ mandoc/mdoc.c 2009/03/08 20:50:12 1.56 @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.54 2009/03/08 12:40:27 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.56 2009/03/08 20:50:12 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -70,7 +70,7 @@ const char *const __mdoc_macronames[MDOC_MAX] = { "Tn", "Ux", "Xc", "Xo", "Fo", "Fc", "Oo", "Oc", "Bk", "Ek", "Bt", "Hf", - "Fr", "Ud", "Lb", + "Fr", "Ud", "Lb", "Ap" }; const char *const __mdoc_argnames[MDOC_ARG_MAX] = { @@ -129,7 +129,7 @@ mdoc_free(struct mdoc *mdoc) struct mdoc * -mdoc_alloc(void *data, const struct mdoc_cb *cb) +mdoc_alloc(void *data, int pflags, const struct mdoc_cb *cb) { struct mdoc *p; @@ -142,7 +142,7 @@ mdoc_alloc(void *data, const struct mdoc_cb *cb) p->last = xcalloc(1, sizeof(struct mdoc_node)); p->last->type = MDOC_ROOT; p->first = p->last; - + p->pflags = pflags; p->next = MDOC_NEXT_CHILD; p->htab = mdoc_tokhash_alloc();