summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2012-07-18 11:11:12 +0000
committerIngo Schwarze <schwarze@openbsd.org>2012-07-18 11:11:12 +0000
commit1c57e34fd38554f0651309503b2141e84b7db486 (patch)
tree184c95fd172a2cef1ec723317fb102ed3b1188d4 /libmdoc.h
parent2b1a4d195c217fdbdc7ef44fc5082a40d73cdf1a (diff)
downloadmandoc-1c57e34fd38554f0651309503b2141e84b7db486.tar.gz
Fix handling of paragraph macros inside lists:
* When they are trailing the last item, move them outside the list. * When they are trailing any other none-compact item, drop them. OpenBSD rev. mdoc_validate.c 1.107, mdoc.c 1.91
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmdoc.h b/libmdoc.h
index cf3a20bb..684f8ed1 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -118,6 +118,7 @@ int mdoc_endbody_alloc(struct mdoc *m, int line, int pos,
enum mdoct tok, struct mdoc_node *body,
enum mdoc_endbody end);
void mdoc_node_delete(struct mdoc *, struct mdoc_node *);
+int mdoc_node_relink(struct mdoc *, struct mdoc_node *);
void mdoc_hash_init(void);
enum mdoct mdoc_hash_find(const char *);
const char *mdoc_a2att(const char *);