summaryrefslogtreecommitdiffstats
path: root/mdoc.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 /mdoc.h
parentaf139bb8a38b36a5e3c8b1ce4b6455e65fcbb2e5 (diff)
downloadmandoc-e653c8089f13da940f3273f95fca6e7098852332.tar.gz
Finished initial parse sequence.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/mdoc.h b/mdoc.h
index f0492430..18b475b3 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -265,6 +265,7 @@ enum mdoc_type {
MDOC_TEXT,
MDOC_ELEM,
MDOC_HEAD,
+ MDOC_TAIL,
MDOC_BODY,
MDOC_BLOCK
};
@@ -376,8 +377,10 @@ struct mdoc_block {
};
struct mdoc_head {
- size_t sz;
- char **args;
+ int tok;
+};
+
+struct mdoc_tail {
int tok;
};
@@ -398,6 +401,7 @@ union mdoc_data {
struct mdoc_elem elem;
struct mdoc_body body;
struct mdoc_head head;
+ struct mdoc_tail tail;
struct mdoc_block block;
};