summaryrefslogtreecommitdiffstatshomepage
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
commit15ff2c88b54b3a9deb82db8f12168847c99a1904 (patch)
tree531dde04cf25d86a5f9e4f440ab5e0d5c7fa7a86 /private.h
parentdffebd8f3a78d88f60b2dc8706c4b9227071f1de (diff)
downloadmandoc-15ff2c88b54b3a9deb82db8f12168847c99a1904.tar.gz
mandoc-15ff2c88b54b3a9deb82db8f12168847c99a1904.tar.zst
mandoc-15ff2c88b54b3a9deb82db8f12168847c99a1904.zip
Finished initial parse sequence.
Diffstat (limited to 'private.h')
-rw-r--r--private.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/private.h b/private.h
index b78dcdb6..051e22e7 100644
--- a/private.h
+++ b/private.h
@@ -1,4 +1,4 @@
-/* $Id: private.h,v 1.54 2009/01/05 14:14:04 kristaps Exp $ */
+/* $Id: private.h,v 1.55 2009/01/05 16:11:14 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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