summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 18:02:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 18:02:36 +0000
commit615c4124c25bfd89a89bc7b14e0fe58520858cb1 (patch)
treecee5dac9bdf6c58e909e7a2179e63627056fd4f6 /mdoc.c
parent10f09076dfef711681072061a37b30e05dc2ba8e (diff)
downloadmandoc-615c4124c25bfd89a89bc7b14e0fe58520858cb1.tar.gz
Updated manuals.
Added -fign-scope and -fign-escape.
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();