=================================================================== RCS file: /cvs/mandoc/libmdoc.h,v retrieving revision 1.57 retrieving revision 1.59 diff -u -p -r1.57 -r1.59 --- mandoc/libmdoc.h 2010/06/27 16:18:13 1.57 +++ mandoc/libmdoc.h 2010/07/01 22:35:54 1.59 @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.57 2010/06/27 16:18:13 kristaps Exp $ */ +/* $Id: libmdoc.h,v 1.59 2010/07/01 22:35:54 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -36,6 +36,7 @@ struct mdoc { #define MDOC_PHRASELIT (1 << 4) /* literal within a partila phrase */ #define MDOC_PPHRASE (1 << 5) /* within a partial phrase */ #define MDOC_FREECOL (1 << 6) /* `It' invocation should close */ +#define MDOC_SYNOPSIS (1 << 7) /* SYNOPSIS-style formatting */ int pflags; enum mdoc_next next; /* where to put the next node */ struct mdoc_node *last; /* the last node parsed */ @@ -109,6 +110,9 @@ int mdoc_block_alloc(struct mdoc *, int, int, int mdoc_head_alloc(struct mdoc *, int, int, enum mdoct); int mdoc_tail_alloc(struct mdoc *, int, int, enum mdoct); int mdoc_body_alloc(struct mdoc *, int, int, enum mdoct); +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 *); void mdoc_hash_init(void); enum mdoct mdoc_hash_find(const char *);