summaryrefslogtreecommitdiffstatshomepage
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:51:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:51:32 +0000
commit14b264ac5a6226fdf3065c90d26a2595186fa976 (patch)
tree5e94556f1f4f5dbdd726597b5e6c08f1167012b6 /private.h
parent4d0e00fc396f69ea4575cca04855817cbf289670 (diff)
downloadmandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.tar.gz
mandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.tar.zst
mandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.zip
More correct validation.
Elision of prologue macros from main tree.
Diffstat (limited to 'private.h')
-rw-r--r--private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/private.h b/private.h
index 62b4d9b7..bd859d59 100644
--- a/private.h
+++ b/private.h
@@ -1,4 +1,4 @@
-/* $Id: private.h,v 1.68 2009/01/17 20:10:36 kristaps Exp $ */
+/* $Id: private.h,v 1.69 2009/01/19 17:51:33 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -57,6 +57,7 @@ struct mdoc_macro {
#define MDOC_QUOTABLE (1 << 3)
#define MDOC_PROLOGUE (1 << 4)
#define MDOC_TABSEP (1 << 5)
+#define MDOC_NOKEEP (1 << 6)
};
#define mdoc_nwarn(mdoc, node, type, fmt, ...) \
@@ -115,6 +116,7 @@ int mdoc_head_alloc(struct mdoc *, int, int, int);
int mdoc_tail_alloc(struct mdoc *, int, int, int);
int mdoc_body_alloc(struct mdoc *, int, int, int);
void mdoc_node_free(struct mdoc_node *);
+void mdoc_node_freelist(struct mdoc_node *);
void mdoc_sibling(struct mdoc *, int, struct mdoc_node **,
struct mdoc_node **, struct mdoc_node *);
void *mdoc_tokhash_alloc(void);