diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-19 17:51:32 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-19 17:51:32 +0000 |
commit | 14b264ac5a6226fdf3065c90d26a2595186fa976 (patch) | |
tree | 5e94556f1f4f5dbdd726597b5e6c08f1167012b6 /private.h | |
parent | 4d0e00fc396f69ea4575cca04855817cbf289670 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |