summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.c b/mdoc.c
index 8e9e1d9a..b533470c 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -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();