X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/41c017fd617974d1e7c44afa5e64143ad4f41e1e..e831f755f6b70a0a8e350399f06de7712380b3ce:/private.h diff --git a/private.h b/private.h index 7e7aa4ad..42c1b85c 100644 --- a/private.h +++ b/private.h @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.60 2009/01/08 14:55:59 kristaps Exp $ */ +/* $Id: private.h,v 1.63 2009/01/14 11:58:24 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -52,7 +52,7 @@ struct mdoc_macro { #define MDOC_EXPLICIT (1 << 2) #define MDOC_QUOTABLE (1 << 3) #define MDOC_PROLOGUE (1 << 4) -#define MDOC_NESTED (1 << 5) +#define MDOC_TABSEP (1 << 5) }; extern const struct mdoc_macro *const mdoc_macros; @@ -78,6 +78,7 @@ int mdoc_elem_alloc(struct mdoc *, int, int, int, size_t, const struct mdoc_arg *); int mdoc_block_alloc(struct mdoc *, int, int, int, size_t, const struct mdoc_arg *); +int mdoc_root_alloc(struct mdoc *); 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); @@ -117,6 +118,7 @@ int mdoc_args(struct mdoc *, int, #define ARGS_QUOTED (1 << 0) #define ARGS_DELIM (1 << 1) +#define ARGS_TABSEP (1 << 2) int xstrlcat(char *, const char *, size_t); int xstrlcpy(char *, const char *, size_t); @@ -130,7 +132,7 @@ int macro_constant_scoped(MACRO_PROT_ARGS); int macro_constant_delimited(MACRO_PROT_ARGS); int macro_text(MACRO_PROT_ARGS); int macro_scoped(MACRO_PROT_ARGS); -int macro_close_explicit(MACRO_PROT_ARGS); +int macro_scoped_close(MACRO_PROT_ARGS); int macro_scoped_line(MACRO_PROT_ARGS); int macro_prologue(MACRO_PROT_ARGS); int macro_end(struct mdoc *);