summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-05 16:11:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-05 16:11:14 +0000
commite653c8089f13da940f3273f95fca6e7098852332 (patch)
treee19a75aef0ae2a0f694afc55e78b9a8dc54e5a3f /private.h
parentaf139bb8a38b36a5e3c8b1ce4b6455e65fcbb2e5 (diff)
downloadmandoc-e653c8089f13da940f3273f95fca6e7098852332.tar.gz
Finished initial parse sequence.
Diffstat (limited to 'private.h')
-rw-r--r--private.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/private.h b/private.h
index 1ac880f8..5f9a3161 100644
--- a/private.h
+++ b/private.h
@@ -46,6 +46,7 @@ struct mdoc_macro {
#define MDOC_EXPLICIT (1 << 1)
#define MDOC_QUOTABLE (1 << 2)
#define MDOC_PROLOGUE (1 << 3)
+#define MDOC_NESTED (1 << 4)
};
extern const struct mdoc_macro *const mdoc_macros;
@@ -66,6 +67,7 @@ void mdoc_elem_alloc(struct mdoc *, int, int,
void mdoc_block_alloc(struct mdoc *, int, int,
size_t, const struct mdoc_arg *);
void mdoc_head_alloc(struct mdoc *, int, int);
+void mdoc_tail_alloc(struct mdoc *, int, int);
void mdoc_body_alloc(struct mdoc *, int, int);
void mdoc_node_free(struct mdoc_node *);
void mdoc_sibling(struct mdoc *, int, struct mdoc_node **,
@@ -111,16 +113,13 @@ void *xcalloc(size_t, size_t);
char *xstrdup(const char *);
int macro_obsolete(MACRO_PROT_ARGS);
-int macro_constant_quoted(MACRO_PROT_ARGS);
-int macro_constant_obsolete(MACRO_PROT_ARGS);
-int macro_constant_argv(MACRO_PROT_ARGS);
int macro_constant(MACRO_PROT_ARGS);
+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_line(MACRO_PROT_ARGS);
-int macro_scoped_pline(MACRO_PROT_ARGS);
int macro_prologue(MACRO_PROT_ARGS);
__END_DECLS